summaryrefslogtreecommitdiffstats
path: root/src/afb-subcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-subcall.h')
-rw-r--r--src/afb-subcall.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/afb-subcall.h b/src/afb-subcall.h
index 7d29e1a2..bf3d8cd1 100644
--- a/src/afb-subcall.h
+++ b/src/afb-subcall.h
@@ -28,7 +28,10 @@ extern void afb_subcall(
void (*callback)(void*, int, struct json_object*),
void *closure);
-extern void afb_subcall_internal_error(
- void (*callback)(void*, int, struct json_object*),
- void *closure);
+extern int afb_subcall_sync(
+ struct afb_xreq *caller,
+ const char *api,
+ const char *verb,
+ struct json_object *args,
+ struct json_object **result);