summaryrefslogtreecommitdiffstats
path: root/Shared-Interface
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-06-25 21:19:02 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-06-25 21:19:02 +0200
commit0fe1ff36dcc75149481d8071a1806c5408f70acc (patch)
tree1ea7b34e2a82033424ec63ebbcc6e16a79c82516 /Shared-Interface
parentdbbef07d5d5e7c4d1c3eac2d6d1fd5f4f46268ce (diff)
parenteb3fb0866ea130ec0c15c868e1a5c806981195cc (diff)
Merge branch 'master' of github.com:iotbzh/audio-bindings
Moved to New AGL cmake build Templates
Diffstat (limited to 'Shared-Interface')
-rw-r--r--Shared-Interface/audio-interface.c2
-rw-r--r--Shared-Interface/audio-interface.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/Shared-Interface/audio-interface.c b/Shared-Interface/audio-interface.c
index a938c22..edaaf7f 100644
--- a/Shared-Interface/audio-interface.c
+++ b/Shared-Interface/audio-interface.c
@@ -18,8 +18,6 @@
#define _GNU_SOURCE // needed for vasprintf
#include <json-c/json.h>
-#include <afb/afb-binding.h>
-#include <afb/afb-service-itf.h>
#include <semaphore.h>
#include <string.h>
diff --git a/Shared-Interface/audio-interface.h b/Shared-Interface/audio-interface.h
index ffefbfc..24fcfaa 100644
--- a/Shared-Interface/audio-interface.h
+++ b/Shared-Interface/audio-interface.h
@@ -23,8 +23,8 @@
#define AUDIOCOMMON_H
#include <json-c/json.h>
+#define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
-#include <afb/afb-service-itf.h>
#ifndef PUBLIC
#define PUBLIC
@@ -61,7 +61,6 @@ typedef enum {
} halCtlsEnumT;
PUBLIC int cbCheckResponse(struct afb_req request, int iserror, struct json_object *result) ;
-PUBLIC json_object* afb_service_call_sync(struct afb_service srvitf, struct afb_req request, char* api, char* verb, struct json_object* queryurl);
PUBLIC void pingtest(struct afb_req request);
#endif /* AUDIOCOMMON_H */