Expand description
Implements parsing the system hosts file to produce a host table
Structs§
- Host
- Represents a single host within a host table.
- Host
Table - Represents a host table, consisting of addresses mapped to names.
Functions§
- host_
file - Returns the absolute path to the system hosts file.
- load_
hosts - Loads a host table from the given filename.
- parse_
host_ table - Attempts to parse a host table in the hosts file format.