diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-18 12:48:20 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-18 12:48:20 +0200 |
commit | 9d802a7b5617b4f4921ca3ec73bd3e46085297aa (patch) | |
tree | 7632c855c0708eeff948a0f09617d601f2dd3154 /src/mds-server/mds-server.h | |
parent | reduce code complexity (diff) | |
download | mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.gz mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.bz2 mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.xz |
reduce code complexity
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/mds-server.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mds-server/mds-server.h b/src/mds-server/mds-server.h index 9abf095..3936e32 100644 --- a/src/mds-server/mds-server.h +++ b/src/mds-server/mds-server.h @@ -18,14 +18,12 @@ #ifndef MDS_MDS_SERVER_H #define MDS_MDS_SERVER_H - #include "client.h" #include "multicast.h" #include <stddef.h> - /** * Master function for slave threads * @@ -58,17 +56,6 @@ void send_reply_queue(client_t* client); int message_received(client_t* client); /** - * Add an interception condition for a client - * - * @param client The client - * @param condition The header, optionally with value, to look for, or empty (not `NULL`) for all messages - * @param priority Interception priority - * @param modifying Whether the client may modify the messages - * @param stop Whether the condition should be removed rather than added - */ -void add_intercept_condition(client_t* client, char* condition, int64_t priority, int modifying, int stop); - -/** * Queue a message for multicasting * * @param message The message @@ -86,13 +73,6 @@ void queue_message_multicast(char* message, size_t length, client_t* sender); int fetch_message(client_t* client); /** - * Multicast a message - * - * @param multicast The multicast message - */ -void multicast_message(multicast_t* multicast); - -/** * Exec into the mdsinitrc script * * @param args The arguments to the child process @@ -100,29 +80,6 @@ void multicast_message(multicast_t* multicast); void run_initrc(char** args); /** - * Called with the signal SIGUSR1 is caught. - * This function should cue a re-exec of the program. - * - * @param signo The caught signal - */ -void sigusr1_trap(int signo); - -/** - * Called with the signal SIGTERM is caught. - * This function should cue a termination of the program. - * - * @param signo The caught signal - */ -void sigterm_trap(int signo); - -/** - * Send a singal to all threads except the current thread - * - * @param signo The signal - */ -void signal_all(int signo); - -/** * Marshal the server's state into a file * * @param fd The file descriptor |