common: move utils_create_lock_file to its own file
[lttng-tools.git] / src / common / endpoint.cpp
CommitLineData
a58c490f 1/*
ab5be9fa 2 * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
a58c490f 3 *
ab5be9fa 4 * SPDX-License-Identifier: LGPL-2.1-only
a58c490f 5 *
a58c490f
JG
6 */
7
c9e313bc 8#include <lttng/endpoint-internal.hpp>
a58c490f 9
28ab034a 10static struct lttng_endpoint lttng_session_daemon_notification_endpoint_instance = {
b99a0cb3
JG
11 .type = LTTNG_ENDPOINT_TYPE_DEFAULT_SESSIOND_NOTIFICATION,
12};
13
28ab034a 14static struct lttng_endpoint lttng_session_daemon_command_endpoint_instance = {
b99a0cb3 15 .type = LTTNG_ENDPOINT_TYPE_DEFAULT_SESSIOND_COMMAND,
a58c490f
JG
16};
17
18struct lttng_endpoint *lttng_session_daemon_notification_endpoint =
28ab034a 19 &lttng_session_daemon_notification_endpoint_instance;
b99a0cb3
JG
20
21struct lttng_endpoint *lttng_session_daemon_command_endpoint =
28ab034a 22 &lttng_session_daemon_command_endpoint_instance;
This page took 0.091956 seconds and 4 git commands to generate.