diff options
author | Nikias Bassen | 2023-02-07 11:43:04 +0100 |
---|---|---|
committer | Nikias Bassen | 2023-02-07 11:43:04 +0100 |
commit | fe1b22723868b038c4d0b84d9582edcdd888af97 (patch) | |
tree | 7db408f97a23c3283eebf1e02caec03bfab9c614 /include/plist/plist.h | |
parent | 6390abcd1c94f4c29291c81322726d6946fd345f (diff) | |
download | libplist-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.h | 7 |
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" */ void plist_mem_free(void* ptr); + /** + * Set debug level for the format parsers. + * + * @param debug Debug level. Currently, only 0 (off) and 1 (enabled) are supported. + */ + void plist_set_debug(int debug); + /*@}*/ #ifdef __cplusplus |