From 74dae54b1b092aca744b4df6668569d6fc1153b5 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sun, 11 Jan 2009 20:44:33 +0100 Subject: Add a pythyon binding to the library (using SWIG). --- include/plist/plist.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/plist/plist.h') diff --git a/include/plist/plist.h b/include/plist/plist.h index b496d6f..976408d 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -71,7 +71,10 @@ plist_t plist_get_first_child(plist_t node); plist_t plist_get_next_sibling(plist_t node); 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_string(plist_t plist, char *value); + void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length); //Plist reading -- cgit v1.1-32-gdbae