Go to the source code of this file.
|
| static int | basic_get_test (char *url) |
| |
| static size_t | data_from_curl (char *buffer, size_t buffer_size, size_t nmemb, char **userdata) |
| |
| static size_t | data_to_curl (void *ptr, size_t size, size_t nmemb, void *userdata) |
| |
| static void | exit_cb (EV_P_ ev_async *watcher, int revents) |
| | Exit callback for async watcher (Webserver) More...
|
| |
| static void | exit_handler (int sig) |
| | Handle correct exiting. More...
|
| |
| int | main (int argc, char *argv[]) |
| | Main function. More...
|
| |
| static int | on_connect (hpd_ws_t *instance, hpd_ws_conn_t *conn, void *ws_ctx, void **data) |
| | On connect callback for tcpd. More...
|
| |
| static int | on_disconnect (hpd_ws_t *instance, hpd_ws_conn_t *conn, void *ws_ctx, void **data) |
| | On disconnect callback for tcpd. More...
|
| |
| static int | on_receive (hpd_ws_t *instance, hpd_ws_conn_t *conn, void *ctx, void **data, const char *buf, size_t len) |
| | On receive callback for tcpd. More...
|
| |
| static char * | simple_get_request (char *url) |
| |
| static int | test_thread () |
| | Test thread. More...
|
| |
| static void * | webserver_thread (void *arg) |
| | Webserver thread. More...
|
| |
| static int basic_get_test |
( |
char * |
url | ) |
|
|
static |
| static size_t data_from_curl |
( |
char * |
buffer, |
|
|
size_t |
buffer_size, |
|
|
size_t |
nmemb, |
|
|
char ** |
userdata |
|
) |
| |
|
static |
| static size_t data_to_curl |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
void * |
userdata |
|
) |
| |
|
static |
| static void exit_cb |
( |
EV_P_ ev_async * |
watcher, |
|
|
int |
revents |
|
) |
| |
|
static |
Exit callback for async watcher (Webserver)
Definition at line 212 of file big_data_test.c.
| static void exit_handler |
( |
int |
sig | ) |
|
|
static |
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
| static int on_connect |
( |
hpd_ws_t * |
instance, |
|
|
hpd_ws_conn_t * |
conn, |
|
|
void * |
ws_ctx, |
|
|
void ** |
data |
|
) |
| |
|
static |
| static int on_disconnect |
( |
hpd_ws_t * |
instance, |
|
|
hpd_ws_conn_t * |
conn, |
|
|
void * |
ws_ctx, |
|
|
void ** |
data |
|
) |
| |
|
static |
| static int on_receive |
( |
hpd_ws_t * |
instance, |
|
|
hpd_ws_conn_t * |
conn, |
|
|
void * |
ctx, |
|
|
void ** |
data, |
|
|
const char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
| static char* simple_get_request |
( |
char * |
url | ) |
|
|
static |
| static int test_thread |
( |
| ) |
|
|
static |
| static void* webserver_thread |
( |
void * |
arg | ) |
|
|
static |
| struct ev_async exit_watcher |
|
static |