diff options
Diffstat (limited to 'src/mds-server')
-rw-r--r-- | src/mds-server/client.h | 4 | ||||
-rw-r--r-- | src/mds-server/globals.h | 1 | ||||
-rw-r--r-- | src/mds-server/interception-condition.h | 4 | ||||
-rw-r--r-- | src/mds-server/interceptors.h | 2 | ||||
-rw-r--r-- | src/mds-server/multicast.h | 4 | ||||
-rw-r--r-- | src/mds-server/queued-interception.h | 4 |
6 files changed, 5 insertions, 14 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h index 91ab0c2..b003d31 100644 --- a/src/mds-server/client.h +++ b/src/mds-server/client.h @@ -36,8 +36,7 @@ /** * Client information structure */ -typedef struct client -{ +typedef struct client { /** * The client's entry in the list of clients */ @@ -134,7 +133,6 @@ typedef struct client * Whether `modify_cond` has been initialised */ int modify_cond_created; - } client_t; diff --git a/src/mds-server/globals.h b/src/mds-server/globals.h index 94a3651..8083717 100644 --- a/src/mds-server/globals.h +++ b/src/mds-server/globals.h @@ -93,4 +93,3 @@ extern hash_table_t modify_map; #endif - diff --git a/src/mds-server/interception-condition.h b/src/mds-server/interception-condition.h index 1ca3823..78383f4 100644 --- a/src/mds-server/interception-condition.h +++ b/src/mds-server/interception-condition.h @@ -28,8 +28,7 @@ /** * A condition for a message being intercepted by a client */ -typedef struct interception_condition -{ +typedef struct interception_condition { /** * The header of messages to intercept, optionally with a value, * empty (most not be NULL) for all messages. @@ -52,7 +51,6 @@ typedef struct interception_condition * Whether the messages may get modified by the client */ int modifying; - } interception_condition_t; diff --git a/src/mds-server/interceptors.h b/src/mds-server/interceptors.h index 99cd0a3..21f74d4 100644 --- a/src/mds-server/interceptors.h +++ b/src/mds-server/interceptors.h @@ -52,7 +52,7 @@ void add_intercept_condition(client_t *client, char *condition, int64_t priority */ __attribute__((pure, nonnull(1))) int is_condition_matching(interception_condition_t *cond, size_t *hashes, - char **keys, char **headers, size_t count); + char **keys, char **headers, size_t count); /** diff --git a/src/mds-server/multicast.h b/src/mds-server/multicast.h index 611298f..126c4ba 100644 --- a/src/mds-server/multicast.h +++ b/src/mds-server/multicast.h @@ -27,8 +27,7 @@ /** * Message multicast state */ -typedef struct multicast -{ +typedef struct multicast { /** * Queue of clients that is listening this message */ @@ -63,7 +62,6 @@ typedef struct multicast * How much of the message to skip if the recipient is not a modifier */ size_t message_prefix; - } multicast_t; diff --git a/src/mds-server/queued-interception.h b/src/mds-server/queued-interception.h index 2a072bc..1555801 100644 --- a/src/mds-server/queued-interception.h +++ b/src/mds-server/queued-interception.h @@ -29,8 +29,7 @@ /** * A queued interception */ -typedef struct queued_interception -{ +typedef struct queued_interception { /** * The intercepting client */ @@ -50,7 +49,6 @@ typedef struct queued_interception * The file descriptor of the intercepting client's socket (used for unmarshalling) */ int socket_fd; - } queued_interception_t; |