X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fconfig.h;h=2fed612a1cfbd5783891ec16e99808dc386e3645;hp=9a5671ab0c138cb9d7d76d95225f1af524810696;hb=705bb62fac2a79ed3e04232cc831645c852cc1a2;hpb=b06d6a6f7c9aee604011ea52f084719501aaf6aa diff --git a/src/common/config/config.h b/src/common/config/config.h index 9a5671ab0..2fed612a1 100644 --- a/src/common/config/config.h +++ b/src/common/config/config.h @@ -81,11 +81,14 @@ int config_parse_value(const char *value); * fd_output File to which the XML content must be written. The file will be * closed once the config_writer has been destroyed. * + * indent If other than 0 the XML will be pretty printed + * with indentation and newline. + * * Returns an instance of a configuration writer on success, NULL on * error. */ LTTNG_HIDDEN -struct config_writer *config_writer_create(int fd_output); +struct config_writer *config_writer_create(int fd_output, int indent); /* * Destroy an instance of a configuration writer.