summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-24 13:35:56 +0200
committerGravatar Nikias Bassen2023-04-24 13:35:56 +0200
commit61f01b1b06ff906cce4c4c3b2aa031f2efaf1201 (patch)
tree37a4eaaaf46d7fcff4a60a6d37d2f42ea3d97b1b
parentb8fcc89b74c9128a13b07cc15a0ce25dca0cd97e (diff)
downloadlibplist-61f01b1b06ff906cce4c4c3b2aa031f2efaf1201.tar.gz
libplist-61f01b1b06ff906cce4c4c3b2aa031f2efaf1201.tar.bz2
Add a PLIST_OPT_NONE value to plist_write_options_t
-rw-r--r--include/plist/plist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index e3e228f..9f71777 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -157,6 +157,7 @@ extern "C"
*/
typedef enum
{
+ PLIST_OPT_NONE = 0, /**< Default value to use when none of the options is needed. */
PLIST_OPT_COMPACT = 1 << 0, /**< Use a compact representation (non-prettified). Only valid for #PLIST_FORMAT_JSON and #PLIST_FORMAT_OSTEP. */
PLIST_OPT_PARTIAL_DATA = 1 << 1, /**< Print 24 bytes maximum of #PLIST_DATA values. If the data is longer than 24 bytes, the first 16 and last 8 bytes will be written. Only valid for #PLIST_FORMAT_PRINT. */
PLIST_OPT_NO_NEWLINE = 1 << 2, /**< Do not print a final newline character. Only valid for #PLIST_FORMAT_PRINT, #PLIST_FORMAT_LIMD, and #PLIST_FORMAT_PLUTIL. */