#ifndef _ZoO_PERVASIVE_H_ #define _ZoO_PERVASIVE_H_ #include #define ZoO_SERVER_VERSION 1 #define ZoO_PROTOCOL_VERSION 1 //#define ZoO_RUNNING_FRAMA_C 1 #define ZoO_DEBUG_ALL 1 #ifndef ZoO_DEBUG_ALL #define ZoO_DEBUG_ALL 0 #endif #define ZoO__TO_STRING(x) #x #define ZoO_TO_STRING(x) ZoO__TO_STRING(x) #define ZoO_ISOLATE(a) do {a} while (0) /* strncmp stops at '\0' and strlen does not count '\0'. */ #define ZoO_IS_PREFIX(a, b) (strncmp(a, b, strlen(a)) == 0) #define ZoO_STRING_EQUALS(a, b) (strcmp(a, b) == 0) #endif