X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ltt-sessiond%2Fltt-sessiond.h;h=7133d061fee9d03d064dd206e7017969141284d1;hb=5461b305aef403f7f2e48c977c188b5526746c6e;hp=ab82bf8c579ed4a3621d4686975a353e9b4d87ed;hpb=9bda164defe0c7ef5857d4ef59cc3b464f5a5404;p=lttng-tools.git diff --git a/ltt-sessiond/ltt-sessiond.h b/ltt-sessiond/ltt-sessiond.h index ab82bf8c5..7133d061f 100644 --- a/ltt-sessiond/ltt-sessiond.h +++ b/ltt-sessiond/ltt-sessiond.h @@ -27,4 +27,16 @@ extern const char default_home_dir[], default_ust_sock_dir[], default_global_apps_pipe[]; +/* + * This contains extra data needed for processing a command received by the + * session daemon from the lttng client. + */ +struct command_ctx { + int ust_sock; + unsigned int lttng_msg_size; + struct ltt_session *session; + struct lttcomm_lttng_msg *llm; + struct lttcomm_session_msg *lsm; +}; + #endif /* _LTT_SESSIOND_H */