Remove the my_callback example. Deprecated.

This commit is contained in:
Joris Vink 2014-10-31 10:14:47 +01:00
parent b1797231cc
commit a4d50d3ddf

View File

@ -32,7 +32,6 @@ int serve_params_test(struct http_request *);
int serve_private(struct http_request *);
int serve_private_test(struct http_request *);
void my_callback(void);
int v_example_func(struct http_request *, char *);
int v_session_validate(struct http_request *, char *);
void test_base64(u_int8_t *, u_int32_t, struct kore_buf *);
@ -319,15 +318,6 @@ serve_private_test(struct http_request *req)
return (KORE_RESULT_OK);
}
void
my_callback(void)
{
if (worker != NULL)
kore_log(LOG_NOTICE, "running on worker %d", worker->id);
else
kore_log(LOG_NOTICE, "running from parent");
}
int
v_example_func(struct http_request *req, char *data)
{