summaryrefslogtreecommitdiffstats
path: root/include/plist/plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-02-07 11:43:04 +0100
committerGravatar Nikias Bassen2023-02-07 11:43:04 +0100
commitfe1b22723868b038c4d0b84d9582edcdd888af97 (patch)
tree7db408f97a23c3283eebf1e02caec03bfab9c614 /include/plist/plist.h
parent6390abcd1c94f4c29291c81322726d6946fd345f (diff)
downloadlibplist-fe1b22723868b038c4d0b84d9582edcdd888af97.tar.gz
libplist-fe1b22723868b038c4d0b84d9582edcdd888af97.tar.bz2
Add function to interface to allow enabling/disabling error/debug output for the format parses
This makes the `-d` option work in plistutil that wasn't doing anything
Diffstat (limited to 'include/plist/plist.h')
-rw-r--r--include/plist/plist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 0a21499..f955d5e 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -1094,6 +1094,13 @@ extern "C"
1094 */ 1094 */
1095 void plist_mem_free(void* ptr); 1095 void plist_mem_free(void* ptr);
1096 1096
1097 /**
1098 * Set debug level for the format parsers.
1099 *
1100 * @param debug Debug level. Currently, only 0 (off) and 1 (enabled) are supported.
1101 */
1102 void plist_set_debug(int debug);
1103
1097 /*@}*/ 1104 /*@}*/
1098 1105
1099#ifdef __cplusplus 1106#ifdef __cplusplus