Skip to content

Commit

Permalink
deps: add missing ares_android.h file
Browse files Browse the repository at this point in the history
This file was left out of the c-ares 1.14.0 update.

PR-URL: #23682
Fixes: #23681
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Denys Otrishko <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
cjihrig authored and MylesBorins committed Nov 29, 2018
1 parent 7670bc5 commit 06782fe
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions deps/cares/src/ares_android.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Copyright (C) 2017 by John Schember <[email protected]>
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies and that both that copyright
* notice and this permission notice appear in supporting
* documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the
* software without specific, written prior permission.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/

#ifndef __ARES_ANDROID_H__
#define __ARES_ANDROID_H__

#if defined(ANDROID) || defined(__ANDROID__)

char **ares_get_android_server_list(size_t max_servers, size_t *num_servers);
void ares_library_cleanup_android(void);

#endif

#endif /* __ARES_ANDROID_H__ */

0 comments on commit 06782fe

Please sign in to comment.