ml_entry_point - entry point into monolith from handle_request |
#include <monolith.h> int ml_entry_point (rws_request rq, void (*app_main) (ml_session)); |
ml_entry_point is the entry point into the monolith core library code, called from handle_request. The application's handle_request function should contain just a single call to ml_entry_point like this: |
return ml_entry_point (rq, app_main); |
where rq is the rws_request object passed by the web server, and app_main is the application's main function. |
See examples/01_label_and_button.c for a simple monolith application. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
monolith-1.0.0 |
ml_session_pool(3), rws_request_pool(3), new_ml_window(3). |