Coda Distributed File System
|
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include "coda_string.h"
#include <lwp/lwp.h>
#include <lwp/lock.h>
#include <voltypes.h>
#include <vcrcommon.h>
#include <cvnode.h>
#include <volume.h>
#include <codadir.h>
#include <dump.h>
#include "dumpstream.h"
#include <util.h>
#include <coda_largefile.h>
Functions | |
int | GetShort (FILE *stream, unsigned short *sp) |
int | GetInt32 (FILE *stream, unsigned int *lp) |
int | GetString (FILE *stream, char *to, unsigned int max) |
int | GetByteString (FILE *stream, byte *to, int size) |
int | GetVV (FILE *stream, ViceVersionVector *vv) |
long | WriteDump (RPC2_Handle _cid, RPC2_Unsigned offset, RPC2_Unsigned *nbytes, RPC2_Unsigned volid, SE_Descriptor *sed) |
char * | Reserve (DumpBuffer_t *, int) |
void | PrintDumpHeader (FILE *outfile, struct DumpHeader *dh) |
int GetByteString | ( | FILE * | stream, |
byte * | to, | ||
int | size | ||
) |
int GetInt32 | ( | FILE * | stream, |
unsigned int * | lp | ||
) |
int GetShort | ( | FILE * | stream, |
unsigned short * | sp | ||
) |
int GetString | ( | FILE * | stream, |
char * | to, | ||
unsigned int | max | ||
) |
int GetVV | ( | FILE * | stream, |
ViceVersionVector * | vv | ||
) |
void PrintDumpHeader | ( | FILE * | outfile, |
struct DumpHeader * | dh | ||
) |
char * Reserve | ( | DumpBuffer_t * | buf, |
int | n | ||
) |
long WriteDump | ( | RPC2_Handle | _cid, |
RPC2_Unsigned | offset, | ||
RPC2_Unsigned * | nbytes, | ||
RPC2_Unsigned | volid, | ||
SE_Descriptor * | sed | ||
) |