X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-events.h;fp=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-events.h;h=0000000000000000000000000000000000000000;hp=265719181638a64cfe6f4d8727adea65486c3d10;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/src/bin/lttng-sessiond/notification-thread-events.h b/src/bin/lttng-sessiond/notification-thread-events.h deleted file mode 100644 index 265719181..000000000 --- a/src/bin/lttng-sessiond/notification-thread-events.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2017 Jérémie Galarneau - * - * SPDX-License-Identifier: GPL-2.0-only - * - */ - -#ifndef NOTIFICATION_THREAD_EVENTS_H -#define NOTIFICATION_THREAD_EVENTS_H - -#include -#include "notification-thread.h" - -/** - * Event handling function shall only return an error if - * the thread should be stopped. - */ -int handle_notification_thread_command( - struct notification_thread_handle *handle, - struct notification_thread_state *state); - -int handle_notification_thread_client_connect( - struct notification_thread_state *state); - -int handle_notification_thread_client_disconnect( - int client_fd, - struct notification_thread_state *state); - -int handle_notification_thread_client_disconnect_all( - struct notification_thread_state *state); - -int handle_notification_thread_trigger_unregister_all( - struct notification_thread_state *state); - -int handle_notification_thread_tracer_event_source_died( - struct notification_thread_state *state, - int tracer_event_source_fd); - -int handle_notification_thread_client_in( - struct notification_thread_state *state, - int socket); - -int handle_notification_thread_client_out( - struct notification_thread_state *state, - int socket); - -int handle_notification_thread_channel_sample( - struct notification_thread_state *state, int pipe, - enum lttng_domain_type domain); - -int handle_notification_thread_event_notification( - struct notification_thread_state *state, int pipe, - enum lttng_domain_type domain); - -#endif /* NOTIFICATION_THREAD_EVENTS_H */