// copyright Min Zhong, cs838 proj2, April, 2000 #ifndef _DEBUG_H #define _DEBUG_H #define DEBUG 0 // we will be in debugging for a short while typedef enum { SUCCESS = 1, FAILURE = 2, } Status; typedef enum { DEBUG_READ = 0, DEBUG_UI = 1, DEBUG_Q = 2, DEBUG_INTP = 3, DEBUG_STAGE = 4 } MDEBUG_TYPE; struct debugMsg { int dtype; char* dstring; }; void mdebug(int debugtype, const char *fmt, ...); #endif