Added preliminary IPv6 support to ares_gethostbyname
[platform/upstream/c-ares.git] / bitncmp.h
1 /* $Id$ */
2
3 /*
4  * Permission to use, copy, modify, and distribute this
5  * software and its documentation for any purpose and without
6  * fee is hereby granted, provided that the above copyright
7  * notice appear in all copies and that both that copyright
8  * notice and this permission notice appear in supporting
9  * documentation, and that the name of M.I.T. not be used in
10  * advertising or publicity pertaining to distribution of the
11  * software without specific, written prior permission.
12  * M.I.T. makes no representations about the suitability of
13  * this software for any purpose.  It is provided "as is"
14  * without express or implied warranty.
15  */
16
17 #ifndef BITNCMP_H
18 #define BITNCMP_H
19
20 #ifndef HAVE_BITNCMP
21 int ares_bitncmp(const void *l, const void *r, int n);
22 #else
23 #define ares_bitncmp(x,y,z) bitncmp(x,y,z)
24 #endif
25
26 #endif /* BITNCMP_H */