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
event sender: better naming
[src/app-framework-binder.git]
/
include
/
afb
/
afb-event-sender-itf.h
diff --git
a/include/afb/afb-evmgr-itf.h
b/include/afb/afb-event-sender-itf.h
similarity index 71%
rename from
include/afb/afb-evmgr-itf.h
rename to
include/afb/afb-event-sender-itf.h
index
90b1e0a
..
ad35431
100644
(file)
--- a/
include/afb/afb-evmgr-itf.h
+++ b/
include/afb/afb-event-sender-itf.h
@@
-19,16
+19,16
@@
struct json_object;
struct json_object;
-struct afb_ev
mg
r_itf {
- void (*push)(void *ev
mg
r, const char *name, struct json_object *object);
+struct afb_ev
ent_sende
r_itf {
+ void (*push)(void *ev
ent_sende
r, const char *name, struct json_object *object);
};
};
-struct afb_ev
mg
r {
- const struct afb_ev
mg
r_itf *itf;
+struct afb_ev
ent_sende
r {
+ const struct afb_ev
ent_sende
r_itf *itf;
void *closure;
};
void *closure;
};
-static inline void afb_ev
mgr_push(struct afb_evmg
r mgr, const char *name, struct json_object *object)
+static inline void afb_ev
ent_sender_push(struct afb_event_sende
r mgr, const char *name, struct json_object *object)
{
return mgr.itf->push(mgr.closure, name, object);
}
{
return mgr.itf->push(mgr.closure, name, object);
}