Coda Distributed File System
|
#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 <rpc2/errors.h>
#include <util.h>
#include <vice.h>
#include <voltypes.h>
#include <cvnode.h>
#include <volume.h>
#include <partition.h>
#include <vutil.h>
#include "dump.h"
#include "voldump.h"
Macros | |
#define | putlong(p, v) |
#define | putshort(p, v) |
Functions | |
DumpBuffer_t * | InitDumpBuf (char *ptr, long size, VolumeId volId, RPC2_Handle rpcid) |
DumpBuffer_t * | InitDumpBuf (char *ptr, long size, int fd) |
int | FlushBuf (DumpBuffer_t *buf) |
char * | Reserve (DumpBuffer_t *buf, int n) |
int | DumpTag (DumpBuffer_t *buf, char tag) |
int | DumpByte (DumpBuffer_t *buf, char tag, char value) |
int | DumpDouble (DumpBuffer_t *buf, char tag, unsigned int value1, unsigned int value2) |
int | DumpInt32 (DumpBuffer_t *buf, char tag, unsigned int value) |
int | DumpArrayInt32 (DumpBuffer_t *buf, char tag, unsigned int *array, int nelem) |
int | DumpShort (DumpBuffer_t *buf, char tag, unsigned int value) |
int | DumpBool (DumpBuffer_t *buf, char tag, unsigned int value) |
int | DumpString (DumpBuffer_t *buf, char tag, char *s) |
int | DumpByteString (DumpBuffer_t *buf, char tag, char *bs, int nbytes) |
int | DumpVV (DumpBuffer_t *buf, char tag, struct ViceVersionVector *vv) |
int | DumpFile (DumpBuffer_t *buf, char tag, int fd, int vnode) |
int | DumpEnd (DumpBuffer_t *buf) |
#define putlong | ( | p, | |
v | |||
) |
#define putshort | ( | p, | |
v | |||
) |
int DumpArrayInt32 | ( | DumpBuffer_t * | buf, |
char | tag, | ||
unsigned int * | array, | ||
int | nelem | ||
) |
int DumpBool | ( | DumpBuffer_t * | buf, |
char | tag, | ||
unsigned int | value | ||
) |
int DumpByte | ( | DumpBuffer_t * | buf, |
char | tag, | ||
char | value | ||
) |
int DumpByteString | ( | DumpBuffer_t * | buf, |
char | tag, | ||
char * | bs, | ||
int | nbytes | ||
) |
int DumpDouble | ( | DumpBuffer_t * | buf, |
char | tag, | ||
unsigned int | value1, | ||
unsigned int | value2 | ||
) |
int DumpEnd | ( | DumpBuffer_t * | buf | ) |
int DumpFile | ( | DumpBuffer_t * | buf, |
char | tag, | ||
int | fd, | ||
int | vnode | ||
) |
int DumpInt32 | ( | DumpBuffer_t * | buf, |
char | tag, | ||
unsigned int | value | ||
) |
int DumpShort | ( | DumpBuffer_t * | buf, |
char | tag, | ||
unsigned int | value | ||
) |
int DumpString | ( | DumpBuffer_t * | buf, |
char | tag, | ||
char * | s | ||
) |
int DumpTag | ( | DumpBuffer_t * | buf, |
char | tag | ||
) |
int DumpVV | ( | DumpBuffer_t * | buf, |
char | tag, | ||
struct ViceVersionVector * | vv | ||
) |
int FlushBuf | ( | DumpBuffer_t * | buf | ) |
DumpBuffer_t * InitDumpBuf | ( | char * | ptr, |
long | size, | ||
int | fd | ||
) |
DumpBuffer_t * InitDumpBuf | ( | char * | ptr, |
long | size, | ||
VolumeId | volId, | ||
RPC2_Handle | rpcid | ||
) |
char * Reserve | ( | DumpBuffer_t * | buf, |
int | n | ||
) |