From ecdb6851b4c28d55a434c58532894e4c5e082adc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 27 Mar 1995 12:50:40 +0000 Subject: [PATCH] New level: GW_LOG_ERRNO. --- include/gw-log.h | 14 +++++++++----- include/iso2709.h | 6 ++++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/include/gw-log.h b/include/gw-log.h index 27c1236..7e78f2f 100644 --- a/include/gw-log.h +++ b/include/gw-log.h @@ -4,7 +4,10 @@ * Europagate, 1994-1995. * * $Log: gw-log.h,v $ - * Revision 1.3 1995/02/23 08:32:11 adam + * 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 @@ -22,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 @@ -84,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. */ @@ -95,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 diff --git a/include/iso2709.h b/include/iso2709.h index 4f46513..7a57a60 100644 --- a/include/iso2709.h +++ b/include/iso2709.h @@ -4,7 +4,10 @@ * Europagate, 1994-1995. * * $Log: iso2709.h,v $ - * Revision 1.6 1995/03/08 12:36:35 adam + * Revision 1.7 1995/03/27 12:50:40 adam + * New level: GW_LOG_ERRNO. + * + * Revision 1.6 1995/03/08 12:36:35 adam * New function: dbc2709_cvt. * * Revision 1.5 1995/02/23 08:32:12 adam @@ -32,7 +35,6 @@ typedef struct iso2709_rec *Iso2709Rec; char *iso2709_read (FILE *inf); Iso2709Rec iso2709_cvt (const char *buf); -Iso2709Rec dbc2709_cvt (const char *buf); void iso2709_rm (Iso2709Rec rec); void iso2709_display (Iso2709Rec rec, FILE *out); -- 1.7.10.4