X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fconfig.h;h=2fed612a1cfbd5783891ec16e99808dc386e3645;hb=e8fa9fb0539ec3d734f6d0ab91220b4538b2ea30;hp=9a5671ab0c138cb9d7d76d95225f1af524810696;hpb=ab38c13fcac04787654a446443d562770af9d602;p=lttng-tools.git 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.