X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fliblttngctl.h;h=b729f2b5b0c29f520fb5f4f7e3aa6ba047f45d1f;hp=3c084de323fba6481a9356b3ceae3e0a3525486a;hb=8028d92056a3f0f8999cb895d0fd21eeca0ce849;hpb=1fd70b72ff7f1c98e4629392236d76ca9083295f diff --git a/include/lttng/liblttngctl.h b/include/lttng/liblttngctl.h index 3c084de32..b729f2b5b 100644 --- a/include/lttng/liblttngctl.h +++ b/include/lttng/liblttngctl.h @@ -20,6 +20,7 @@ #define _LIBLTTNGCTL_H #include +#include /* Default unix group name for tracing. */ @@ -41,7 +42,8 @@ struct lttng_session { char uuid[UUID_STR_LEN]; }; -extern int lttng_create_session(char *name, char **session_id); +extern int lttng_create_session(char *name, uuid_t *session_id); +extern int lttng_destroy_session(uuid_t *uuid); extern int lttng_connect_sessiond(void); extern int lttng_set_tracing_group(const char *name); extern int lttng_check_session_daemon(void);