00001
00002
00003 #ifndef _LIBJWGC_DEBUG_H_
00004 #define _LIBJWGC_DEBUG_H_ 1
00005
00006 #include "libjwgc_types.h"
00007
00008
00009
00010
00011
00012
00013 extern int errno;
00014
00015 typedef enum dZones {
00016 dJWG,
00017 dParser,
00018 dJAB,
00019 dOutput,
00020 dEval,
00021 dPoll,
00022 dExecution,
00023 dVars,
00024 dMatch,
00025 dXML,
00026 dGPG,
00027 dNumZones
00028 } dZone;
00029
00030 void dclear();
00031 void dflagon(dZone zone);
00032 void dflagoff(dZone zone);
00033 void dprintf(dZone zone, const char *msgfmt, ...);
00034 void dprinttypes();
00035 void dparseflags(char *flags);
00036 char *dzoneitos(dZone zone);
00037 dZone dzonestoi(char *zone);
00038
00039
00040 #endif