sgwdynspeed: add plugin
[olsrd.git] / lib / sgwdynspeed / src / sgwDynSpeed.h
1 #ifndef _SGWDYNSPEED_SGWDYNSPEED_H
2 #define _SGWDYNSPEED_SGWDYNSPEED_H
3
4 /* Plugin includes */
5
6 /* OLSR includes */
7
8 /* System includes */
9 #include <stdbool.h>
10
11 /*
12  * Global
13  */
14
15 /** The long plugin name */
16 #define SGWDYNSPEED_PLUGIN_NAME_LONG                    "OLSRD Smart Gateway Dynamic Speed plugin"
17
18 /** The short plugin name / abbreviation */
19 #define SGWDYNSPEED_PLUGIN_ABBR                                 "SGWDYNSPEED"
20
21 /*
22  *  Interface
23  */
24
25 bool initSgwDynSpeed(void);
26 void stopSgwDynSpeed(void);
27
28 void sgwDynSpeedError(bool useErrno, const char *format, ...) __attribute__ ((format(printf, 2, 3)));
29
30 #endif /* _SGWDYNSPEED_SGWDYNSPEED_H */