00001 #ifndef __MONITOR_H 00002 #define __MONITOR_H 00003 00004 #define MAX_PLACECODE 0x10000 00005 00006 enum PlaceCode { PLACE_CONNECT, PLACE_WRITEBYTES, PLACE_MYREAD, 00007 PLACE_SETBLOCKING, PLACE_RRECV, PLACE_RSELECT, 00008 }; 00009 00010 int monitorLog(enum PlaceCode placeCode, int errNum); 00011 00012 #endif