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

Go to the source code of this file.

Functions

static void exit_handler (int sig)
 
int main (int argc, char *argv[])
 
static int on_receive (hpd_tcpd_t *instance, hpd_tcpd_conn_t *conn, void *ctx, void **data, const char *buf, size_t len)
 

Variables

static hpd_tcpd_tws = NULL
 

Function Documentation

static void exit_handler ( int  sig)
static

Definition at line 45 of file echo.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 59 of file echo.c.

Here is the call graph for this function:

static int on_receive ( hpd_tcpd_t instance,
hpd_tcpd_conn_t conn,
void *  ctx,
void **  data,
const char *  buf,
size_t  len 
)
static

Definition at line 37 of file echo.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

hpd_tcpd_t* ws = NULL
static

Definition at line 34 of file echo.c.