summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
Diffstat (limited to 'netcon')
-rwxr-xr-xnetcon/Common.c4
-rwxr-xr-xnetcon/Common.h30
-rwxr-xr-xnetcon/libintercept.so.1.0bin0 -> 57256 bytes
3 files changed, 2 insertions, 32 deletions
diff --git a/netcon/Common.c b/netcon/Common.c
index af467b1c..1ab526bb 100755
--- a/netcon/Common.c
+++ b/netcon/Common.c
@@ -36,6 +36,8 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#include <pthread.h>
+#include <fcntl.h>
+
#define DEBUG_LEVEL 5
@@ -43,8 +45,6 @@
#define MSG_INFO 1 // Information which is generally useful to any user
#define MSG_DEBUG 2 // Information which is only useful to someone debugging
-#include "Common.h"
-
#ifdef NETCON_INTERCEPT
extern pthread_mutex_t loglock;
diff --git a/netcon/Common.h b/netcon/Common.h
deleted file mode 100755
index c8fbd421..00000000
--- a/netcon/Common.h
+++ /dev/null
@@ -1,30 +0,0 @@
-
-#ifndef _COMMON_H_
-#define _COMMON_H_
-
-//#include <unistd.h>
-#include <sys/ioctl.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <stdarg.h>
-#include <sys/stat.h>
-#include <sys/ipc.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <time.h>
-#include <assert.h>
-#include <signal.h>
-#include <sys/socket.h>
-
-/*
-void set_log_options(int, char *, int);
-void show_msg(int level, char *, ...);
-unsigned int resolve_ip(char *, int, int);
-*/
-
-#endif
diff --git a/netcon/libintercept.so.1.0 b/netcon/libintercept.so.1.0
new file mode 100755
index 00000000..2e8d6035
--- /dev/null
+++ b/netcon/libintercept.so.1.0
Binary files differ