From d5d2ef2bb32a27bf45f76c9abd0ffbb764f4cf27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 7 Oct 2016 12:25:21 -0400 Subject: [PATCH] Docs: change order of set functions in load.h to match get MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/load.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/lttng/load.h b/include/lttng/load.h index 9f4c7ab8e..694c20b92 100644 --- a/include/lttng/load.h +++ b/include/lttng/load.h @@ -138,20 +138,21 @@ int lttng_load_session_attr_set_overwrite( * */ /* - * Set the control url override attribute. + * Set the url override attribute. * * Supported format: - * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] + * file://TRACEPATH + * NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH] * * Where NETPROTO is one of {tcp, tcp6} * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_ctrl_url( +int lttng_load_session_attr_set_override_url( struct lttng_load_session_attr *attr, const char *url); /* - * Set the data url override attribute. + * Set the control url override attribute. * * Supported format: * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] @@ -160,21 +161,20 @@ int lttng_load_session_attr_set_override_ctrl_url( * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_data_url( +int lttng_load_session_attr_set_override_ctrl_url( struct lttng_load_session_attr *attr, const char *url); /* - * Set the url override attribute. + * Set the data url override attribute. * * Supported format: - * file://TRACEPATH - * NETPROTO://(HOST | IPADDR)[:CTRLPORT[:DATAPORT]][/TRACEPATH] + * NETPROTO://(HOST | IPADDR)[:PORT][/TRACEPATH] * * Where NETPROTO is one of {tcp, tcp6} * * See lttng-create(1) for more detail. */ -int lttng_load_session_attr_set_override_url( +int lttng_load_session_attr_set_override_data_url( struct lttng_load_session_attr *attr, const char *url); /* -- 2.34.1