aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-evt.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-01-31 17:15:27 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-01-31 17:17:16 +0100
commita3245aed48dca435b437089bc81353da352fc0ce (patch)
tree99b0751a499b20d5396ff8e98d02647cce93249e /src/afb-evt.h
parent3535d4cb73628c720da1bf74627ded2aec6f2ca1 (diff)
afb-evt: Add event creation with prefix
Change-Id: I2fd35e8ed59c28f4283be698a2586cdae5f7c8cf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-evt.h')
-rw-r--r--src/afb-evt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-evt.h b/src/afb-evt.h
index 901bfbb2..76152a8b 100644
--- a/src/afb-evt.h
+++ b/src/afb-evt.h
@@ -40,6 +40,7 @@ extern struct afb_evt_listener *afb_evt_listener_addref(struct afb_evt_listener
extern void afb_evt_listener_unref(struct afb_evt_listener *listener);
extern struct afb_evtid *afb_evt_evtid_create(const char *fullname);
+extern struct afb_evtid *afb_evt_evtid_create2(const char *prefix, const char *name);
extern struct afb_evtid *afb_evt_evtid_addref(struct afb_evtid *evtid);
extern struct afb_evtid *afb_evt_evtid_hooked_addref(struct afb_evtid *evtid);
@@ -66,6 +67,7 @@ extern void afb_evt_update_hooks();
extern struct afb_eventid *afb_evt_eventid_create(const char *fullname);
+extern struct afb_eventid *afb_evt_eventid_create2(const char *prefix, const char *name);
extern const char *afb_evt_eventid_fullname(struct afb_eventid *eventid);
extern int afb_evt_eventid_id(struct afb_eventid *eventid);
extern struct afb_eventid *afb_evt_eventid_addref(struct afb_eventid *eventid);