projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LSB compliance to init.d script (INIT INFO and status).
[privoxy.git]
/
list.h
diff --git
a/list.h
b/list.h
index
afa4423
..
cb12a40
100644
(file)
--- a/
list.h
+++ b/
list.h
@@
-1,9
+1,9
@@
#ifndef LIST_H_INCLUDED
#define LIST_H_INCLUDED
#ifndef LIST_H_INCLUDED
#define LIST_H_INCLUDED
-#define LIST_H_VERSION "$Id: list.h,v 1.1
1 2002/03/24 13:25:43 swa
Exp $"
+#define LIST_H_VERSION "$Id: list.h,v 1.1
2.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:
*
* Purpose : Declares functions to handle lists.
* Functions declared include:
@@
-36,6
+36,13
@@
*
* Revisions :
* $Log: list.h,v $
*
* 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
*
* 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 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);
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);
extern const char * lookup (const struct map * the_map, const char * name);