aboutsummaryrefslogtreecommitdiff
path: root/win32.h
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2010-02-21 18:46:59 +0100
committerGert Doering <gert@greenie.muc.de>2011-04-24 17:22:39 +0200
commit49a945eafea2c64dbaa5cb2ecdfd4ca9a82aa26e (patch)
treeeaaa859bbf4ce71ebe7186d0ccba107353b86605 /win32.h
parentadd some TODOs to TODO.IPv6 (diff)
downloadopenvpn-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32.h b/win32.h
index b6a162e..829933f 100644
--- a/win32.h
+++ b/win32.h
@@ -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();