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

Go to the source code of this file.

Functions

void map_by_name (const rcstring &ifn, const rcstring &ofn)
void map_by_host (const rcstring &ifn, const rcstring &ofn)
void map_by_user (const rcstring &ifn, const rcstring &ofn)

Function Documentation

void map_by_host ( const rcstring input,
const rcstring output 
)

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

Definition at line 46 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 28 of file map.cc.

void map_by_user ( const rcstring input,
const rcstring output 
)

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

Definition at line 98 of file map.cc.