txtinfo: put output start/end in the functions table
[olsrd.git] / lib / info / info_types.h
index cbf3141..8d051bb 100644 (file)
@@ -75,6 +75,7 @@
 typedef void (*init_plugin)(const char *plugin_name);
 typedef bool (*determine_command)(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_neighbors)(struct autobuf *abuf, bool list_2hop);
 typedef void (*printer_generic)(struct autobuf *abuf);
 
@@ -82,6 +83,8 @@ typedef struct {
     init_plugin init;
     determine_command is_command;
     mime_type determine_mime_type;
+    output_start_end output_start;
+    output_start_end output_end;
     printer_neighbors neighbors;
     printer_generic links;
     printer_generic routes;