aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-msg-json.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-04-09 18:16:07 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-06-15 17:57:36 +0200
commit4521c1e7ae5371ab9d639adc617d17fb4e8ded0c (patch)
treea8a1416a2d58c16ab3993c7e4dc405fc71daab6a /src/afb-msg-json.h
parent63682b4da9d3e892d1d0a671de860adc43068142 (diff)
api-v3: First draft
This commit introduces the bindings v3 API for bindings. The documentation has still to be improved and will come very soon. Change-Id: I8f9007370e29f671fdfd1da87fff7372a17db7af Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-msg-json.h')
-rw-r--r--src/afb-msg-json.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/afb-msg-json.h b/src/afb-msg-json.h
index e18ca0a9..ee3ed20c 100644
--- a/src/afb-msg-json.h
+++ b/src/afb-msg-json.h
@@ -21,9 +21,7 @@ struct json_object;
struct afb_context;
struct afb_arg;
-extern struct json_object *afb_msg_json_reply(const char *status, const char *info, struct json_object *resp, struct afb_context *context, const char *reqid);
-extern struct json_object *afb_msg_json_reply_ok(const char *info, struct json_object *resp, struct afb_context *context, const char *reqid);
-extern struct json_object *afb_msg_json_reply_error(const char *status, const char *info, struct afb_context *context, const char *reqid);
+extern struct json_object *afb_msg_json_reply(struct json_object *resp, const char *status, const char *info, struct afb_context *context);
extern struct json_object *afb_msg_json_event(const char *event, struct json_object *object);