mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-01 18:22:27 +00:00
Add libresolv from Musl Libc
Locally modified to get nameservers from Windows Registry when `\etc\resolv.conf` isn't defined.
This commit is contained in:
parent
8874a37abc
commit
1a96de6eda
36 changed files with 2313 additions and 73 deletions
11
third_party/musl/resolv.internal.h
vendored
Normal file
11
third_party/musl/resolv.internal.h
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_THIRD_PARTY_MUSL_RESOLV_INTERNAL_H_
|
||||
#define COSMOPOLITAN_THIRD_PARTY_MUSL_RESOLV_INTERNAL_H_
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
int __dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
|
||||
int __res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int);
|
||||
int __res_send(const unsigned char *, int, unsigned char *, int);
|
||||
int __res_msend(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_MUSL_RESOLV_INTERNAL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue