aboutsummaryrefslogtreecommitdiff
path: root/lib/utils_tcp.h
diff options
context:
space:
mode:
authorGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-06-03 14:40:13 +0000
committerGravatar Matthias Eble <psychotrahe@users.sourceforge.net> 2007-06-03 14:40:13 +0000
commitd059eeb2948f9d24d801f930e99e81fdf96d5c37 (patch)
tree472b15ce9785983d6e1389d5b16577c96c7a402f /lib/utils_tcp.h
parent0a73efe7cad3c3bfd423b65be3a3b9d3049be545 (diff)
downloadmonitoring-plugins-d059eeb2948f9d24d801f930e99e81fdf96d5c37.tar.gz
Moved check_tcp's expect string testing into utils_tcp for testing purposes.
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
Diffstat (limited to 'lib/utils_tcp.h')
-rw-r--r--lib/utils_tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils_tcp.h b/lib/utils_tcp.h
new file mode 100644
index 00000000..06506f32
--- /dev/null
+++ b/lib/utils_tcp.h
@@ -0,0 +1,4 @@
+/* Header file for utils_disk */
+
+int np_expect_match(char* status, char** server_expect, int server_expect_count,
+ int all, int exact_match, int verbose);