/***** public prototypes *****/ #include "../inc/libshared.h" /***** defines *****/ #define and && #define or || #define NO_FLAGS 0x0 #define RETURN_SUCCESS 0 #define RETURN_FAILURE 1 #define LIBSHARED_VERSION_STRING "7.1.0" #define LIBSHARED_VERSION_INTEGER 710 #if( defined KERNEL_MODE ) #define MODE_TYPE_STRING "kernel-mode" #endif #if( !defined KERNEL_MODE ) #define MODE_TYPE_STRING "user-mode" #endif #if( defined NDEBUG && !defined COVERAGE && !defined TSAN && !defined PROF ) #define BUILD_TYPE_STRING "release" #endif #if( !defined NDEBUG && !defined COVERAGE && !defined TSAN && !defined PROF ) #define BUILD_TYPE_STRING "debug" #endif #if( !defined NDEBUG && defined COVERAGE && !defined TSAN && !defined PROF ) #define BUILD_TYPE_STRING "coverage" #endif #if( !defined NDEBUG && !defined COVERAGE && defined TSAN && !defined PROF ) #define BUILD_TYPE_STRING "threadsanitizer" #endif #if( !defined NDEBUG && !defined COVERAGE && !defined TSAN && defined PROF ) #define BUILD_TYPE_STRING "profiling" #endif /***** library-wide prototypes *****/