2018-07-24 18:09:18 +02:00
|
|
|
/* SPDX-License-Identifier: BSD
|
|
|
|
*
|
2018-09-07 05:32:46 +02:00
|
|
|
* Copyright © 2017-2018 WireGuard LLC. All Rights Reserved.
|
2018-07-24 18:09:18 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(__ANDROID_API__) && __ANDROID_API__ < 18
|
|
|
|
#include <stdio.h>
|
|
|
|
ssize_t getdelim(char **buf, size_t *bufsiz, int delimiter, FILE *fp);
|
|
|
|
ssize_t getline(char **buf, size_t *bufsiz, FILE *fp);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__ANDROID_API__) && __ANDROID_API__ < 24
|
|
|
|
char *strchrnul(const char *s, int c);
|
|
|
|
#endif
|
|
|
|
|