X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng-sessiond-comm.h;h=8dbad391e04012cb53ae1151715744ecf8c7cc47;hb=9eb62b9cff92a9e4d1ac900dbfe59d097aef6eea;hp=be903a6ce3f9f66c909864f1cfbaf2a75743e2a7;hpb=67c5b804ac870bdc3b262c0cf6cbf117f3e6bc1e;p=lttng-ust.git diff --git a/include/lttng-sessiond-comm.h b/include/lttng-sessiond-comm.h index be903a6c..8dbad391 100644 --- a/include/lttng-sessiond-comm.h +++ b/include/lttng-sessiond-comm.h @@ -174,6 +174,26 @@ struct lttcomm_lttng_msg { char payload[]; }; +/* + * Data structure for the response from UST to the session daemon. + * cmd_type is sent back in the reply for validation. + */ +struct lttcomm_ust_msg { + uint32_t cmd_type; /* enum lttcomm_sessiond_command */ + uint32_t ret_code; /* enum enum lttcomm_return_code */ + union { + struct { + uint32_t handle; /* session handle */ + } session; + struct { + uint32_t handle; /* channel handle */ + } channel; + struct { + uint32_t handle; /* event handle */ + } event; + } u; +}; + /* * Data structures for the kconsumerd communications *