Make single afb_request_subcall
[src/app-framework-binder.git] / include / afb / afb-request-itf.h
index 4c62b3d..9e55a36 100644 (file)
@@ -163,5 +163,22 @@ struct afb_request_itf
                        void *(*create_value)(void *creation_closure),
                        void (*free_value)(void*),
                        void *creation_closure);
+
+       int (*subscribe_eventid)(
+                       struct afb_request *request,
+                       struct afb_eventid *eventid);
+
+       int (*unsubscribe_eventid)(
+                       struct afb_request *request,
+                       struct afb_eventid *eventid);
+
+       void (*subcall_request)(
+                       struct afb_request *request,
+                       const char *api,
+                       const char *verb,
+                       struct json_object *args,
+                       void (*callback)(void*, int, struct json_object*, struct afb_request *request),
+                       void *cb_closure);
+
 };