Lines Matching refs:context
55 typedef void (*http_server_tunnel_callback_t)(void *context,
118 http_server_tunnel_callback_t callback, void *context);
183 void (*callback)(void *), void *context);
185 output, max_size, callback, context) \
187 (void(*)(void*))callback, context + \
188 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
194 void (*callback)(void *), void *context);
196 buffer, max_size, callback, context) \
198 (void(*)(void*))callback, context + \
199 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
206 void (*callback)(void *context), void *context);
207 #define http_server_request_handle_payload(req, callback, context) \
209 (void(*)(void*))callback, context + \
210 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
256 void *context);
257 #define http_server_request_set_destroy_callback(req, callback, context) \
258 http_server_request_set_destroy_callback(req, (void(*)(void*))callback, context + \
259 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))))
293 void (*handle_request)(void *context, struct http_server_request *req);
294 void (*handle_connect_request)(void *context,
298 void (*connection_destroy)(void *context, const char *reason);
306 const struct http_server_callbacks *callbacks, void *context);