Coda Distributed File System
Functions
repcmds.cc File Reference
#include <codaconf.h>
#include "repcmds.h"
Include dependency graph for repcmds.cc:

Functions

int compareAcl (int, resreplica *)
 
int compareOwner (int, resreplica *)
 
int compareQuotas (int, char **)
 
int compareStatus (int, resreplica *)
 
int compareVV (int, char **, struct conflict *)
 
int compareFids (ViceFid *a, ViceFid *b)
 
int findtype (struct conflict *)
 
void getremovelists (int, resreplica *, struct listhdr **)
 
int getVolrepNames (struct conflict *conf, char ***names, char *msg, int msgsize)
 
int isLocal (resreplica *dir)
 
void printAcl (struct Acl *)
 
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)
 

Function Documentation

◆ BeginRepair()

int BeginRepair ( char *  pathname,
struct conflict **  conf,
char *  msg,
int  msgsize 
)

◆ ClearInc()

int ClearInc ( struct conflict conf,
char *  msg,
int  msgsize 
)

◆ compareAcl()

int compareAcl ( int  nreplicas,
resreplica dirs 
)

◆ CompareDirs()

int CompareDirs ( struct conflict conf,
const char *  fixfile,
struct repinfo inf,
char *  msg,
int  msgsize 
)

◆ compareFids()

int compareFids ( ViceFid *  a,
ViceFid *  b 
)

◆ compareOwner()

int compareOwner ( int  nreplicas,
resreplica dirs 
)

◆ compareQuotas()

int compareQuotas ( int  nreplicas,
char **  names 
)

◆ compareStatus()

int compareStatus ( int  nreplicas,
resreplica dirs 
)

◆ compareVV()

int compareVV ( int  nreplicas,
char **  names,
struct conflict conf 
)

◆ dorep()

int dorep ( struct conflict conf,
char *  fixpath,
char *  buf,
int  len 
)

◆ DoRepair()

int DoRepair ( struct conflict conf,
char *  ufixpath,
FILE *  res,
char *  msg,
int  msgsize 
)

◆ EndRepair()

int EndRepair ( struct conflict conf,
int  commit,
char *  msg,
int  msgsize 
)

◆ findtype()

int findtype ( struct conflict conf)

◆ getremovelists()

void getremovelists ( int  nreplicas,
resreplica dirs,
struct listhdr **  repairlist 
)

◆ getVolrepNames()

int getVolrepNames ( struct conflict conf,
char ***  names,
char *  msg,
int  msgsize 
)

◆ isLocal()

int isLocal ( resreplica dir)

◆ makedff()

int makedff ( char *  extfile,
char *  intfile,
char *  msg,
int  msgsize 
)

◆ printAcl()

void printAcl ( struct Acl acl)

◆ RemoveInc()

int RemoveInc ( struct conflict conf,
char *  msg,
int  msgsize 
)