netplika/config.h

25 lines
No EOL
436 B
C

/** Global configuration.
*
* @author Steffen Vogel <post@steffenvogel.de>
* @copyright 2014-2015, Steffen Vogel
* @license GPLv3
*********************************************************************************/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#define VERSION "0.1"
struct config {
int mark;
int mask;
int interval;
int limit;
double rate;
char *dev;
};
/* Declared in main.c */
extern struct config cfg;
#endif