diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-03-29 17:44:48 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-19 17:30:28 +0200 |
commit | cbfe3d859515a593fbad5edd82f5a9162749476b (patch) | |
tree | 5deca53d5963be2e02dd7df0a1f94c5aa7203420 /signal-composer-binding/signal-composer.hpp | |
parent | a53418f75db2d4a9f0cb941de812b27024381b07 (diff) |
Git submodule migration to separated librariesguppy_7.0.2guppy/7.0.27.0.2
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.hpp | 16 |
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(); |