example_2.c File Reference

Include dependency graph for example_2.c:

Go to the source code of this file.

Functions

int http_root (mihl_cnx_t *cnx, char const *tag, char const *host, void *param)
 TBD.
int http_root_post (mihl_cnx_t *cnx, char const *tag, char const *host, int nb_variables, char **vars_names, char **vars_values, void *param)
 TBD.
int main (int argc, char *argv[])
 Program entry point.


Function Documentation

int http_root ( mihl_cnx_t cnx,
char const *  tag,
char const *  host,
void *  param 
)

TBD.

Parameters:
cnx opaque context structure as returned by mihl_init()
tag TBD
host TBD
param TBD
Returns:
0

Definition at line 37 of file example_2.c.

References mihl_add(), and mihl_send().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int http_root_post ( mihl_cnx_t cnx,
char const *  tag,
char const *  host,
int  nb_variables,
char **  vars_names,
char **  vars_values,
void *  param 
)

TBD.

myname1=AAA&myname2=BBB&myname3=CCC] myname1=A+++B+C&myname2=HELLO&myname3=BONJOUR2BMONDE]

Parameters:
cnx opaque context structure as returned by mihl_init()
tag TBD
host TBD
nb_variables TBD
vars_names TBD
vars_values TBD
param TBD
Returns:
0

Definition at line 105 of file example_2.c.

References mihl_add(), and mihl_send().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Program entry point.

Parameters:
argc Number of arguments
argv Arguments given on the command line
Returns:
  • 0 if OK
  • or -1 if an error occurred (errno is then set).

Definition at line 130 of file example_2.c.

References help(), http_root(), http_root_post(), mihl_handle_file(), mihl_handle_get(), mihl_handle_post(), mihl_init(), MIHL_LOG_ERROR, MIHL_LOG_INFO, MIHL_LOG_INFO_VERBOSE, MIHL_LOG_WARNING, mihl_server(), and peek_key().

Here is the call graph for this function:


Generated on Mon May 26 18:06:08 2008 for milh-example_2 by  doxygen 1.5.6