[Olsr-cvs] olsrd-current/src olsrd_plugin.h,1.4,1.5
Bernd Petrovitsch
(spam-protected)
Mon Sep 17 00:11:32 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31909/src
Modified Files:
olsrd_plugin.h
Log Message:
* make the typedef a function (and not a pointer) so we can use it for function prototypes
Index: olsrd_plugin.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/olsrd_plugin.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** olsrd_plugin.h 25 Aug 2007 19:48:42 -0000 1.4
--- olsrd_plugin.h 16 Sep 2007 22:11:30 -0000 1.5
***************
*** 79,87 ****
/* Interface version 5 */
! typedef int (*set_plugin_parameter)(const char *value, void *data, unsigned int addon);
struct olsrd_plugin_parameters {
const char *name;
! set_plugin_parameter set_plugin_parameter;
void *data;
unsigned int addon;
--- 79,87 ----
/* Interface version 5 */
! typedef int set_plugin_parameter(const char *value, void *data, unsigned int addon);
struct olsrd_plugin_parameters {
const char *name;
! set_plugin_parameter *set_plugin_parameter;
void *data;
unsigned int addon;
More information about the Olsr-cvs
mailing list