diff options
Diffstat (limited to 'src/fnettrace/fnettrace.h')
-rw-r--r-- | src/fnettrace/fnettrace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fnettrace/fnettrace.h b/src/fnettrace/fnettrace.h index 66b7378da..b30a9f10d 100644 --- a/src/fnettrace/fnettrace.h +++ b/src/fnettrace/fnettrace.h | |||
@@ -23,10 +23,15 @@ | |||
23 | #include "../include/common.h" | 23 | #include "../include/common.h" |
24 | #include <unistd.h> | 24 | #include <unistd.h> |
25 | #include <sys/stat.h> | 25 | #include <sys/stat.h> |
26 | #include <sys/types.h> | ||
26 | #include <sys/socket.h> | 27 | #include <sys/socket.h> |
27 | #include <netinet/in.h> | 28 | #include <netinet/in.h> |
28 | #include <time.h> | 29 | #include <time.h> |
29 | #include <stdarg.h> | 30 | #include <stdarg.h> |
31 | #include <fcntl.h> | ||
32 | #include <sys/mman.h> | ||
33 | |||
34 | |||
30 | //#define DEBUG 1 | 35 | //#define DEBUG 1 |
31 | 36 | ||
32 | #define NETLOCK_INTERVAL 60 // seconds | 37 | #define NETLOCK_INTERVAL 60 // seconds |
@@ -62,4 +67,7 @@ extern int geoip_calls; | |||
62 | void load_hostnames(const char *fname); | 67 | void load_hostnames(const char *fname); |
63 | char* retrieve_hostname(uint32_t ip); | 68 | char* retrieve_hostname(uint32_t ip); |
64 | 69 | ||
70 | // tail.c | ||
71 | void tail(const char *logfile); | ||
72 | |||
65 | #endif \ No newline at end of file | 73 | #endif \ No newline at end of file |