X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-evt.h;h=c3999df2657707c9f7f2369c9556735a5b7c3322;hb=af06c82a63166d0d3fbdc26ae50607a6231d42eb;hp=2d888fa18c5c18355c4b0da30c1dd82a0ba0d7b1;hpb=1430e5aca4864a093534a0c91f056a97a4a26056;p=src%2Fapp-framework-binder.git diff --git a/src/afb-evt.h b/src/afb-evt.h index 2d888fa1..c3999df2 100644 --- a/src/afb-evt.h +++ b/src/afb-evt.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,6 +18,7 @@ #pragma once struct afb_event; +struct afb_eventid; struct afb_evtid; struct afb_session; struct json_object; @@ -39,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); @@ -65,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);