From d1dcc3e706c5e7de69e79e70a3c431ca4ce27881 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 18 Jul 2008 23:49:50 +0000 Subject: Added a warning when plugins are specified without an absolute pathname. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3082 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index ffc7e24..5343c02 100644 --- a/misc.h +++ b/misc.h @@ -217,6 +217,9 @@ const char *gen_path (const char *directory, const char *filename, struct gc_are /* delete a file, return true if succeeded */ bool delete_file (const char *filename); +/* return true if pathname is absolute */ +bool absolute_pathname (const char *pathname); + /* return the next largest power of 2 */ unsigned int adjust_power_of_2 (unsigned int u); -- cgit