Code restructure

! configuration moved to config.c
- msnpr.c removed
- countersutil.c removed
This commit is contained in:
z3APA3A committed 2015-12-03 02:17:15 +03:00
1 parent 4709f7a7b9
commit b2e415b8cb
8 files changed
+1716 -2088

No files matched your search

+12
View File
@@ -690,6 +690,17 @@ struct pluginlink {
unsigned char * (*dologname) (unsigned char *buf, unsigned char *name, const unsigned char *ext, ROTATION lt, time_t t);
};
struct counter_header {
unsigned char sig[4];
time_t updated;
};
struct counter_record {
uint64_t traf64;
time_t cleared;
time_t updated;
};
extern struct pluginlink pluginlink;
extern char *rotations[];
@@ -735,6 +746,7 @@ typedef enum {
}DATA_TYPE;
#ifdef __cplusplus
}
#endif