diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-29 16:33:36 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-29 16:33:36 +0000 |
commit | f5c1cf6dd406be0b795f7388617d5469c6a358be (patch) | |
tree | 841b908d652b621846457a1e46f12c397a315286 /plugins/utils.h | |
parent | a0f387467691292fe62c66e56fbc8476c7ecbb2d (diff) | |
download | monitoring-plugins-f5c1cf6dd406be0b795f7388617d5469c6a358be.tar.gz |
New function to for escaped strings from command line for send/quit.
Adapted from Sebastian Wiesinger's patch (1292404)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1365 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 2345ed56..4bbe33d0 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -132,6 +132,8 @@ char *fperfdata (const char *, | |||
132 | int, | 132 | int, |
133 | double); | 133 | double); |
134 | 134 | ||
135 | char *np_escaped_string (const char *); | ||
136 | |||
135 | /* The idea here is that, although not every plugin will use all of these, | 137 | /* The idea here is that, although not every plugin will use all of these, |
136 | most will or should. Therefore, for consistency, these very common | 138 | most will or should. Therefore, for consistency, these very common |
137 | options should have only these meanings throughout the overall suite */ | 139 | options should have only these meanings throughout the overall suite */ |