From 61f01b1b06ff906cce4c4c3b2aa031f2efaf1201 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 24 Apr 2023 13:35:56 +0200 Subject: Add a PLIST_OPT_NONE value to plist_write_options_t --- include/plist/plist.h | 1 + 1 file changed, 1 insertion(+) 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. */ -- cgit v1.1-32-gdbae