summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/source.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-03-29 17:44:48 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-04-11 20:39:06 +0200
commit8ef54e0215c06241c3487f78dd2ea50fbe6af903 (patch)
tree9eb8a4562999a9def8f4dfb836ec1292490760b8 /signal-composer-binding/source.hpp
parent4ee02574c30a3195cdbb20bcf72fc4cc65bddb1e (diff)
Git submodule migration to separated libraries
Replace controller binder functions definition with the binder ones and remove the submodules in favor of the separated libraries. Bug-AGL: SPEC-2139 Change-Id: I06e5e7a03a918bf0ce139636104e1a73d2442a09 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/source.hpp')
-rw-r--r--signal-composer-binding/source.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/signal-composer-binding/source.hpp b/signal-composer-binding/source.hpp
index bc28b54..a14e925 100644
--- a/signal-composer-binding/source.hpp
+++ b/signal-composer-binding/source.hpp
@@ -47,8 +47,8 @@ public:
void init();
std::string api() const;
- static void onSourceEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api);
- static void onSignalEvents(void *closure, const char *event_name, json_object *event_obj, AFB_ApiT api);
+ static void onSourceEvents(void *closure, const char *event_name, json_object *event_obj, afb_api_t api);
+ static void onSignalEvents(void *closure, const char *event_name, json_object *event_obj, afb_api_t api);
const struct signalsDefault& signalsDefault() const;
void addSignal(const std::string& id, const std::string& event, std::vector<std::string>& sources, int retention, const std::string& unit, json_object *metadata, double frequency, CtlActionT* onReceived, json_object* getSignalsArgs);
@@ -57,5 +57,5 @@ public:
std::vector<std::shared_ptr<Signal>> searchSignals(const std::string& name);
int cleanNotSubscribedSignals();
- int makeSubscription(AFB_ReqT request = nullptr);
+ int makeSubscription(afb_req_t request = nullptr);
};