#include <common/uri.h>
#include <common/utils.h>
#include <lttng/lttng.h>
+#include <lttng/health-internal.h>
#include "filter/filter-ast.h"
#include "filter/filter-parser.h"
int lttng_health_check(enum lttng_health_component c)
{
int sock, ret;
- struct lttcomm_health_msg msg;
- struct lttcomm_health_data reply;
+ struct health_comm_msg msg;
+ struct health_comm_reply reply;
/* Connect to the sesssion daemon */
sock = lttcomm_connect_unix_sock(health_sock_path);
goto error;
}
- msg.cmd = LTTNG_HEALTH_CHECK;
+ msg.cmd = HEALTH_CMD_CHECK;
msg.component = c;
ret = lttcomm_send_unix_sock(sock, (void *)&msg, sizeof(msg));