diff options
Diffstat (limited to 'src/libstrongswan/utils/windows.h')
-rw-r--r-- | src/libstrongswan/utils/windows.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/windows.h b/src/libstrongswan/utils/windows.h index 235586c53..c93f3fd7d 100644 --- a/src/libstrongswan/utils/windows.h +++ b/src/libstrongswan/utils/windows.h @@ -255,6 +255,12 @@ int dlclose(void *handle); int socketpair(int domain, int type, int protocol, int sv[2]); /** + * getpass(3) on Windows consoles + */ +char* getpass(const char *prompt); +#define HAVE_GETPASS + +/** * Map MSG_DONTWAIT to the reserved, but deprecated MSG_INTERRUPT */ #define MSG_DONTWAIT MSG_INTERRUPT |