Module sync_resolve::hosts

source ·
Expand description

Implements parsing the system hosts file to produce a host table

Structs

  • Represents a single host within a host table.
  • Represents a host table, consisting of addresses mapped to names.

Functions

  • Returns the absolute path to the system hosts file.
  • Loads a host table from the given filename.
  • Attempts to parse a host table in the hosts file format.