diff options
author | Lorenz Kästle <lorenz.kaestle@netways.de> | 2024-10-17 17:57:50 +0200 |
---|---|---|
committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2024-10-17 17:57:50 +0200 |
commit | ee1ba3209993b72e90f5fe30a16ad951f1e2402d (patch) | |
tree | 24b9cb0130f89892ea71562f09197d95c269048c /lib/utils_tcp.h | |
parent | 7fb58ce783285a983964d219fff18eba9b12e1e4 (diff) | |
download | monitoring-plugins-ee1ba3209993b72e90f5fe30a16ad951f1e2402d.tar.gz |
lib: clang-format
Diffstat (limited to 'lib/utils_tcp.h')
-rw-r--r-- | lib/utils_tcp.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/lib/utils_tcp.h b/lib/utils_tcp.h index 0328a9cf..6543377d 100644 --- a/lib/utils_tcp.h +++ b/lib/utils_tcp.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* Header file for utils_tcp */ | 1 | /* Header file for utils_tcp */ |
2 | 2 | ||
3 | #define NP_MATCH_ALL 0x1 | 3 | #define NP_MATCH_ALL 0x1 |
4 | #define NP_MATCH_EXACT 0x2 | 4 | #define NP_MATCH_EXACT 0x2 |
5 | #define NP_MATCH_VERBOSE 0x4 | 5 | #define NP_MATCH_VERBOSE 0x4 |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * The NP_MATCH_RETRY state indicates that matching might succeed if | 8 | * The NP_MATCH_RETRY state indicates that matching might succeed if |
@@ -10,13 +10,6 @@ | |||
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 | */ |
13 | enum np_match_result { | 13 | enum np_match_result { NP_MATCH_FAILURE, NP_MATCH_SUCCESS, NP_MATCH_RETRY }; |
14 | NP_MATCH_FAILURE, | ||
15 | NP_MATCH_SUCCESS, | ||
16 | NP_MATCH_RETRY | ||
17 | }; | ||
18 | 14 | ||
19 | enum np_match_result np_expect_match(char *status, | 15 | enum np_match_result np_expect_match(char *status, char **server_expect, int server_expect_count, int flags); |
20 | char **server_expect, | ||
21 | int server_expect_count, | ||
22 | int flags); | ||