diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-02-29 22:12:18 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-03-24 00:14:14 +0100 |
commit | 72c7b12cb65cee69ea129cc520b26dcc64977a17 (patch) | |
tree | c4beb1f468f487234ebebbab8febf0d7ca7eac6f /src/openvpn/misc.h | |
parent | f106f64b1cc228b3b937ed15a1a45bc28edefed9 (diff) | |
download | openvpn-72c7b12cb65cee69ea129cc520b26dcc64977a17.tar.gz openvpn-72c7b12cb65cee69ea129cc520b26dcc64977a17.tar.xz openvpn-72c7b12cb65cee69ea129cc520b26dcc64977a17.zip |
cleanup: move console related function into its own module
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/misc.h')
-rw-r--r-- | src/openvpn/misc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openvpn/misc.h b/src/openvpn/misc.h index 9bb2fa2..12a8f71 100644 --- a/src/openvpn/misc.h +++ b/src/openvpn/misc.h @@ -128,6 +128,7 @@ bool system_executed (int stat); const char *system_error_message (int, struct gc_arena *gc); /* wrapper around the execve() call */ +int openvpn_popen (const struct argv *a, const struct env_set *es); int openvpn_execve (const struct argv *a, const struct env_set *es, const unsigned int flags); bool openvpn_execve_check (const struct argv *a, const struct env_set *es, const unsigned int flags, const char *error_message); bool openvpn_execve_allowed (const unsigned int flags); @@ -322,8 +323,6 @@ struct auth_challenge_info {}; struct static_challenge_info {}; #endif -bool get_console_input (const char *prompt, const bool echo, char *input, const int capacity); - /* * Flags for get_user_pass and management_query_user_pass */ |