Docs.rs
libnss-host4-0.1.0
libnss-host4 0.1.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
crates.io
Source
Owners
cfzimmerman
Dependencies
libc ^0.2.186
normal
paste ^1.0.15
normal
Versions
78.79%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate libnss_host4
libnss_
host4
0.1.0
All Items
Crate Items
Modules
Macros
Structs
Enums
Traits
Functions
Crate
libnss_
host4
Copy item path
Source
Modules
§
err
Macros
§
impl_
gethostbyname4_
r
This macro expands into an NSS-compatible hook for the
gethostbyname4_r
hostname resolution API.
Structs
§
Gaih
Addr
Tuple
Recursive host object returned from
gethostbyname4
.
Enums
§
Addr
An address that can be returned from gethostbyname4_r.
Traits
§
Host
Resolver
Implement this trait with the actual address business logic that
gethostbyname4_r
should expose. The C interop layer simply wraps the resolution defined here.
Functions
§
gethostbyname4_
r
⚠
GETHOSTBYNAME4_R