X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=actions.h;h=7a9cd2ece78676dfe33a516f39eb075f91b4cf15;hp=4e91cc472f6a842f60de755d21f2de514816f4c7;hb=5f21a3aee58b4691fb12b96d7339b7dac69f11c1;hpb=932f6a29501949c99204c8f2ed8ae7d9704e53af diff --git a/actions.h b/actions.h index 4e91cc47..7a9cd2ec 100644 --- a/actions.h +++ b/actions.h @@ -1,6 +1,6 @@ #ifndef ACTIONS_H_INCLUDED #define ACTIONS_H_INCLUDED -#define ACTIONS_H_VERSION "$Id: actions.h,v 1.20 2011/09/04 11:10:56 fabiankeil Exp $" +#define ACTIONS_H_VERSION "$Id: actions.h,v 1.24 2013/11/24 14:27:27 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.h,v $ @@ -36,11 +36,6 @@ *********************************************************************/ -#ifdef __cplusplus -extern "C" { -#endif - - struct action_spec; struct current_action_spec; struct client_state; @@ -65,10 +60,8 @@ extern void init_action(struct action_spec *dest); extern void free_action(struct action_spec *src); extern jb_err merge_actions (struct action_spec *dest, const struct action_spec *src); -#if 0 -extern int update_action_bits_for_all_tags(struct client_state *csp); -#endif extern int update_action_bits_for_tag(struct client_state *csp, const char *tag); +extern jb_err check_negative_tag_patterns(struct client_state *csp, unsigned int flag); extern jb_err copy_action (struct action_spec *dest, const struct action_spec *src); extern char * actions_to_text (const struct action_spec *action); @@ -85,6 +78,9 @@ extern char * actions_to_line_of_text(const struct current_action_spec *action); extern jb_err get_action_token(char **line, char **name, char **value); extern void unload_actions_file(void *file_data); extern int load_action_files(struct client_state *csp); +#ifdef FUZZ +extern int load_one_actions_file(struct client_state *csp, int fileid); +#endif #ifdef FEATURE_GRACEFUL_TERMINATION void unload_current_actions_file(void); @@ -95,10 +91,6 @@ void unload_current_actions_file(void); extern const char actions_rcs[]; extern const char actions_h_rcs[]; -#ifdef __cplusplus -} /* extern "C" */ -#endif - #endif /* ndef ACTIONS_H_INCLUDED */ /*