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

Go to the source code of this file.

Functions

void map_by_name (const rcstring &etc_protocols, const rcstring &output)
void map_by_number (const rcstring &etc_protocols, const rcstring &output)

Function Documentation

void map_by_name ( const rcstring etc_protocols,
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 31 of file map.cc.

void map_by_number ( const rcstring etc_protocols,
const rcstring output 
)

Definition at line 67 of file map.cc.