]> git.itanic.dy.fi Git - rrdd/blob - plugin.h
onewire_parser.c: Fix compiler warnings about string lengths
[rrdd] / plugin.h
1 #ifndef _PLUGIN_H
2 #define _PLUGIN_H
3
4 typedef int (plugin_init_fn_t)(void);
5
6 struct plugin_info {
7         /* Plugin version, must match with main executable version */
8         const char *version;
9
10         /* Name of the plugin, used in debug prints */
11         const char *name;
12
13         /* This gets executed once the plugin is loaded */
14         plugin_init_fn_t *init;
15 };
16
17 #endif