Crate hostfile

Source

Structs§

HostEntry
A struct representing a line from /etc/hosts that has a host on it

Functions§

get_hostfile_path
Get path to the system hostfile.
parse_file
Parse a file using the format described in man hosts(7)
parse_hostfile
Parse system hostfile.