aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-22 18:30:02 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-05-22 18:30:02 +0000
commit34e69ead4b80f67ddbf4114df25fd9906877cba5 (patch)
tree1d68a2aab7e852c1500c9c2417114e1d787db966 /plugin.c
parentcdee7ced9e0eafe17d8963c25d969b96b099b9f3 (diff)
downloadlcd4linux-34e69ead4b80f67ddbf4114df25fd9906877cba5.tar.gz
[lcd4linux @ 2004-05-22 18:30:01 by reinelt]
added plugin 'uptime' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@427 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 5e2a58e..69a6212 100644
--- a/plugin.c
+++ b/plugin.c
@@ -1,4 +1,4 @@
-/* $Id: plugin.c,v 1.29 2004/05/20 07:47:51 reinelt Exp $
+/* $Id: plugin.c,v 1.30 2004/05/22 18:30:02 reinelt Exp $
*
* plugin handler for the Evaluator
*
@@ -22,6 +22,10 @@
*
*
* $Log: plugin.c,v $
+ * Revision 1.30 2004/05/22 18:30:02 reinelt
+ *
+ * added plugin 'uptime'
+ *
* Revision 1.29 2004/05/20 07:47:51 reinelt
* added plugin_time
*
@@ -209,6 +213,8 @@ int plugin_init_seti(void);
void plugin_exit_seti(void);
int plugin_init_uname (void);
void plugin_exit_uname (void);
+int plugin_init_uptime (void);
+void plugin_exit_uptime (void);
int plugin_init_wireless(void);
void plugin_exit_wireless(void);
int plugin_init_xmms (void);
@@ -270,6 +276,9 @@ int plugin_init (void)
#ifdef PLUGIN_UNAME
plugin_init_uname();
#endif
+#ifdef PLUGIN_UPTIME
+ plugin_init_uptime();
+#endif
#ifdef PLUGIN_WIRELESS
plugin_init_wireless();
#endif
@@ -330,6 +339,9 @@ void plugin_exit(void) {
#ifdef PLUGIN_UNAME
plugin_exit_uname();
#endif
+#ifdef PLUGIN_UPTIME
+ plugin_exit_uptime();
+#endif
#ifdef PLUGIN_WIRELESS
plugin_exit_wireless();
#endif