X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-msg-json.h;fp=src%2Fafb-msg-json.h;h=53ab086129ec052fc79c5ee053f479db3d238abe;hb=b57505f0f80f6394f04a041df6e808c857b01d4b;hp=a90fbb0851d1b0ddd4f88f17f33ed6200c4c9043;hpb=cee4240979b3b9c4ebb877631e66157918598c3d;p=src%2Fapp-framework-binder.git diff --git a/src/afb-msg-json.h b/src/afb-msg-json.h index a90fbb08..53ab0861 100644 --- a/src/afb-msg-json.h +++ b/src/afb-msg-json.h @@ -18,8 +18,11 @@ #pragma once struct json_object; +struct afb_context; -extern struct json_object *afb_msg_json_reply(const char *status, const char *info, struct json_object *resp, const char *token, const char *uuid); +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_event(const char *event, struct json_object *object);