libplist  2.7.0
API Documentation - Return to Homepage

◆ plist_write_options_t

libplist write options

Enumerator
PLIST_OPT_NONE 

Default value to use when none of the options is needed.

PLIST_OPT_COMPACT 

Use a compact representation (non-prettified).

Only valid for PLIST_FORMAT_JSON and PLIST_FORMAT_OSTEP.

PLIST_OPT_PARTIAL_DATA 

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 

Do not print a final newline character.

Only valid for PLIST_FORMAT_PRINT, PLIST_FORMAT_LIMD, and PLIST_FORMAT_PLUTIL.

PLIST_OPT_INDENT 

Indent each line of output.

Currently only PLIST_FORMAT_PRINT and PLIST_FORMAT_LIMD are supported. Use PLIST_OPT_INDENT_BY() macro to specify the level of indentation.