subcall: adds an error function
[src/app-framework-binder.git] / src / afb-subcall.h
index 8fbc4ad..0de51da 100644 (file)
@@ -23,4 +23,5 @@ struct json_object;
 
 extern void afb_subcall(struct afb_context *context, const char *api, const char *verb, struct json_object *args, void (*callback)(void*, int, struct json_object*), void *closure, struct afb_req req);
 
+extern void afb_subcall_internal_error(void (*callback)(void*, int, struct json_object*), void *closure);