#include <bin/lttng-sessiond/session.h>
#include <common/common.h>
-#include <bin/lttng-relayd/lttng-viewer.h>
-#include <common/index/lttng-index.h>
+#include <bin/lttng-relayd/lttng-viewer-abi.h>
+#include <common/index/ctf-index.h>
#define SESSION1 "test1"
#define RELAYD_URL "net://localhost"
cmd.data_size = sizeof(connect);
cmd.cmd_version = 0;
+ memset(&connect, 0, sizeof(connect));
connect.major = htobe32(VERSION_MAJOR);
connect.minor = htobe32(VERSION_MINOR);
connect.type = htobe32(VIEWER_CLIENT_COMMAND);
cmd.data_size = sizeof(rq);
cmd.cmd_version = 0;
+ memset(&rq, 0, sizeof(rq));
rq.session_id = htobe64(id);
rq.seek = htobe32(VIEWER_SEEK_BEGINNING);