info: rename a function prototype
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 11:30:08 +0000 (12:30 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:17 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/info_types.h

index cb8ba03..c0e7529 100644 (file)
 #define SIW_OLSRD_CONF 0x2000
 
 typedef void (*init_plugin)(const char *plugin_name);
-typedef bool (*determine_command)(const char *str, unsigned int siw);
+typedef bool (*command_matcher)(const char *str, unsigned int siw);
 typedef const char * (*mime_type)(unsigned int send_what);
 typedef void (*output_start_end)(struct autobuf *abuf);
 typedef void (*printer_generic)(struct autobuf *abuf);
 
 typedef struct {
     init_plugin init;
-    determine_command is_command;
+    command_matcher is_command;
     mime_type determine_mime_type;
     output_start_end output_start;
     output_start_end output_end;