nis-util  1.0.D108
Functions
nis-util-hosts/map.h File Reference
#include <lib/rcstring.h>

Go to the source code of this file.

Functions

void map_by_name (const rcstring &input, const rcstring &output)
void map_by_address (const rcstring &input, const rcstring &output)

Function Documentation

void map_by_address ( const rcstring input,
const rcstring output 
)

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

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 51 of file map.cc.

void map_by_name ( const rcstring input,
const rcstring output 
)

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

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 31 of file map.cc.