Fix: lttng: poptGetArg doesn't provide string ownership
[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
JG
9
10static
11struct lttng_endpoint lttng_session_daemon_notification_endpoint_instance = {
b99a0cb3
JG
12 .type = LTTNG_ENDPOINT_TYPE_DEFAULT_SESSIOND_NOTIFICATION,
13};
14
15static
16struct lttng_endpoint lttng_session_daemon_command_endpoint_instance = {
17 .type = LTTNG_ENDPOINT_TYPE_DEFAULT_SESSIOND_COMMAND,
a58c490f
JG
18};
19
20struct lttng_endpoint *lttng_session_daemon_notification_endpoint =
21 &lttng_session_daemon_notification_endpoint_instance;
b99a0cb3
JG
22
23struct lttng_endpoint *lttng_session_daemon_command_endpoint =
24 &lttng_session_daemon_command_endpoint_instance;
This page took 0.049809 seconds and 4 git commands to generate.