X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-events.hpp;fp=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-events.hpp;h=955b16cddd299c0bacb1b00929e6d7fe645c4bc1;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hp=50abad916117fa6f24f8669726b24bf7e82a58db;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notification-thread-events.hpp b/src/bin/lttng-sessiond/notification-thread-events.hpp index 50abad916..955b16cdd 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.hpp +++ b/src/bin/lttng-sessiond/notification-thread-events.hpp @@ -8,48 +8,39 @@ #ifndef NOTIFICATION_THREAD_EVENTS_H #define NOTIFICATION_THREAD_EVENTS_H -#include #include "notification-thread.hpp" +#include + /** * 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_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_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(int client_fd, + struct notification_thread_state *state); -int handle_notification_thread_client_disconnect_all( - 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_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_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_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_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_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); +int handle_notification_thread_event_notification(struct notification_thread_state *state, + int pipe, + enum lttng_domain_type domain); #endif /* NOTIFICATION_THREAD_EVENTS_H */