|
From: <mla...@us...> - 2007-11-30 05:15:01
|
Revision: 329
http://g15daemon.svn.sourceforge.net/g15daemon/?rev=329&view=rev
Author: mlampard
Date: 2007-11-29 21:15:06 -0800 (Thu, 29 Nov 2007)
Log Message:
-----------
fix g15daemon_client manpage. Update Changelog.
Modified Paths:
--------------
trunk/g15daemon-wip/ChangeLog
trunk/g15daemon-wip/Documentation/g15daemon_client_devel.3
trunk/g15daemon-wip/plugins/g15_plugin_net.c
Modified: trunk/g15daemon-wip/ChangeLog
===================================================================
--- trunk/g15daemon-wip/ChangeLog 2007-11-30 05:13:55 UTC (rev 328)
+++ trunk/g15daemon-wip/ChangeLog 2007-11-30 05:15:06 UTC (rev 329)
@@ -102,4 +102,9 @@
- Optimisation: minor optimisation of lcd_cycle() code.
- Security: repair some potential security holes.
- Bugfix: Backlight status was being mis-applied when cycling screens.
-- Bugfix: Language bindings were not being distributed.
\ No newline at end of file
+- Bugfix: Language bindings were not being distributed.
+1.9.1->SVN
+- Add exitfunc to net plugin for exit notification.
+- Use pause() instead of sleeping
+- create leaving var as volatile.
+- Add NAME section to g15daemon_client manpages
Modified: trunk/g15daemon-wip/Documentation/g15daemon_client_devel.3
===================================================================
--- trunk/g15daemon-wip/Documentation/g15daemon_client_devel.3 2007-11-30 05:13:55 UTC (rev 328)
+++ trunk/g15daemon-wip/Documentation/g15daemon_client_devel.3 2007-11-30 05:15:06 UTC (rev 329)
@@ -1,4 +1,5 @@
.TH "G15daemon Client Development" "" "1.0" "G15Daemon" ""
+.SH "NAME" g15daemon_client \- G15Daemon Server / Client communication for g15daemon.
.SH "SYNOPSIS"
#include <libg15.h>
.br
Modified: trunk/g15daemon-wip/plugins/g15_plugin_net.c
===================================================================
--- trunk/g15daemon-wip/plugins/g15_plugin_net.c 2007-11-30 05:13:55 UTC (rev 328)
+++ trunk/g15daemon-wip/plugins/g15_plugin_net.c 2007-11-30 05:15:06 UTC (rev 329)
@@ -40,7 +40,7 @@
#include <libg15.h>
#include <g15daemon.h>
-static int leaving;
+static int leaving = 0;
int server_events(plugin_event_t *myevent);
#ifndef SO_PRIORITY
@@ -427,10 +427,14 @@
return G15_PLUGIN_OK;
}
+static void g15plugin_net_exit() {
+ leaving = 1;
+
+}
/* if no exitfunc or eventhandler, member should be NULL */
plugin_info_t g15plugin_info[] = {
/* TYPE, name, initfunc, updatefreq, exitfunc, eventhandler, initfunc */
- {G15_PLUGIN_LCD_SERVER, "LCDServer" , (void*)lcdserver_thread, 500, NULL, (void*)server_events, NULL},
+ {G15_PLUGIN_LCD_SERVER, "LCDServer" , (void*)lcdserver_thread, 500, g15plugin_net_exit, (void*)server_events, NULL},
{G15_PLUGIN_NONE, "" , NULL, 0, NULL, NULL, NULL}
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|