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]
/
plugins
/
afm-main-plugin
/
afm-main-plugin.c
diff --git
a/plugins/afm-main-plugin/afm-main-plugin.c
b/plugins/afm-main-plugin/afm-main-plugin.c
index
41e5540
..
786468a
100644
(file)
--- a/
plugins/afm-main-plugin/afm-main-plugin.c
+++ b/
plugins/afm-main-plugin/afm-main-plugin.c
@@
-46,7
+46,7
@@
static const char _uninstall_[] = "uninstall";
static const char _uri_[] = "uri";
static const struct AFB_interface *afb_interface;
static const char _uri_[] = "uri";
static const struct AFB_interface *afb_interface;
-static struct afb_ev
mgr evmg
r;
+static struct afb_ev
ent_sender event_sende
r;
static struct jbus *jbus;
static struct jbus *jbus;
@@
-69,7
+69,7
@@
static struct memo *make_memo(struct afb_req request, const char *method)
static void application_list_changed(const char *data, void *closure)
{
static void application_list_changed(const char *data, void *closure)
{
- afb_ev
mgr_push(evmg
r, "application-list-changed", NULL);
+ afb_ev
ent_sender_push(event_sende
r, "application-list-changed", NULL);
}
static struct json_object *embed(const char *tag, struct json_object *obj)
}
static struct json_object *embed(const char *tag, struct json_object *obj)
@@
-343,7
+343,7
@@
const struct AFB_plugin *pluginAfbV1Register(const struct AFB_interface *itf)
/* records the interface */
assert (afb_interface == NULL);
afb_interface = itf;
/* records the interface */
assert (afb_interface == NULL);
afb_interface = itf;
- ev
mgr = afb_daemon_get_evmg
r(itf->daemon);
+ ev
ent_sender = afb_daemon_get_event_sende
r(itf->daemon);
/* creates the jbus for accessing afm-user-daemon */
sbus = afb_daemon_get_user_bus(itf->daemon);
/* creates the jbus for accessing afm-user-daemon */
sbus = afb_daemon_get_user_bus(itf->daemon);