X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=loaders.h;h=54c4aa2796fee2c754d69fd075243b1582d3f99c;hp=c50a2d4e9cc39cf7ad6a5c0ca967f5b8bd90cb30;hb=6c92f003d85e32dfcfed47d26263e9db40806d46;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/loaders.h b/loaders.h index c50a2d4e..54c4aa27 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.28 2011/04/19 13:00:47 fabiankeil Exp $" +#define LOADERS_H_VERSION "$Id: loaders.h,v 1.32 2013/11/24 14:23:28 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.h,v $ @@ -38,16 +38,6 @@ *********************************************************************/ -#ifdef __cplusplus -extern "C" { -#endif - -/* Structures taken from project.h */ -struct client_state; -struct file_list; -struct configuration_spec; -struct url_spec; - extern unsigned int sweep(void); extern char *read_config_line(FILE *fp, unsigned long *linenum, char **buf); extern int check_file_changed(const struct file_list * current, @@ -84,6 +74,9 @@ extern jb_err simple_read_line(FILE *fp, char **dest, int *newline); extern short int MustReload; extern int load_action_files(struct client_state *csp); extern int load_re_filterfiles(struct client_state *csp); +#ifdef FUZZ +extern int load_one_re_filterfile(struct client_state *csp, int fileid); +#endif #ifdef FEATURE_TRUST extern int load_trustfile(struct client_state *csp); @@ -102,16 +95,12 @@ extern void add_loader(int (*loader)(struct client_state *), struct configuration_spec * config); extern int run_loader(struct client_state *csp); -extern int any_loaded_file_changed(const struct file_list *files_to_check); +extern int any_loaded_file_changed(const struct client_state *csp); /* Revision control strings from this header and associated .c file */ extern const char loaders_rcs[]; extern const char loaders_h_rcs[]; -#ifdef __cplusplus -} /* extern "C" */ -#endif - #endif /* ndef LOADERS_H_INCLUDED */ /*