* This is the definitions header file for the configuration module. It
* includes the definitions of data structures, external declarations and
* definitions, defitinitions of sybolic constants.
*
Included Files
Preprocessor definitions
#define VARS 86
#define SCOPE_GLOBAL 1
#define SCOPE_LOCAL 99
#define STRLENGTH 160
#define CA_DEFHOST "rowan"
#define CA_DEFPORT "4343"
#define CA_DEFUSER "dbase"
#define CA_DEFPASSWORD "encrypt1"
#define CA_DEFDBNAME "default-db"
#define NOT_FOUND 1
typedef struct dict_s dict_t
| struct dict_s |
|
| { |
|
| char varName[160]; |
|
| char varSym[160]; |
|
| char varType[160]; |
|
| int varScope; |
|
| int varNum; |
|
| } |
|
typedef struct values_s values_t
| struct values_s |
|
| { |
|
| char* strPtr; |
|
| void* valPtr; |
|
| } |
|
typedef struct ca_database_s ca_database_t
| struct ca_database_s |
|
| { |
|
| char host[64]; |
|
| char port[16]; |
|
| char user[16]; |
|
| char password[9]; |
|
| char dbName[16]; |
|
| } |
|
typedef struct ca_database_list_s ca_database_list_t
| struct ca_database_list_s |
|
| { |
|
| char name[16]; |
|
| ca_database_t db; |
|
| } |
|
typedef struct GSList ca_source_t
| struct GSList |
|
| { |
|
| gpointer src; |
|
| GSList* next; |
|
| } |
|
pthread_mutex_t Lock
char newPort[16]
External Variables
dictionary
extern dict_t dictionary[]
globals
extern values_t globals[]
locals
extern values_t locals[]
confVars
extern values_t confVars[]
ripe
extern ca_database_t ripe
arin
extern ca_database_t arin
radb
extern ca_database_t radb
ripeComponent
extern ca_database_list_t ripeComponent
arinComponent
extern ca_database_list_t arinComponent
radbComponent
extern ca_database_list_t radbComponent
sourceList
extern GSList* sourceList
srcList
extern ca_source_t* srcList
testFile
extern const char* testFile
tempFile
extern const char* tempFile
dictFile
extern const char* dictFile
confFile
extern const char* confFile