summaryrefslogtreecommitdiff
path: root/socket-common.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-07-19 08:41:04 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-07-19 08:41:04 -0400
commit299b166ff820e8413f0c34ed5a2e7afac46cd477 (patch)
treeb0b8e1520af740e8a63fd132ebae82326054e12f /socket-common.h
initial commit
Diffstat (limited to 'socket-common.h')
-rw-r--r--socket-common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/socket-common.h b/socket-common.h
new file mode 100644
index 0000000..41d177e
--- /dev/null
+++ b/socket-common.h
@@ -0,0 +1,16 @@
+#ifndef SOCKET_COMMON_H
+#define SOCKET_COMMON_H
+
+#include <stdio.h>
+#include <gio/gio.h>
+#include <string.h>
+
+//#define DEBUG_ON - uncomment this to have debug messages
+
+#ifdef DEBUG_ON
+#define g_print_debug(...) g_print(__VA_ARGS__)
+#else
+#define g_print_debug(...) {}
+#endif
+
+#endif \ No newline at end of file