X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=errlog.h;h=af1e675e89e015a5d95c137535e46bdb5d5c0b2b;hp=05f5190177df1b191c7c58928254dd8af2a9cca6;hb=31265b1b2d8f5b81cbde0fcada6271d800430c59;hpb=f67b3326138f428863c21c7738e0c8db87fa6f5c diff --git a/errlog.h b/errlog.h index 05f51901..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.30 2013/11/24 14:23:28 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.h,v $ @@ -8,8 +7,8 @@ * Purpose : Log errors to a designated destination in an elegant, * printf-like fashion. * - * Copyright : Written by and Copyright (C) 2001-2009 the SourceForge - * Privoxy team. http://www.privoxy.org/ + * Copyright : Written by and Copyright (C) 2001-2009 members of the + * 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 */