X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=6077047642fe628530a1b7803f40b69dcb9be3f0;hp=e21b479777b0760d028876218cd12e63decb992f;hb=785d2d0dc3aec3a4e44fcf677155dd07e8e4cc1f;hpb=ffe600149a7608221985751e1bf293234bf2545c diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index e21b47977..607704764 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -590,12 +590,14 @@ extern int lttng_set_consumer_url(struct lttng_handle *handle, /* * Enable the consumer for a session and domain. */ -extern int lttng_enable_consumer(struct lttng_handle *handle); +extern LTTNG_DEPRECATED("This call is now obselete.") +int lttng_enable_consumer(struct lttng_handle *handle); /* * Disable consumer for a session and domain. */ -extern int lttng_disable_consumer(struct lttng_handle *handle); +extern LTTNG_DEPRECATED("This call is now obselete.") +int lttng_disable_consumer(struct lttng_handle *handle); /* * Check session daemon health for a specific component.