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

Go to the source code of this file.

Functions

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

Function Documentation

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.

void map_by_number ( const rcstring ifn,
const rcstring ofn 
)

Definition at line 67 of file map.cc.