33#include <netinet/in.h>
42#include <sys/socket.h>
72#define SERVER_SERVER 2
73#define MIXED_CONFLICT 3
105 char *msg,
int msgsize);
112int dorep(
struct conflict *conf,
char *fixpath,
char *buf,
int len);
113int makedff(
char *extfile,
char *intfile,
char *msg,
int msgsize);
123 ViceVersionVector *outvv,
char *msg,
int msgsize);
128#define freeif(pointer) \
130 if (pointer != NULL) { \
136#define strerr(str, len, msg...) \
139 snprintf(str, len, ##msg); \
void path(char *pathname, char *direc, char *file)
Definition: path.c:53
int CompareDirs(struct conflict *conf, const char *fixfile, struct repinfo *inf, char *msg, int msgsize)
Definition: repcmds.cc:203
int repair_inconflict(char *name, ViceFid *conflictfid, char *conflictrealm)
Definition: path.cc:217
int RemoveInc(struct conflict *conf, char *msg, int msgsize)
Definition: repcmds.cc:462
int dorep(struct conflict *conf, char *fixpath, char *buf, int len)
Definition: repcmds.cc:722
int BeginRepair(char *pathname, struct conflict **conf, char *msg, int msgsize)
Definition: repcmds.cc:39
int repair_newrep(char *reppath, struct conflict **conf, char *msg, int msgsize)
Definition: rvol.cc:37
#define HOSTNAMLEN
Definition: repcmds.h:67
int repair_isleftmost(char *path, char *realpath, int len, char *msg, int msgsize)
Definition: path.cc:40
void repair_finish(struct conflict *conf)
Definition: rvol.cc:140
int repair_getfid(char *path, ViceFid *outfid, char *outrealm, ViceVersionVector *outvv, char *msg, int msgsize)
Definition: path.cc:252
int EndRepair(struct conflict *conf, int commit, char *msg, int msgsize)
Definition: repcmds.cc:421
int repair_mountrw(struct conflict *conf, char *msg, int msgsize)
Definition: rvol.cc:68
int makedff(char *extfile, char *intfile, char *msg, int msgsize)
Definition: repcmds.cc:861
int ClearInc(struct conflict *conf, char *msg, int msgsize)
Definition: repcmds.cc:123
int DoRepair(struct conflict *conf, char *ufixpath, FILE *res, char *msg, int msgsize)
Definition: repcmds.cc:352
char realm[HOSTNAMLEN]
Definition: repcmds.h:81
struct replica * head
Definition: repcmds.h:79
char local
Definition: repcmds.h:82
ViceFid fid
Definition: repcmds.h:77
char rodir[MAXPATHLEN]
Definition: repcmds.h:80
ViceVersionVector VV
Definition: repcmds.h:78
char dirconf
Definition: repcmds.h:86
char realmname[HOSTNAMLEN]
Definition: repcmds.h:94
ViceFid fid
Definition: repcmds.h:92
ViceVersionVector VV
Definition: repcmds.h:93
struct replica * next
Definition: repcmds.h:98
char compname[NAME_MAX]
Definition: repcmds.h:97
char srvname[HOSTNAMLEN]
Definition: repcmds.h:96