aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/misc.h
diff options
context:
space:
mode:
authorSteffan Karger2017-07-20 18:00:35 +0200
committerGert Doering2017-07-20 20:19:49 +0200
commit45b2af9c7719d9a40c6c2b9d0693e4db0d917a04 (patch)
treedc6c8a9d3fb3267a22bb11fbb12c3aa08886f524 /src/openvpn/misc.h
parentfd2a29ab2668fea9c0ac972d5ec69f00232c88b6 (diff)
downloadopenvpn-45b2af9c7719d9a40c6c2b9d0693e4db0d917a04.zip
openvpn-45b2af9c7719d9a40c6c2b9d0693e4db0d917a04.tar.gz
Move openvpn_sleep() to manage.c
openvpn_sleep() is basically "service the management interface for x seconds, then return". Therefore, manage.c is a more suitable location than the random collection of unrelated stuff called misc.c. (I think we should find a better place for everything currently in misc.c, and get rid of it all together. This patch is part of that effort.) Signed-off-by: Steffan Karger <steffan.karger@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1500566435-29920-1-git-send-email-steffan.karger@fox-it.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15109.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/misc.h')
-rw-r--r--src/openvpn/misc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openvpn/misc.h b/src/openvpn/misc.h
index bc267d7..32b64e8 100644
--- a/src/openvpn/misc.h
+++ b/src/openvpn/misc.h
@@ -292,12 +292,6 @@ bool env_safe_to_print(const char *str);
/* returns true if environmental variable may be passed to an external program */
bool env_allowed(const char *str);
-/*
- * A sleep function that services the management layer for n
- * seconds rather than doing nothing.
- */
-void openvpn_sleep(const int n);
-
void configure_path(void);
const char *sanitize_control_message(const char *str, struct gc_arena *gc);