HomePort
Functions | Variables
greeting.c File Reference
Include dependency graph for greeting.c:

Go to the source code of this file.

Functions

static void exit_handler (int sig)
 
int handle_request (hpd_httpd_t *ins, hpd_httpd_request_t *req, void *ws_ctx, void **req_data)
 
void header_printer (void *data, const char *key, const char *value)
 
int main (int argc, char *argv[])
 

Variables

static hpd_httpd_tserver = NULL
 

Function Documentation

static void exit_handler ( int  sig)
static

Definition at line 38 of file greeting.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int handle_request ( hpd_httpd_t ins,
hpd_httpd_request_t req,
void *  ws_ctx,
void **  req_data 
)

Definition at line 56 of file greeting.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void header_printer ( void *  data,
const char *  key,
const char *  value 
)

Definition at line 51 of file greeting.c.

Here is the caller graph for this function:

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

Definition at line 86 of file greeting.c.

Here is the call graph for this function:

Variable Documentation

hpd_httpd_t* server = NULL
static

Definition at line 35 of file greeting.c.