summaryrefslogtreecommitdiff
path: root/netcon/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'netcon/common.h')
-rwxr-xr-xnetcon/common.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/netcon/common.h b/netcon/common.h
new file mode 100755
index 00000000..275db8db
--- /dev/null
+++ b/netcon/common.h
@@ -0,0 +1,34 @@
+
+#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);
+
+
+#define MSGERR 0
+#define MSGDEBUG 1
+
+
+#endif