summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer.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/signal-composer.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/signal-composer.hpp')
-rw-r--r--signal-composer-binding/signal-composer.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/signal-composer-binding/signal-composer.hpp b/signal-composer-binding/signal-composer.hpp
index f70e9ac..bef75ff 100644
--- a/signal-composer-binding/signal-composer.hpp
+++ b/signal-composer-binding/signal-composer.hpp
@@ -34,25 +34,25 @@ private:
Composer();
~Composer();
- CtlActionT* convert2Action(AFB_ApiT apihandle, const std::string& name, json_object* action);
+ CtlActionT* convert2Action(afb_api_t apihandle, const std::string& name, json_object* action);
- int loadOneSourceAPI(AFB_ApiT apihandle, json_object* sourcesJ);
- static int loadSourcesAPI(AFB_ApiT apihandle, CtlSectionT* section, json_object *signalsJ);
+ int loadOneSourceAPI(afb_api_t apihandle, json_object* sourcesJ);
+ static int loadSourcesAPI(afb_api_t apihandle, CtlSectionT* section, json_object *signalsJ);
- int loadOneSignal(AFB_ApiT apihandle, json_object* signalsJ);
- static int loadSignals(AFB_ApiT apihandle, CtlSectionT* section, json_object *signalsJ);
+ int loadOneSignal(afb_api_t apihandle, json_object* signalsJ);
+ static int loadSignals(afb_api_t apihandle, CtlSectionT* section, json_object *signalsJ);
- int execSignalsSubscription(AFB_ReqT request = nullptr);
+ int execSignalsSubscription(afb_req_t request = nullptr);
std::shared_ptr<SourceAPI> getSourceAPI(const std::string& api);
void processOptions(const std::map<std::string, int>& opts, std::shared_ptr<Signal> sig, json_object* response) const;
public:
static Composer& instance();
static void* createContext(void* ctx);
static void destroyContext(void* ctx);
- int loadConfig(AFB_ApiT api, std::string& filepath);
+ int loadConfig(afb_api_t api, std::string& filepath);
int loadSources(json_object* sourcesJ);
int loadSignals(json_object* signalsJ);
- int initSignals(AFB_ReqT request = nullptr);
+ int initSignals(afb_req_t request = nullptr);
void initSourcesAPI();
CtlConfigT* ctlConfig();