diff options
author | Tobias Jahnke <tobias.jahnke@microchip.com> | 2019-06-24 08:15:59 +0200 |
---|---|---|
committer | Tobias Jahnke <tobias.jahnke@microchip.com> | 2019-06-25 07:15:40 +0000 |
commit | b79d0efc90f30918d64024bc0807c023e44c5325 (patch) | |
tree | 952279d30abcd55771e8136f4dd44425bb6ca5f5 /ucs2-afb | |
parent | 244410dd373be570731a2e8c1dba749659a23c0b (diff) |
agl-service-unicens: use shared lib of afb-helpershalibut_7.99.2halibut/7.99.27.99.2
Change the usage of afb-helpers from git submodule to
shared library. Removed also unused app-templates submodule.
Bug-AGL: SPEC-2562
Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Change-Id: Iade8686aded8912d4dd203d1f74e171c13302a3e
Diffstat (limited to 'ucs2-afb')
-rw-r--r-- | ucs2-afb/CMakeLists.txt | 1 | ||||
-rw-r--r-- | ucs2-afb/ucs_apidef.h | 14 | ||||
-rw-r--r-- | ucs2-afb/ucs_binding.c | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/ucs2-afb/CMakeLists.txt b/ucs2-afb/CMakeLists.txt index 2f99b58..cdaf2be 100644 --- a/ucs2-afb/CMakeLists.txt +++ b/ucs2-afb/CMakeLists.txt @@ -34,6 +34,5 @@ PROJECT_TARGET_ADD(ucs2-afb) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} ucs2-inter - afb-helpers ${link_libraries} ) diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h index 0b40094..379966b 100644 --- a/ucs2-afb/ucs_apidef.h +++ b/ucs2-afb/ucs_apidef.h @@ -64,12 +64,12 @@ static const struct afb_auth _afb_auths_UNICENS[] = { { .type = afb_auth_Permission, .text = "urn:AGL:permission:UNICENS:public:controller" } }; - void ucs2_listconfig(afb_req req); - void ucs2_initialise(afb_req req); - void ucs2_subscribe(afb_req req); - void ucs2_subscriberx(afb_req req); - void ucs2_writei2c(afb_req req); - void ucs2_sendmessage(afb_req req); +void ucs2_listconfig(afb_req_t req); +void ucs2_initialise(afb_req_t req); +void ucs2_subscribe(afb_req_t req); +void ucs2_subscriberx(afb_req_t req); +void ucs2_writei2c(afb_req_t req); +void ucs2_sendmessage(afb_req_t req); static const struct afb_verb_v2 _afb_verbs_UNICENS[] = { { @@ -123,6 +123,8 @@ static const struct afb_verb_v2 _afb_verbs_UNICENS[] = { } }; +int ucs2_initbinding(); + const struct afb_binding_v2 afbBindingV2 = { .api = "UNICENS", .specification = _afb_description_UNICENS, diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c index 4b21934..bf0fd8e 100644 --- a/ucs2-afb/ucs_binding.c +++ b/ucs2-afb/ucs_binding.c @@ -41,7 +41,7 @@ #include "ucs_binding.h" #include "ucs_interface.h" -#include "wrap-json.h" +#include <wrap-json.h> #define MAX_FILENAME_LEN (100) #define RX_BUFFER (64) |