Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / grpc / deps / grpc / third_party / cares / cares / ares_android.h
1 /* Copyright (C) 2017 by John Schember <john@nachtimwald.com>
2  *
3  * Permission to use, copy, modify, and distribute this
4  * software and its documentation for any purpose and without
5  * fee is hereby granted, provided that the above copyright
6  * notice appear in all copies and that both that copyright
7  * notice and this permission notice appear in supporting
8  * documentation, and that the name of M.I.T. not be used in
9  * advertising or publicity pertaining to distribution of the
10  * software without specific, written prior permission.
11  * M.I.T. makes no representations about the suitability of
12  * this software for any purpose.  It is provided "as is"
13  * without express or implied warranty.
14  */
15
16 #ifndef __ARES_ANDROID_H__
17 #define __ARES_ANDROID_H__
18
19 #if defined(ANDROID) || defined(__ANDROID__)
20
21 char **ares_get_android_server_list(size_t max_servers, size_t *num_servers);
22 char *ares_get_android_search_domains_list(void);
23 void ares_library_cleanup_android(void);
24
25 #endif
26
27 #endif /* __ARES_ANDROID_H__ */