Update THANKS file
[monitoring-plugins.git] / lib / utils_tcp.h
blob0328a9cf0101f0766cfe7cad4034e6703c277060
1 /* Header file for utils_tcp */
3 #define NP_MATCH_ALL 0x1
4 #define NP_MATCH_EXACT 0x2
5 #define NP_MATCH_VERBOSE 0x4
7 /*
8 * The NP_MATCH_RETRY state indicates that matching might succeed if
9 * np_expect_match() is called with a longer input string. This allows the
10 * caller to decide whether it makes sense to wait for additional data from the
11 * server.
13 enum np_match_result {
14 NP_MATCH_FAILURE,
15 NP_MATCH_SUCCESS,
16 NP_MATCH_RETRY
19 enum np_match_result np_expect_match(char *status,
20 char **server_expect,
21 int server_expect_count,
22 int flags);