From 0b624384cd52be20e61284551d832b499d7b7707 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sat, 14 Apr 2012 12:56:48 +0100 Subject: Imported Upstream version 2.1.8.20120216 --- utils/plist.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 utils/plist.h (limited to 'utils/plist.h') diff --git a/utils/plist.h b/utils/plist.h new file mode 100644 index 0000000..52207a7 --- /dev/null +++ b/utils/plist.h @@ -0,0 +1,13 @@ +#ifndef _PLIST_H_ +#define _PLIST_H_ + +typedef struct plist_node plist_node_t; + +int plist_contains(void *k, plist_node_t *root, void **nodeval); +int plist_remove(void *k, plist_node_t **root, void **ov); +int plist_add(void *k, void *v, plist_node_t **root); +void plist_clear(plist_node_t **root); +int plist_walk(plist_node_t *start, int(*func)(const void *k, const void *v, + void *arg), void *arg); + +#endif -- cgit v1.2.3