diff options
| author | 2016-03-26 15:30:28 +0100 | |
|---|---|---|
| committer | 2016-04-20 14:18:46 +0200 | |
| commit | 6ab7e301f1854fd18891ddfeaa64e7485be990ba (patch) | |
| tree | b895af9cd1f73235f85bc1b67d450e2fbd590d6e /include | |
| parent | 275cfcd5ac317185c9f3d8156c357df5f8155c37 (diff) | |
| download | libplist-6ab7e301f1854fd18891ddfeaa64e7485be990ba.tar.gz libplist-6ab7e301f1854fd18891ddfeaa64e7485be990ba.tar.bz2 | |
Move libxml cleanup code to a plist_cleanup method
Diffstat (limited to 'include')
| -rw-r--r-- | include/plist/plist.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index c66545a..acd1c4d 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h | |||
| @@ -113,6 +113,19 @@ extern "C" | |||
| 113 | 113 | ||
| 114 | /******************************************** | 114 | /******************************************** |
| 115 | * * | 115 | * * |
| 116 | * Library Initialization & Cleanup * | ||
| 117 | * * | ||
| 118 | ********************************************/ | ||
| 119 | |||
| 120 | /** | ||
| 121 | * Frees memory used globally by listplist, in | ||
| 122 | * particular the libxml parser | ||
| 123 | */ | ||
| 124 | |||
| 125 | void plist_cleanup(void); | ||
| 126 | |||
| 127 | /******************************************** | ||
| 128 | * * | ||
| 116 | * Creation & Destruction * | 129 | * Creation & Destruction * |
| 117 | * * | 130 | * * |
| 118 | ********************************************/ | 131 | ********************************************/ |
