summaryrefslogtreecommitdiffstats
path: root/src/plist.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-12-12 23:39:33 +0100
committerGravatar Jonathan Beck2008-12-12 23:39:33 +0100
commit3d8ba053deeacd74e621469d3d45d1db38ee411a (patch)
tree9c2010c9da179f96d55988f19c861301a68e5eb4 /src/plist.h
parent9ca887308d59e6cb5bf684f9f3bd968118e8014f (diff)
downloadlibimobiledevice-3d8ba053deeacd74e621469d3d45d1db38ee411a.tar.gz
libimobiledevice-3d8ba053deeacd74e621469d3d45d1db38ee411a.tar.bz2
Change from Base64 encoded buffers to real buffers. Base64 decoding/encoding only happens in xml plists.
Diffstat (limited to 'src/plist.h')
-rw-r--r--src/plist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.h b/src/plist.h
index ff4bdbf..1dc464a 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -67,7 +67,7 @@ typedef GNode *plist_t;
void plist_new_dict(plist_t * plist);
void plist_new_array(plist_t * plist);
void plist_new_dict_in_plist(plist_t plist, plist_t * dict);
-void plist_add_dict_element(plist_t dict, char *key, plist_type type, void *value);
+void plist_add_dict_element(plist_t dict, char *key, plist_type type, void *value, uint64_t length);
void plist_free(plist_t plist);
void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length);
@@ -78,6 +78,6 @@ void bin_to_plist(const char *plist_bin, uint32_t length, plist_t * plist);
plist_t find_query_node(plist_t plist, char *key, char *request);
plist_t find_node(plist_t plist, plist_type type, void *value);
-void get_type_and_value(plist_t node, plist_type * type, void *value);
+void get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length);
#endif