Docs: change order of set functions in load.h to match get
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 16:25:21 +0000 (12:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 16:25:21 +0000 (12:25 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/load.h

index 9f4c7ab8ee81f3f47c5de4a96f3d9cd56d53bb9c..694c20b9292a078cbdfe1eaecc9dc3d9823b67aa 100644 (file)
@@ -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);
 
 /*
This page took 0.035375 seconds and 4 git commands to generate.