diff options
Diffstat (limited to 'include/plist')
-rw-r--r-- | include/plist/plist.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index 7a41fb4..824ba43 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -620,6 +620,13 @@ extern "C" void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length); /** + * Frees the memory allocated by plist_to_xml(). + * + * @param plist_xml The buffer allocated by plist_to_xml(). + */ + void plist_to_xml_free(char *plist_xml); + + /** * Export the #plist_t structure to binary format. * * @param plist the root node to export @@ -630,6 +637,13 @@ extern "C" void plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length); /** + * Frees the memory allocated by plist_to_bin(). + * + * @param plist_bin The buffer allocated by plist_to_bin(). + */ + void plist_to_bin_free(char *plist_bin); + + /** * Import the #plist_t structure from XML format. * * @param plist_xml a pointer to the xml buffer. |