Coda Distributed File System
Macros | Functions | Variables
repair.h File Reference
#include "repcmds.h"
Include dependency graph for repair.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOT_IN_SESSION   0
 
#define FILE_SESSION   1
 
#define DIRECTORY_SESSION   2
 
#define INITHELPMSG    "This repair tool can be used to manually repair server/server \n\or local/global conflicts on files and directories. \n\You will first need to do a \"beginrepair\" to start a repair\n\session where messages about the nature of the conflict and\n\the commands that should be used to repair the conflict will\n\be displayed. Help message on individual commands can also be\n\obtained by using the \"help\" facility. Finally, you can use the\n\\"endrepair\" or \"quit\" to terminate the current repair session.\n"
 

Functions

void GetArgs (int argc, char *argv[])
 
int getcompareargs (int, char **, char **, char **, char **, char **, char **)
 
int getrepairargs (int, char **, char *)
 
int GetTokens (void)
 
void INT (int, int, struct sigcontext *)
 
void rep_BeginRepair (int largc, char **largv)
 
void rep_ClearInc (int largc, char **largv)
 
void rep_CompareDirs (int largc, char **largv)
 
void rep_DoRepair (int largc, char **largv)
 
void rep_EndRepair (int largc, char **largv)
 
void rep_Exit (int largc, char **largv)
 
void rep_Help (int largc, char **largv)
 
void rep_RemoveInc (int largc, char **largv)
 
void rep_ReplaceInc (int largc, char **largv)
 

Variables

struct conflictConflictObj
 
int allowclear
 
int interactive
 
int repair_DebugFlag
 
int session
 

Macro Definition Documentation

◆ DIRECTORY_SESSION

#define DIRECTORY_SESSION   2

◆ FILE_SESSION

#define FILE_SESSION   1

◆ INITHELPMSG

#define INITHELPMSG    "This repair tool can be used to manually repair server/server \n\or local/global conflicts on files and directories. \n\You will first need to do a \"beginrepair\" to start a repair\n\session where messages about the nature of the conflict and\n\the commands that should be used to repair the conflict will\n\be displayed. Help message on individual commands can also be\n\obtained by using the \"help\" facility. Finally, you can use the\n\\"endrepair\" or \"quit\" to terminate the current repair session.\n"

◆ NOT_IN_SESSION

#define NOT_IN_SESSION   0

Function Documentation

◆ GetArgs()

void GetArgs ( int  argc,
char *  argv[] 
)

◆ getcompareargs()

int getcompareargs ( int  ,
char **  ,
char **  ,
char **  ,
char **  ,
char **  ,
char **   
)

◆ getrepairargs()

int getrepairargs ( int  largc,
char **  largv,
char *  fixpath 
)

◆ GetTokens()

int GetTokens ( void  )

◆ INT()

void INT ( int  ,
int  ,
struct sigcontext *   
)

◆ rep_BeginRepair()

void rep_BeginRepair ( int  largc,
char **  largv 
)

◆ rep_ClearInc()

void rep_ClearInc ( int  largc,
char **  largv 
)

◆ rep_CompareDirs()

void rep_CompareDirs ( int  largc,
char **  largv 
)

◆ rep_DoRepair()

void rep_DoRepair ( int  largc,
char **  largv 
)

◆ rep_EndRepair()

void rep_EndRepair ( int  largc,
char **  largv 
)

◆ rep_Exit()

void rep_Exit ( int  largc,
char **  largv 
)

◆ rep_Help()

void rep_Help ( int  largc,
char **  largv 
)

◆ rep_RemoveInc()

void rep_RemoveInc ( int  largc,
char **  largv 
)

◆ rep_ReplaceInc()

void rep_ReplaceInc ( int  largc,
char **  largv 
)

Variable Documentation

◆ allowclear

int allowclear
extern

◆ ConflictObj

struct conflict* ConflictObj
extern

◆ interactive

int interactive

◆ repair_DebugFlag

int repair_DebugFlag

◆ session

int session