}
static
-void auth_policy_finish(void *ctx)
+void auth_policy_finish(struct policy_lookup_ctx *context)
{
- struct policy_lookup_ctx *context = ctx;
-
if (context->parser != NULL) {
const char *error ATTR_UNUSED;
(void)json_parser_deinit(&(context->parser), &error);
}
static void
-test_client_request_destroy(void *context)
+test_client_request_destroy(struct test_client_request *tcreq)
{
- struct test_client_request *tcreq =
- (struct test_client_request *)context;
-
if (tcreq->io != NULL)
io_remove(&tcreq->io);
if (tcreq->payload != NULL)