summaryrefslogtreecommitdiffstats
path: root/include/plist/plist.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-12 20:04:40 +0100
committerGravatar Jonathan Beck2009-01-12 20:04:40 +0100
commitc0c27eb5dc9c9f77cd5d500f36641647ee508d15 (patch)
treeab39cbb030c302a89b180655723f2318ad07efd3 /include/plist/plist.h
parent74dae54b1b092aca744b4df6668569d6fc1153b5 (diff)
downloadlibplist-c0c27eb5dc9c9f77cd5d500f36641647ee508d15.tar.gz
libplist-c0c27eb5dc9c9f77cd5d500f36641647ee508d15.tar.bz2
Add a function to find a key node by its value.
Diffstat (limited to 'include/plist/plist.h')
-rw-r--r--include/plist/plist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 976408d..b666d2f 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -73,6 +73,7 @@ plist_t plist_get_prev_sibling(plist_t node);
//utili function to find first (and only the first encountred) corresponding node
plist_t plist_find_node(plist_t plist, plist_type type, void *value, uint64_t length);
+plist_t plist_find_node_by_key(plist_t plist, char *value);
plist_t plist_find_node_by_string(plist_t plist, char *value);
void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length);