X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=errlog.h;h=af1e675e89e015a5d95c137535e46bdb5d5c0b2b;hp=a6a0c1064bab045c9b86f71e6243b193f8655803;hb=34a6a841e529579e2be4457ea0d4cb1befbc840a;hpb=3010d66d9bf05c41787d589e6a9584dbbded8206 diff --git a/errlog.h b/errlog.h index a6a0c106..af1e675e 100644 --- a/errlog.h +++ b/errlog.h @@ -1,6 +1,5 @@ #ifndef ERRLOG_H_INCLUDED #define ERRLOG_H_INCLUDED -#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.31 2016/12/24 16:00:49 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.h,v $ @@ -9,7 +8,7 @@ * printf-like fashion. * * Copyright : Written by and Copyright (C) 2001-2009 members of the - * Privoxy team. http://www.privoxy.org/ + * Privoxy team. https://www.privoxy.org/ * * Based on the Internet Junkbuster originally written * by and Copyright (C) 1997 Anonymous Coders and @@ -38,10 +37,9 @@ /* Debug level for errors */ -/* XXX: Should be renamed. */ -#define LOG_LEVEL_GPC 0x0001 +#define LOG_LEVEL_REQUEST 0x0001 #define LOG_LEVEL_CONNECT 0x0002 -#define LOG_LEVEL_IO 0x0004 +#define LOG_LEVEL_TAGGING 0x0004 #define LOG_LEVEL_HEADER 0x0008 #define LOG_LEVEL_WRITING 0x0010 #ifdef FEATURE_FORCE_LOAD @@ -76,11 +74,7 @@ extern void disable_logging(void); extern void init_log_module(void); extern void show_version(const char *prog_name); extern void log_error(int loglevel, const char *fmt, ...); -extern const char *jb_err_to_string(int jb_error); - -/* Revision control strings from this header and associated .c file */ -extern const char errlog_rcs[]; -extern const char errlog_h_rcs[]; +extern const char *jb_err_to_string(jb_err jb_error); #endif /* ndef ERRLOG_H_INCLUDED */