Coda Distributed File System
Functions
readstuff.cc File Reference
#include <ctype.h>
#include <sys/param.h>
#include <errno.h>
#include <sys/stat.h>
#include <stdio.h>
#include <sys/file.h>
#include <unistd.h>
#include <stdlib.h>
#include "coda_string.h"
#include <lwp/lwp.h>
#include <lwp/lock.h>
#include <util.h>
#include <vice.h>
#include <cvnode.h>
#include <volume.h>
#include <vutil.h>
#include <partition.h>
#include "dump.h"
#include "voldump.h"
Include dependency graph for readstuff.cc:

Functions

signed char ReadTag (DumpBuffer_t *buf)
 
int PutTag (char tag, DumpBuffer_t *buf)
 
int ReadShort (DumpBuffer_t *buf, unsigned short *sp)
 
int ReadInt32 (DumpBuffer_t *buf, unsigned int *lp)
 
int ReadString (DumpBuffer_t *buf, char *to, int max)
 
int ReadByteString (DumpBuffer_t *buf, char *to, int size)
 
int ReadVV (DumpBuffer_t *buf, ViceVersionVector *vv)
 
int ReadDumpHeader (DumpBuffer_t *buf, struct DumpHeader *hp)
 
int EndOfDump (DumpBuffer_t *buf)
 
int ReadVolumeDiskData (DumpBuffer_t *buf, VolumeDiskData *vol)
 
int ReadFile (DumpBuffer_t *buf, FILE *outfile)
 

Function Documentation

◆ EndOfDump()

int EndOfDump ( DumpBuffer_t buf)

◆ PutTag()

int PutTag ( char  tag,
DumpBuffer_t buf 
)

◆ ReadByteString()

int ReadByteString ( DumpBuffer_t buf,
char *  to,
int  size 
)

◆ ReadDumpHeader()

int ReadDumpHeader ( DumpBuffer_t buf,
struct DumpHeader hp 
)

◆ ReadFile()

int ReadFile ( DumpBuffer_t buf,
FILE *  outfile 
)

◆ ReadInt32()

int ReadInt32 ( DumpBuffer_t buf,
unsigned int *  lp 
)

◆ ReadShort()

int ReadShort ( DumpBuffer_t buf,
unsigned short *  sp 
)

◆ ReadString()

int ReadString ( DumpBuffer_t buf,
char *  to,
int  max 
)

◆ ReadTag()

signed char ReadTag ( DumpBuffer_t buf)

◆ ReadVolumeDiskData()

int ReadVolumeDiskData ( DumpBuffer_t buf,
VolumeDiskData vol 
)

◆ ReadVV()

int ReadVV ( DumpBuffer_t buf,
ViceVersionVector *  vv 
)