ml_entry_point

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION
SEE ALSO

NAME

ml_entry_point - entry point into monolith from handle_request

SYNOPSIS

#include <monolith.h>

int ml_entry_point (rws_request rq, void (*app_main) (ml_session));

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

monolith-1.0.0

SEE ALSO

ml_session_pool(3), rws_request_pool(3), new_ml_window(3).