ares.h: there is no ares_free_soa function
[platform/upstream/c-ares.git] / ares_inet_net_pton.h
1 #ifndef HEADER_CARES_INET_NET_PTON_H
2 #define HEADER_CARES_INET_NET_PTON_H
3
4 /* Copyright (C) 2005-2013 by Daniel Stenberg et al
5  *
6  * Permission to use, copy, modify, and distribute this
7  * software and its documentation for any purpose and without
8  * fee is hereby granted, provided that the above copyright
9  * notice appear in all copies and that both that copyright
10  * notice and this permission notice appear in supporting
11  * documentation, and that the name of M.I.T. not be used in
12  * advertising or publicity pertaining to distribution of the
13  * software without specific, written prior permission.
14  * M.I.T. makes no representations about the suitability of
15  * this software for any purpose.  It is provided "as is"
16  * without express or implied warranty.
17  */
18
19 #ifdef HAVE_INET_NET_PTON
20 #define ares_inet_net_pton(w,x,y,z) inet_net_pton(w,x,y,z)
21 #else
22 int ares_inet_net_pton(int af, const char *src, void *dst, size_t size);
23 #endif
24
25 #endif /* HEADER_CARES_INET_NET_PTON_H */