#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