nis-util  1.0.D108
Functions
nis-util-hosts/map.cc File Reference
#include <lib/output/file.h>
#include <lib/space/hosts.h>
#include <nis-util-hosts/map.h>

Go to the source code of this file.

Functions

void map_by_name (const rcstring &ifn, const rcstring &ofn)
void map_by_address (const rcstring &ifn, const rcstring &ofn)

Function Documentation

void map_by_address ( const rcstring input,
const rcstring output 
)

The map_by_address function is used to convert the ethers file into a form suitable for passing to makedbm to build a NIS map.

Definition at line 54 of file map.cc.

void map_by_name ( const rcstring input,
const rcstring output 
)

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.