|
Coda Distributed File System
|
#include <ctype.h>#include <errno.h>#include <inodeops.h>#include <netinet/in.h>#include <parser.h>#include <rpc2/rpc2.h>#include <setjmp.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <sys/file.h>#include <sys/param.h>#include <sys/socket.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include <netdb.h>#include <auth2.h>#include <avenus.h>#include "coda_assert.h"#include "coda_string.h"#include <vice.h>#include <copyfile.h>#include <inconsist.h>#include <repio.h>#include <resolve.h>#include <venusioctl.h>

Go to the source code of this file.
Classes | |
| struct | conflict |
| struct | replica |
Macros | |
| #define | MAXVOLNAME 32 |
| #define | MAXHOSTS 8 /* XXXX --- get the true definition for this */ |
| #define | HOSTNAMLEN 64 /* XXXX -- get the true definition for this */ |
| #define | DEF_BUF 2048 /* XXXX -- temporary buffer size */ |
| #define | LOCAL_GLOBAL 1 |
| #define | SERVER_SERVER 2 |
| #define | MIXED_CONFLICT 3 |
| #define | freeif(pointer) |
| #define | strerr(str, len, msg...) |
Functions | |
| int | BeginRepair (char *pathname, struct conflict **conf, char *msg, int msgsize) |
| int | ClearInc (struct conflict *conf, char *msg, int msgsize) |
| int | CompareDirs (struct conflict *conf, const char *fixfile, struct repinfo *inf, char *msg, int msgsize) |
| int | DoRepair (struct conflict *conf, char *ufixpath, FILE *res, char *msg, int msgsize) |
| int | EndRepair (struct conflict *conf, int commit, char *msg, int msgsize) |
| int | RemoveInc (struct conflict *conf, char *msg, int msgsize) |
| int | dorep (struct conflict *conf, char *fixpath, char *buf, int len) |
| int | makedff (char *extfile, char *intfile, char *msg, int msgsize) |
| int | repair_newrep (char *reppath, struct conflict **conf, char *msg, int msgsize) |
| int | repair_mountrw (struct conflict *conf, char *msg, int msgsize) |
| void | repair_finish (struct conflict *conf) |
| int | repair_getfid (char *path, ViceFid *outfid, char *outrealm, ViceVersionVector *outvv, char *msg, int msgsize) |
| int | repair_inconflict (char *name, ViceFid *conflictfid, char *conflictrealm) |
| int | repair_isleftmost (char *path, char *realpath, int len, char *msg, int msgsize) |
| #define freeif | ( | pointer | ) |
| #define LOCAL_GLOBAL 1 |
| #define MAXVOLNAME 32 |
| #define MIXED_CONFLICT 3 |
| #define SERVER_SERVER 2 |
| #define strerr | ( | str, | |
| len, | |||
| msg... | |||
| ) |
| int BeginRepair | ( | char * | pathname, |
| struct conflict ** | conf, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int ClearInc | ( | struct conflict * | conf, |
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int CompareDirs | ( | struct conflict * | conf, |
| const char * | fixfile, | ||
| struct repinfo * | inf, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int dorep | ( | struct conflict * | conf, |
| char * | fixpath, | ||
| char * | buf, | ||
| int | len | ||
| ) |
| int DoRepair | ( | struct conflict * | conf, |
| char * | ufixpath, | ||
| FILE * | res, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int EndRepair | ( | struct conflict * | conf, |
| int | commit, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int makedff | ( | char * | extfile, |
| char * | intfile, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int RemoveInc | ( | struct conflict * | conf, |
| char * | msg, | ||
| int | msgsize | ||
| ) |
| void repair_finish | ( | struct conflict * | conf | ) |
| int repair_getfid | ( | char * | path, |
| ViceFid * | outfid, | ||
| char * | outrealm, | ||
| ViceVersionVector * | outvv, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int repair_inconflict | ( | char * | name, |
| ViceFid * | conflictfid, | ||
| char * | conflictrealm | ||
| ) |
| int repair_isleftmost | ( | char * | path, |
| char * | realpath, | ||
| int | len, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int repair_mountrw | ( | struct conflict * | conf, |
| char * | msg, | ||
| int | msgsize | ||
| ) |
| int repair_newrep | ( | char * | reppath, |
| struct conflict ** | conf, | ||
| char * | msg, | ||
| int | msgsize | ||
| ) |