struct relay_session *session;
struct lttcomm_relayd_status_session reply;
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer = 0;
bool snapshot = false;
memset(session_name, 0, LTTNG_NAME_MAX);
- memset(hostname, 0, HOST_NAME_MAX);
+ memset(hostname, 0, LTTNG_HOST_NAME_MAX);
memset(&reply, 0, sizeof(reply));
*/
uint64_t id;
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer;
/* Session in snapshot mode. */
*/
struct lttcomm_relayd_create_session_2_4 {
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer;
uint32_t snapshot;
} LTTNG_PACKED;