#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/param.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <coda_config.h>
◆ ASR_RULES_FILENAME
#define ASR_RULES_FILENAME ".asr" |
◆ ASR_TIMEOUT
◆ CONFLICT_BASENAME
#define CONFLICT_BASENAME '>' /* Puneet's original 3 vars */ |
◆ CONFLICT_PARENT
◆ CONFLICT_PATH
#define CONFLICT_PATH '=' /* Additional variables */ |
◆ CONFLICT_TYPE
◆ CONFLICT_VOLUME
◆ LOCAL_GLOBAL
◆ LOCAL_GLOBAL_CHAR
◆ LOCAL_GLOBAL_STR
◆ MIXED_CONFLICT
◆ MIXED_CONFLICT_CHAR
#define MIXED_CONFLICT_CHAR 'M' |
◆ MIXED_CONFLICT_STR
#define MIXED_CONFLICT_STR "3" |
◆ NCARGS
◆ SERVER_SERVER
◆ SERVER_SERVER_CHAR
#define SERVER_SERVER_CHAR 'S' |
◆ SERVER_SERVER_STR
◆ SYSTYPE_VAR
◆ TRIGGER_TIMEOUT
◆ checkRulesFile()
int checkRulesFile |
( |
char * |
pathname | ) |
|
◆ escapeString()
int escapeString |
( |
char * |
str, |
|
|
int |
maxlen |
|
) |
| |
◆ executeCommands()
int executeCommands |
( |
long |
cmds | ) |
|
◆ executeTriggers()
int executeTriggers |
( |
long * |
cmds | ) |
|
◆ findRule()
int findRule |
( |
long * |
cmds | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ nameNextRulesFile()
int nameNextRulesFile |
( |
char * |
path | ) |
|
◆ replaceEnvVars()
int replaceEnvVars |
( |
char * |
string, |
|
|
int |
maxlen |
|
) |
| |
◆ Conflict_Basename
◆ Conflict_Parent
◆ Conflict_Path
◆ Conflict_Type
◆ Conflict_Volume_Path
◆ Local_Policy_Path
◆ My_Pid
◆ Rules_File
◆ Rules_File_Parent
◆ Rules_File_Path