summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 01:31:59 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 01:31:59 +0100
commit7d90b8200f709d125df19fa6aedf633c64b88ad4 (patch)
tree65ea7f10872a5be10e32b6ebf4ed1039977bbc8e /lib
parent880e57271d66b34240b58bdbeaf9d53a08958eb2 (diff)
downloadmonitoring-plugins-7d90b8200f709d125df19fa6aedf633c64b88ad4.tar.gz
lib: clang-format for headers too
Diffstat (limited to 'lib')
-rw-r--r--lib/utils_tcp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/utils_tcp.h b/lib/utils_tcp.h
index 6543377d..d5999e9b 100644
--- a/lib/utils_tcp.h
+++ b/lib/utils_tcp.h
@@ -10,6 +10,10 @@
10 * caller to decide whether it makes sense to wait for additional data from the 10 * caller to decide whether it makes sense to wait for additional data from the
11 * server. 11 * server.
12 */ 12 */
13enum np_match_result { NP_MATCH_FAILURE, NP_MATCH_SUCCESS, NP_MATCH_RETRY }; 13enum np_match_result {
14 NP_MATCH_FAILURE,
15 NP_MATCH_SUCCESS,
16 NP_MATCH_RETRY
17};
14 18
15enum np_match_result np_expect_match(char *status, char **server_expect, int server_expect_count, int flags); 19enum np_match_result np_expect_match(char *status, char **server_expect, int server_expect_count, int flags);