Go to the source code of this file.
The map_by_name function is used to convert the ethers file into a form suitable for passing to makedbm to build a NIS map.
Definition at line 26 of file map.cc.
The by_servicename function is used to read a services map (like the /etc/services file) and produce a map indexed by service name and service aliases.
|etc_services||the map source file to be read |
|output||where to write the output.|
- Despite the name, the -byservicename options means to generate a map indexed by service name and service aliases. The orignal YP authors came up with this brilliant piece of cognitive dissonance, and we are stuck with it.
Definition at line 49 of file map.cc.