Code Review
/
apps
/
agl-service-unicens.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
remove netbeans project folder
[apps/agl-service-unicens.git]
/
ucs2-afb
/
ucs_binding.h
diff --git
a/ucs2-afb/ucs_binding.h
b/ucs2-afb/ucs_binding.h
index
3d18260
..
d909d41
100644
(file)
--- a/
ucs2-afb/ucs_binding.h
+++ b/
ucs2-afb/ucs_binding.h
@@
-18,6
+18,9
@@
#ifndef UCS2BINDING_H
#define UCS2BINDING_H
#ifndef UCS2BINDING_H
#define UCS2BINDING_H
+// Use Version of AGL Application Framework API
+#define AFB_BINDING_VERSION 2
+
#ifndef PUBLIC
#define PUBLIC
#endif
#ifndef PUBLIC
#define PUBLIC
#endif
@@
-25,7
+28,6
@@
#include <json-c/json.h>
#include <afb/afb-binding.h>
#include <json-c/json.h>
#include <afb/afb-binding.h>
-#include <afb/afb-service-v2.h>
#include "ucs_interface.h"
#include "ucs_interface.h"
@@
-41,9
+43,9
@@
extern const struct afb_binding_interface *afbIface;
extern struct afb_service afbSrv;
// API verbs prototype
extern struct afb_service afbSrv;
// API verbs prototype
-PUBLIC void ucs2
Init
(struct afb_req request);
-PUBLIC void ucs2
SetVol
(struct afb_req request);
-
+PUBLIC void ucs2
_configure
(struct afb_req request);
+PUBLIC void ucs2
_subscribe
(struct afb_req request);
+PUBLIC void ucs2_writei2c (struct afb_req request);
#endif /* UCS2BINDING_H */
#endif /* UCS2BINDING_H */