aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-15 06:49:13 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2009-11-15 06:49:13 +0000
commit3f6579900c3f3c7175209d7411d4ae87deabc48b (patch)
treeac273e2b4f9f1ad94aae865207d75efdac9a54e0 /plugin.c
parent11ebe1024fd877cc908523fef2d6240be010fadb (diff)
downloadlcd4linux-3f6579900c3f3c7175209d7411d4ae87deabc48b.tar.gz
event plugin and dbus interface by Ed Martin
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1053 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugin.c b/plugin.c
index ed40042..aa44e0d 100644
--- a/plugin.c
+++ b/plugin.c
@@ -62,6 +62,9 @@ char *Plugins[] = {
#ifdef PLUGIN_CPUINFO
"cpuinfo",
#endif
+#ifdef PLUGIN_DBUS
+ "dbus",
+#endif
#ifdef PLUGIN_DISKSTATS
"diskstats",
#endif
@@ -71,6 +74,9 @@ char *Plugins[] = {
#ifdef PLUGIN_EXEC
"exec",
#endif
+#ifdef PLUGIN_EVENT
+ "event",
+#endif
#ifdef PLUGIN_FIFO
"fifo",
#endif
@@ -179,12 +185,16 @@ int plugin_init_button_exec(void);
void plugin_exit_button_exec(void);
int plugin_init_cpuinfo(void);
void plugin_exit_cpuinfo(void);
+int plugin_init_dbus(void);
+void plugin_exit_dbus(void);
int plugin_init_diskstats(void);
void plugin_exit_diskstats(void);
int plugin_init_dvb(void);
void plugin_exit_dvb(void);
int plugin_init_exec(void);
void plugin_exit_exec(void);
+int plugin_init_event(void);
+void plugin_exit_event(void);
int plugin_init_fifo(void);
void plugin_exit_fifo(void);
int plugin_init_file(void);
@@ -277,6 +287,9 @@ int plugin_init(void)
#ifdef PLUGIN_CPUINFO
plugin_init_cpuinfo();
#endif
+#ifdef PLUGIN_DBUS
+ plugin_init_dbus();
+#endif
#ifdef PLUGIN_DISKSTATS
plugin_init_diskstats();
#endif
@@ -286,6 +299,9 @@ int plugin_init(void)
#ifdef PLUGIN_EXEC
plugin_init_exec();
#endif
+#ifdef PLUGIN_EVENT
+ plugin_init_event();
+#endif
#ifdef PLUGIN_FIFO
plugin_init_fifo();
#endif
@@ -389,6 +405,9 @@ void plugin_exit(void)
#ifdef PLUGIN_CPUINFO
plugin_exit_cpuinfo();
#endif
+#ifdef PLUGIN_DBUS
+ plugin_exit_dbus();
+#endif
#ifdef PLUGIN_DISKSTATS
plugin_exit_diskstats();
#endif
@@ -398,6 +417,9 @@ void plugin_exit(void)
#ifdef PLUGIN_EXEC
plugin_exit_exec();
#endif
+#ifdef PLUGIN_EVENT
+ plugin_exit_event();
+#endif
#ifdef PLUGIN_FIFO
plugin_exit_fifo();
#endif