Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bindings V2: Remove explicit references to daemon/service
[src/app-framework-binder.git]
/
include
/
afb
/
afb-binding.h
diff --git
a/include/afb/afb-binding.h
b/include/afb/afb-binding.h
index
5a6f9bc
..
ac750c7
100644
(file)
--- a/
include/afb/afb-binding.h
+++ b/
include/afb/afb-binding.h
@@
-40,15
+40,16
@@
#define AFB_BINDING_VERSION AFB_BINDING_DEFAULT_VERSION
#endif
#define AFB_BINDING_VERSION AFB_BINDING_DEFAULT_VERSION
#endif
+#if AFB_BINDING_VERSION != 0
+# if AFB_BINDING_VERSION < AFB_BINDING_LOWER_VERSION || AFB_BINDING_VERSION > AFB_BINDING_UPPER_VERSION
+# error "Unsupported binding version AFB_BINDING_VERSION " #AFB_BINDING_VERSION
+# endif
+#endif
+
/*
* Some function of the library are exported to afb-daemon.
*/
/*
* Some function of the library are exported to afb-daemon.
*/
-#include "afb-auth.h"
-#include "afb-req-itf.h"
-#include "afb-event-itf.h"
-#include "afb-service-itf.h"
-#include "afb-daemon-itf.h"
#include "afb-binding-v1.h"
#include "afb-binding-v2.h"
#include "afb-binding-v1.h"
#include "afb-binding-v2.h"