summaryrefslogtreecommitdiffstats
path: root/misc.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 23:49:50 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 23:49:50 +0000
commitd1dcc3e706c5e7de69e79e70a3c431ca4ce27881 (patch)
tree474fbb8f0eeccf306581f0d07bea55c5cf42c6bc /misc.h
parentcc1d3998d2edee5d69c07d5e0a750d7e47f5564d (diff)
downloadopenvpn-d1dcc3e706c5e7de69e79e70a3c431ca4ce27881.tar.gz
openvpn-d1dcc3e706c5e7de69e79e70a3c431ca4ce27881.tar.xz
openvpn-d1dcc3e706c5e7de69e79e70a3c431ca4ce27881.zip
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
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h3
1 files changed, 3 insertions, 0 deletions
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);