summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.h
diff options
context:
space:
mode:
Diffstat (limited to 'ucs2-afb/ucs_apidef.h')
-rw-r--r--ucs2-afb/ucs_apidef.h14
1 files changed, 8 insertions, 6 deletions
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,