X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fgw-log.h;h=7e78f2f5c4b44effc04104cf1d08342d3a57129c;hb=c3d25c24fb405af98c6879fa7f5f619ccc895151;hp=d74c1fbb0db37c7c6a7105840f7746bc57e770bf;hpb=5bc115d3b598f5ad198411dcd033a91a8356c9be;p=egate.git diff --git a/include/gw-log.h b/include/gw-log.h index d74c1fb..7e78f2f 100644 --- a/include/gw-log.h +++ b/include/gw-log.h @@ -1,15 +1,19 @@ /* - gw-log.h: Logging facilities. - - Europagate, 1994-1995. - - $Log: gw-log.h,v $ - Revision 1.1 1995/02/09 17:27:11 adam - Initial revision - - - Initial: Dec 7, 94 (Adam Dickmeiss) - Last update: Dec 13, 94 (Adam Dickmeiss) + * gw-log.h: Logging facilities. + * + * Europagate, 1994-1995. + * + * $Log: gw-log.h,v $ + * Revision 1.4 1995/03/27 12:50:40 adam + * New level: GW_LOG_ERRNO. + * + * Revision 1.3 1995/02/23 08:32:11 adam + * Changed header. + * + * Revision 1.1.1.1 1995/02/09 17:27:12 adam + * Initial version of email gateway under CVS control. + * + * Initial: Dec 7, 94 (Adam Dickmeiss) */ #ifndef GW_LOG_H @@ -21,11 +25,12 @@ #define GW_LOG_WARN 0x02 #define GW_LOG_ACCT 0x04 #define GW_LOG_STAT 0x08 +#define GW_LOG_ERRNO 0x10 /* All debug levels */ #define GW_LOG_DEBUG 0xfff0 -/* Individual debug levels, x sould be in range 0-11 */ -#define GW_LOG_DEBUGN(x) (0x10<<(x)) +/* Individual debug levels, x sould be in range 0-10 */ +#define GW_LOG_DEBUGN(x) (0x20<<(x)) /* All levels on / All levels except debugging */ #define GW_LOG_ALL 0xffff @@ -83,7 +88,7 @@ int gw_log (unsigned level, const char *event_type, const char *format, ...); char *gw_strdup (const char *s); /* - Works as strdup, which is not defined by ANSI. + Works as strdup(3s), which is not defined by ANSI. */ @@ -94,7 +99,7 @@ char *gw_strdup (const char *s); one token one token - five tokens (Tue Dec 6 11:34:21 1994) + one token yymmddhhmmss one token one token