#include <string>
-#include "plugin.h"
-#include "module_settings.h"
+#include "stg/plugin.h"
+#include "stg/module_settings.h"
class USERS;
class TARIFFS;
DIVERT_CAP();
virtual ~DIVERT_CAP() {}
- void SetUsers(USERS *) {}
- void SetTariffs(TARIFFS *) {}
- void SetAdmins(ADMINS *) {}
void SetTraffcounter(TRAFFCOUNTER * tc) { traffCnt = tc; }
- void SetStore(STORE *) {}
- void SetStgSettings(const SETTINGS *) {}
int Start();
int Stop();
int DivertCapRead(char * buffer, int blen, char ** iface, int n);
int DivertCapClose();
- int ParseIntInRange(const std::string & str, int min, int max, int * val);
-
MODULE_SETTINGS settings;
int port;