Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 44279e0

Browse filesBrowse files
cjihrigMylesBorins
authored andcommitted
deps: add missing ares_android.h file
This file was left out of the c-ares 1.14.0 update. PR-URL: #23682 Fixes: #23681 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 703f40a commit 44279e0
Copy full SHA for 44279e0

File tree

Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+26
-0
lines changed
Open diff view settings
Collapse file

‎deps/cares/src/ares_android.h‎

Copy file name to clipboard
+26Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
void ares_library_cleanup_android(void);
23+
24+
#endif
25+
26+
#endif /* __ARES_ANDROID_H__ */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.