X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fsession-config.h;h=cb006f18e6824b6406c3469b246330a06ff03039;hb=0d4bab5e4bd1654515ce754a3d9699cafe9b41b2;hp=939cb6cbf0ff1cd4e76e2c819ffc2e178e241bbd;hpb=83f4233dde73280d45fcfb799add96cce32098ce;p=lttng-tools.git diff --git a/src/common/config/session-config.h b/src/common/config/session-config.h index 939cb6cbf..cb006f18e 100644 --- a/src/common/config/session-config.h +++ b/src/common/config/session-config.h @@ -30,6 +30,12 @@ struct config_entry { const char *value; }; +struct config_load_session_override_attr { + char *path_url; + char *ctrl_url; + char *data_url; +}; + /* Instance of a configuration writer. */ struct config_writer; @@ -215,7 +221,7 @@ int config_writer_write_element_string(struct config_writer *writer, * session_name Name of the session to load. Will load all * sessions from path if NULL. * - * override Override current session configuration if it exists. + * overwrite Overwrite current session configuration if it exists. * autoload Tell to load the auto session(s). * * Returns zero if the session could be loaded successfully. Returns @@ -223,6 +229,6 @@ int config_writer_write_element_string(struct config_writer *writer, */ LTTNG_HIDDEN int config_load_session(const char *path, const char *session_name, - int override, unsigned int autoload); + int overwrite, unsigned int autoload); #endif /* _CONFIG_H */