X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-msg-json.h;h=7fa14a2ffb2d8ff974580f796293659236a7f5ba;hb=refs%2Fheads%2Fsandbox%2FDDTLK%2Fpakage;hp=f1d20be53f7b4ca01a7c25ce1eb8a83b0f3ee317;hpb=694e6000719d2d003c3046683347f9388d5fb708;p=src%2Fapp-framework-binder.git diff --git a/src/afb-msg-json.h b/src/afb-msg-json.h index f1d20be5..7fa14a2f 100644 --- a/src/afb-msg-json.h +++ b/src/afb-msg-json.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,8 +18,10 @@ #pragma once 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, const char *token, const char *uuid); +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);