diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-27 13:25:10 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-27 13:25:10 +0000 |
commit | 34cb16d283298885b73f75146433a703e93c0d4f (patch) | |
tree | c1e7b1b0ff0ad3e59e4921dd5e65d4527cd23d3f /plugins/utils.h | |
parent | 37ebbab7fbd251c4c357459ff738847f5a5a4883 (diff) | |
download | monitoring-plugins-34cb16d283298885b73f75146433a703e93c0d4f.tar.gz |
Internal version of basename if one not found in system
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1383 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index 4bbe33d0..ed6243df 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -80,6 +80,9 @@ void set_thresholds(thresholds **, char *, char *); int check_range(double, range *); int get_status(double, thresholds *); +/* I think this needs to be defined even if you use the system version */ +char *basename(const char *path); + #ifndef HAVE_GETTIMEOFDAY int gettimeofday(struct timeval *, struct timezone *); #endif |