diff --git a/src/header/netdb/mod.rs b/src/header/netdb/mod.rs index 11621451037e778580a994015231b4ac3831c82c..aac67e1ee5b5dbd6c1cf9d85fb5db6f355af37fa 100644 --- a/src/header/netdb/mod.rs +++ b/src/header/netdb/mod.rs @@ -117,6 +117,12 @@ pub const EAI_MEMORY: c_int = -10; pub const EAI_SYSTEM: c_int = -11; pub const EAI_OVERFLOW: c_int = -12; +pub const NI_NUMERICHOST: c_int = 0x0001; +pub const NI_NUMERICSERV: c_int = 0x0002; +pub const NI_NOFQDN: c_int = 0x0004; +pub const NI_NAMEREQD: c_int = 0x0008; +pub const NI_DGRAM: c_int = 0x0010; + static mut NETDB: c_int = 0; static mut NET_ENTRY: netent = netent { n_name: ptr::null_mut(),