1968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#ifndef __ARES_INET_NTOP_H 2968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#define __ARES_INET_NTOP_H 3968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold 4968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold 5968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold/* Copyright (C) 2005 by Dominick Meglio 6968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * 7968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * Permission to use, copy, modify, and distribute this 8968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * software and its documentation for any purpose and without 9968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * fee is hereby granted, provided that the above copyright 10968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * notice appear in all copies and that both that copyright 11968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * notice and this permission notice appear in supporting 12968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * documentation, and that the name of M.I.T. not be used in 13968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * advertising or publicity pertaining to distribution of the 14968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * software without specific, written prior permission. 15968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * M.I.T. makes no representations about the suitability of 16968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * this software for any purpose. It is provided "as is" 17968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold * without express or implied warranty. 18968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold */ 19968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold 20968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#ifdef HAVE_INET_NTOP 21968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z) 22968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#else 23968bf19396ad404e89420f5d67900fce13f4186cGilad Arnoldconst char *ares_inet_ntop(int af, const void *src, char *dst, size_t size); 24968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#endif 25968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold 26968bf19396ad404e89420f5d67900fce13f4186cGilad Arnold#endif /* __ARES_INET_NTOP_H */ 27