summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-31 11:32:46 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-31 11:32:46 +0200
commit524ce4c40da3b25630dffdd80c5aca99364a3569 (patch)
tree9d6e256f9b818c73d99d56c69da0149b052f2a83 /include/afb/afb-binding.h
parent06c7e1c7e9aec77a1a22ccb14dd0e540cf08f5d9 (diff)
Add logging by request
Change-Id: I6dda714bcb8c36392c14a1981cfb8960f3db45b8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-binding.h')
-rw-r--r--include/afb/afb-binding.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/afb/afb-binding.h b/include/afb/afb-binding.h
index e2fd34d8..a7872517 100644
--- a/include/afb/afb-binding.h
+++ b/include/afb/afb-binding.h
@@ -102,6 +102,12 @@
# define INFO AFB_INFO_V1
# define DEBUG AFB_DEBUG_V1
+# define REQ_ERROR AFB_REQ_ERROR_V1
+# define REQ_WARNING AFB_REQ_WARNING_V1
+# define REQ_NOTICE AFB_REQ_NOTICE_V1
+# define REQ_INFO AFB_REQ_INFO_V1
+# define REQ_DEBUG AFB_REQ_DEBUG_V1
+
# endif
#define afb_daemon_get_event_loop afb_daemon_get_event_loop_v1
@@ -147,6 +153,12 @@
# define INFO AFB_INFO_V2
# define DEBUG AFB_DEBUG_V2
+# define REQ_ERROR AFB_REQ_ERROR_V2
+# define REQ_WARNING AFB_REQ_WARNING_V2
+# define REQ_NOTICE AFB_REQ_NOTICE_V2
+# define REQ_INFO AFB_REQ_INFO_V2
+# define REQ_DEBUG AFB_REQ_DEBUG_V2
+
# endif
#define afb_daemon_get_event_loop afb_daemon_get_event_loop_v2