libUPnP  1.6.17
inet_pton.h
00001 #ifndef INET_PTON
00002 #define INET_PTON
00003 
00004 #ifdef WIN32
00005 
00006 #ifdef IPV6_
00007 #define INET_IPV6
00008 #endif
00009 
00010 #include "unixutil.h"
00011 
00012 #include <errno.h>
00013 #include <stdio.h>
00014 #include <string.h>
00015 
00034 extern const char *inet_ntop(int af, const void *src, char *dst,
00035                              socklen_t size);
00036 
00046 extern int inet_pton(int af, const char *src, void *dst);
00047 
00048 #endif /* WIN32 */
00049 
00050 #endif /* INET_PTON */