X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loaders.h;h=b231bd1b97337a2f48794cc95e544fddc89d8de7;hp=a0fea3e98bcfb3a8b1364d79cad9fb0d0354d65b;hb=126983736bbaaa3f532c55218f15738beef6a79b;hpb=17bd47f8dfbf8c5cba82c8e389c3039ca78a66dc diff --git a/loaders.h b/loaders.h index a0fea3e9..b231bd1b 100644 --- a/loaders.h +++ b/loaders.h @@ -1,6 +1,6 @@ #ifndef LOADERS_H_INCLUDED #define LOADERS_H_INCLUDED -#define LOADERS_H_VERSION "$Id: loaders.h,v 1.9 2001/07/30 22:08:36 jongfoster Exp $" +#define LOADERS_H_VERSION "$Id: loaders.h,v 1.12 2001/11/07 00:02:13 steudten Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.h,v $ @@ -37,6 +37,17 @@ * * Revisions : * $Log: loaders.h,v $ + * Revision 1.12 2001/11/07 00:02:13 steudten + * Add line number in error output for lineparsing for + * actionsfile and configfile. + * Special handling for CLF added. + * + * Revision 1.11 2001/10/23 21:38:53 jongfoster + * Adding error-checking to create_url_spec() + * + * Revision 1.10 2001/09/22 16:36:59 jongfoster + * Removing unused parameter fs from read_config_line() + * * Revision 1.9 2001/07/30 22:08:36 jongfoster * Tidying up #defines: * - All feature #defines are now of the form FEATURE_xxx @@ -119,11 +130,12 @@ struct configuration_spec; struct url_spec; extern void sweep(void); -extern char *read_config_line(char *buf, int buflen, FILE *fp); +extern char *read_config_line(char *buf, int buflen, FILE *fp, unsigned long *linenum); extern int check_file_changed(const struct file_list * current, const char * filename, struct file_list ** newfl); +extern short int MustReload; extern int load_actions_file(struct client_state *csp); extern int load_re_filterfile(struct client_state *csp); @@ -133,7 +145,7 @@ extern int load_trustfile(struct client_state *csp); -extern int create_url_spec(struct url_spec * url, char * buf); +extern jb_err create_url_spec(struct url_spec * url, char * buf); extern void free_url(struct url_spec *url); extern void add_loader(int (*loader)(struct client_state *),