Clean-up: sessiond kernel: change spaces to tabs
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-events.h
CommitLineData
ab0ee2ca 1/*
ab5be9fa 2 * Copyright (C) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
ab0ee2ca 3 *
ab5be9fa 4 * SPDX-License-Identifier: GPL-2.0-only
ab0ee2ca 5 *
ab0ee2ca
JG
6 */
7
8#ifndef NOTIFICATION_THREAD_EVENTS_H
9#define NOTIFICATION_THREAD_EVENTS_H
10
11#include <lttng/domain.h>
12#include "notification-thread.h"
13
14/**
15 * Event handling function shall only return an error if
16 * the thread should be stopped.
17 */
18int handle_notification_thread_command(
19 struct notification_thread_handle *handle,
20 struct notification_thread_state *state);
21
22int handle_notification_thread_client_connect(
23 struct notification_thread_state *state);
24
25int handle_notification_thread_client_disconnect(
26 int client_fd,
27 struct notification_thread_state *state);
28
29int handle_notification_thread_client_disconnect_all(
30 struct notification_thread_state *state);
31
32int handle_notification_thread_trigger_unregister_all(
33 struct notification_thread_state *state);
34
35int handle_notification_thread_client_in(
36 struct notification_thread_state *state,
37 int socket);
38
39int handle_notification_thread_client_out(
40 struct notification_thread_state *state,
41 int socket);
42
43int handle_notification_thread_channel_sample(
44 struct notification_thread_state *state, int pipe,
45 enum lttng_domain_type domain);
46
47#endif /* NOTIFICATION_THREAD_EVENTS_H */
This page took 0.045027 seconds and 5 git commands to generate.