info: do not export info_plugin_outbuffer_t, only used internally
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 1 Dec 2015 17:31:24 +0000 (18:31 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:16 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/info_types.h
lib/info/olsrd_info.c

index 8166a5e..a54da0c 100644 (file)
@@ -100,16 +100,6 @@ typedef struct {
     printer_generic plugins;
 } info_plugin_functions_t;
 
-#define MAX_CLIENTS 3
-
-typedef struct {
-    char *buffer[MAX_CLIENTS];
-    size_t size[MAX_CLIENTS];
-    size_t written[MAX_CLIENTS];
-    int socket[MAX_CLIENTS];
-    int count;
-} info_plugin_outbuffer_t;
-
 typedef struct {
     union olsr_ip_addr accept_ip;
     union olsr_ip_addr listen_ip;
index 7e437da..1159184 100644 (file)
 #define close(x) closesocket(x)
 #endif /* _WIN32 */
 
+#define MAX_CLIENTS 3
+
+typedef struct {
+  char *buffer[MAX_CLIENTS];
+  size_t size[MAX_CLIENTS];
+  size_t written[MAX_CLIENTS];
+  int socket[MAX_CLIENTS];
+  int count;
+} info_plugin_outbuffer_t;
+
 static const char * PLUGIN_NAME = NULL;
 static info_plugin_functions_t *functions = NULL;
 static info_plugin_config_t *info_plugin_config;