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 /src/oplist.c | |
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 'src/oplist.c')
-rw-r--r-- | src/oplist.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/oplist.c b/src/oplist.c index 287d5a2..1781962 100644 --- a/src/oplist.c +++ b/src/oplist.c @@ -63,6 +63,11 @@ void plist_ostep_deinit(void) /* deinit OpenStep plist stuff */ } +void plist_ostep_set_debug(int debug) +{ + plist_ostep_debug = debug; +} + #ifndef HAVE_STRNDUP static char* strndup(const char* str, size_t len) { |