X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=list.h;h=cb12a4040551d1d27ba8e092eac907a665225d36;hp=afa44238f2e98a0338013c37a253adf4786c4417;hb=d42a366b562c60b5f1b88bfdfde4e2f94f45b4ec;hpb=97110184221edacdb7d4dfc29de0e38d63f4d831 diff --git a/list.h b/list.h index afa44238..cb12a404 100644 --- a/list.h +++ b/list.h @@ -1,9 +1,9 @@ #ifndef LIST_H_INCLUDED #define LIST_H_INCLUDED -#define LIST_H_VERSION "$Id: list.h,v 1.11 2002/03/24 13:25:43 swa Exp $" +#define LIST_H_VERSION "$Id: list.h,v 1.12.2.1 2002/11/28 18:14:54 oes Exp $" /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/list.h,v $ + * File : $Source: /cvsroot/ijbswa/current/Attic/list.h,v $ * * Purpose : Declares functions to handle lists. * Functions declared include: @@ -36,6 +36,13 @@ * * Revisions : * $Log: list.h,v $ + * Revision 1.12.2.1 2002/11/28 18:14:54 oes + * Added unmap function that removes all items with a given + * name from a map. + * + * Revision 1.12 2002/03/26 22:29:55 swa + * we have a new homepage! + * * Revision 1.11 2002/03/24 13:25:43 swa * name change related issues * @@ -141,9 +148,11 @@ extern char * list_to_text(const struct list *the_list); extern struct map * new_map (void); extern void free_map (struct map * the_map); -extern int map (struct map * the_map, +extern jb_err map (struct map * the_map, const char * name, int name_needs_copying, const char * value, int value_needs_copying); +extern jb_err unmap (struct map *the_map, + const char *name); extern const char * lookup (const struct map * the_map, const char * name);