Coda Distributed File System
Public Member Functions | Public Attributes | List of all members
vrent Class Reference

#include <vrdb.h>

Inheritance diagram for vrent:
Inheritance graph
[legend]
Collaboration diagram for vrent:
Collaboration graph
[legend]

Public Member Functions

 vrent ()
 
 vrent (vrent &)
 
int operator= (vrent &)
 
 ~vrent ()
 
void GetHosts (unsigned long *) WARN_SINGLE_HOMING
 
int index_by_hostaddr (unsigned long) WARN_SINGLE_HOMING
 
int index_by_serverid (uint8_t serverid)
 
int index (void)
 
void GetCheckVV (ViceVersionVector *)
 
int GetVolumeInfo (VolumeInfo *)
 
void hton ()
 
void ntoh ()
 
void print ()
 
void print (FILE *)
 
void print (int)
 
int dump (int)
 

Public Attributes

unsigned header: 32
 
unsigned nextptr: 32
 
char key [33]
 
VolumeId volnum
 
unsigned char nServers
 
VolumeId ServerVolnum [VSG_MEMBERS]
 
unsigned long addr
 
olink namehtblink
 
uint32_t unused
 

Constructor & Destructor Documentation

◆ vrent() [1/2]

vrent::vrent ( )

◆ vrent() [2/2]

vrent::vrent ( vrent vre)

◆ ~vrent()

vrent::~vrent ( )

Member Function Documentation

◆ dump()

int vrent::dump ( int  afd)

◆ GetCheckVV()

void vrent::GetCheckVV ( ViceVersionVector *  VV)

◆ GetHosts()

void vrent::GetHosts ( unsigned long *  Hosts)

◆ GetVolumeInfo()

int vrent::GetVolumeInfo ( VolumeInfo *  Info)

◆ hton()

void vrent::hton ( )

◆ index()

int vrent::index ( void  )

◆ index_by_hostaddr()

int vrent::index_by_hostaddr ( unsigned long  hostaddr)

◆ index_by_serverid()

int vrent::index_by_serverid ( uint8_t  serverid)

◆ ntoh()

void vrent::ntoh ( )

◆ operator=()

int vrent::operator= ( vrent vre)

◆ print() [1/3]

void vrent::print ( void  )
virtual

Reimplemented from olink.

◆ print() [2/3]

void vrent::print ( FILE *  fp)
virtual

Reimplemented from olink.

◆ print() [3/3]

void vrent::print ( int  afd)
virtual

Reimplemented from olink.

Member Data Documentation

◆ addr

unsigned long vrent::addr

◆ header

unsigned vrent::header

◆ key

char vrent::key

◆ namehtblink

olink vrent::namehtblink

◆ nextptr

unsigned vrent::nextptr

◆ nServers

unsigned char vrent::nServers

◆ ServerVolnum

VolumeId vrent::ServerVolnum

◆ unused

uint32_t vrent::unused

◆ volnum

VolumeId vrent::volnum

The documentation for this class was generated from the following files: