diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-19 15:30:38 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-19 15:30:38 +0000 |
commit | ebb7fa188fe88fafecdbe4ad9b87d2afa703b503 (patch) | |
tree | 908dd6243e5fb71def3f3be5794777b925e0d006 /libc | |
parent | e2d6080d4d663c4c8bee9df1d1b6a87fa1944a22 (diff) |
Fix missing defines. Forgot to check this in.
-Erik
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/getaddrinfo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index 6a068442a..70bdfbbd1 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -63,6 +63,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <sys/utsname.h> #include <net/if.h> +/* The following declarations and definitions have been removed from + * the public header since we don't want people to use them. */ +#define AI_V4MAPPED 0x0008 /* IPv4-mapped addresses are acceptable. */ +#define AI_ALL 0x0010 /* Return both IPv4 and IPv6 addresses. */ +#define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose + returned address type. */ +#define AI_DEFAULT (AI_V4MAPPED | AI_ADDRCONFIG) + + #define GAIH_OKIFUNSPEC 0x0100 #define GAIH_EAI ~(GAIH_OKIFUNSPEC) |