diff options
Diffstat (limited to 'src/afb-subcall.h')
-rw-r--r-- | src/afb-subcall.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/afb-subcall.h b/src/afb-subcall.h index e39d8bdd..7d29e1a2 100644 --- a/src/afb-subcall.h +++ b/src/afb-subcall.h @@ -17,18 +17,16 @@ #pragma once -struct afb_context; -struct afb_req; +struct afb_xreq; struct json_object; extern void afb_subcall( - struct afb_context *context, + struct afb_xreq *caller, const char *api, const char *verb, struct json_object *args, void (*callback)(void*, int, struct json_object*), - void *closure, - struct afb_req req); + void *closure); extern void afb_subcall_internal_error( void (*callback)(void*, int, struct json_object*), |