summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-service-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb/afb-service-common.h')
-rw-r--r--include/afb/afb-service-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afb/afb-service-common.h b/include/afb/afb-service-common.h
index 76f8e4e4..081b1db6 100644
--- a/include/afb/afb-service-common.h
+++ b/include/afb/afb-service-common.h
@@ -32,6 +32,9 @@ struct afb_service_itf
void (*call)(void *closure, const char *api, const char *verb, struct json_object *args,
void (*callback)(void*, int, struct json_object*), void *callback_closure);
+
+ int (*call_sync)(void *closure, const char *api, const char *verb, struct json_object *args,
+ struct json_object **result);
};
/*