X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Fust-ctl.h;h=8f8bebc99590e74c7994ba8a57f8904493f83ecf;hb=b3c750d2ffae77322752a5b4f43bd4ddae3dfea6;hp=1b3bdcaa417c37849178c0868bbc648a60738bed;hpb=b088a5811cd4bd654b6f04a4bff6387965b1e15a;p=lttng-tools.git diff --git a/ltt-sessiond/ust-ctl.h b/ltt-sessiond/ust-ctl.h index 1b3bdcaa4..8f8bebc99 100644 --- a/ltt-sessiond/ust-ctl.h +++ b/ltt-sessiond/ust-ctl.h @@ -3,8 +3,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -19,15 +19,10 @@ #ifndef _LTT_UST_CTL_H #define _LTT_UST_CTL_H -#include "session.h" -#include "trace.h" +#include "trace-ust.h" -/* -int get_trace_count_per_session(struct ltt_session *session); -void get_traces_per_session(struct ltt_session *session, struct lttng_trace *traces); -int ust_create_trace(struct command_ctx *cmd_ctx); -int ust_start_trace(struct command_ctx *cmd_ctx); -int ust_stop_trace(struct command_ctx *cmd_ctx); -*/ +int ustctl_register_done(int sock); +int ustctl_create_session(struct ltt_ust_session *session); +int ustctl_destroy_session(struct ltt_ust_session *session); -#endif /* _LTT_TRACE_H */ +#endif /* _LTT_UST_CTL_H */