summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-01-11 20:44:33 +0100
committerGravatar Jonathan Beck2009-01-11 20:44:33 +0100
commit74dae54b1b092aca744b4df6668569d6fc1153b5 (patch)
tree46d0e9ade9da94d12a57a06032f4fe81716ff8f5 /include/plist
parented5f0b7154a5f653c240e6962098ae7b28ab61e5 (diff)
downloadlibplist-74dae54b1b092aca744b4df6668569d6fc1153b5.tar.gz
libplist-74dae54b1b092aca744b4df6668569d6fc1153b5.tar.bz2
Add a pythyon binding to the library (using SWIG).
Diffstat (limited to 'include/plist')
-rw-r--r--include/plist/plist.h3
1 files changed, 3 insertions, 0 deletions
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