summaryrefslogtreecommitdiffstats
path: root/lib/utils_tcp.h
AgeCommit message (Collapse)AuthorFilesLines
2024-10-31lib: clang-format for headers toorefs/pull/2034/headRincewindsHat1-1/+5
2024-10-17lib: clang-formatLorenz Kästle1-12/+5
2013-09-12check_tcp: Properly deal will partial recv(3)sHolger Weiss1-2/+16
The np_expect_match() function now returns one of three possible states instead of just TRUE or FALSE: - NP_MATCH_SUCCESS - NP_MATCH_FAILURE - NP_MATCH_RETRY The NP_MATCH_RETRY state indicates that matching might succeed if np_expect_match() is called with a longer input string. This allows check_tcp to decide whether it makes sense to wait for additional data from the server.
2013-09-12Improve interface of np_expect_match() functionHolger Weiss1-1/+5
Replace the three boolean parameters of lib/utils_tcp.c's np_expect_match() function with a single "flags" parameter.
2007-11-09Nothing to see here...Thomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1816 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-03Moved check_tcp's expect string testing into utils_tcp for testing purposes.Matthias Eble1-0/+4
Added -A/--all flag to test for every expect string passed. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1729 f882894a-f735-0410-b71e-b25c423dba1c