diff options
author | JuanJo Ciarlante <jjo@google.com> | 2010-02-21 18:46:59 +0100 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2011-04-24 17:22:39 +0200 |
commit | 49a945eafea2c64dbaa5cb2ecdfd4ca9a82aa26e (patch) | |
tree | eaaa859bbf4ce71ebe7186d0ccba107353b86605 /win32.h | |
parent | add some TODOs to TODO.IPv6 (diff) | |
download | openvpn-49a945eafea2c64dbaa5cb2ecdfd4ca9a82aa26e.tar.xz |
* make ipv6_payload compile under windowze
- create inet_ntop() and inet_pton() wrap-implementations using
WSAAddressToString() and WSAStringToAddress() functions
- add relevant win32-only headers to syshead.h
NOTE: syshead.h changes are already included in ipv6_transport
Diffstat (limited to '')
-rw-r--r-- | win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -269,6 +269,8 @@ char *get_win_sys_path (void); /* call self in a subprocess */ void fork_to_self (const char *cmdline); +const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); +int inet_pton(int af, const char *src, void *st); /* Find temporary directory */ const char *win_get_tempdir(); |