commit a4d50d3ddff3af83a6234e56f8973d27e4559fb1
parent b1797231cc0848cf3ee315ab15c432b0f1075d8c
Author: Joris Vink <joris@coders.se>
Date: Fri, 31 Oct 2014 10:14:47 +0100
Remove the my_callback example. Deprecated.
Diffstat:
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/examples/generic/src/example.c b/examples/generic/src/example.c
@@ -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)
{