Cross reference for include/ca_defs.h of index.

# File include/ca_defs.h

     * 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

- `#include <pthread.h>`

- `#include <glib.h>`

## Preprocessor definitions

`#define VARS 86`

`#define SCOPE_GLOBAL 1`

`#define SCOPE_LOCAL 99`

`#define STRLENGTH 160`

`#define STRLENGTH_S 40`

`#define STRLENGTH_M 80`

`#define STRLENGTH_L 160`

`#define STRLENGTH_XL 320`

`#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 dict_t

`typedef struct dict_s dict_t`

`struct dict_s` |
`{` |
`char varName[160];` |
`char varSym[160];` |
`char varType[160];` |
`int varScope;` |
`int varNum;` |
`}` |

## Typedef values_t

`typedef struct values_s values_t`

`struct values_s` |
`{` |
`char* strPtr;` |
`void* valPtr;` |
`}` |

## Typedef ca_database_t

`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 ca_database_list_t

`typedef struct ca_database_list_s ca_database_list_t`

`struct ca_database_list_s` |
`{` |
`char name[16];` |
`ca_database_t db;` |
`}` |

## Typedef ca_source_t

`typedef struct GSList ca_source_t`

`struct GSList` |
`{` |
`gpointer src;` |
`GSList* next;` |
`}` |

## Global Variable Lock

`pthread_mutex_t Lock`

Visible in: |  | include/ca_defs.h
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_defs.h
|  | modules/ca/ca_dictStruct.c
|  | modules/ca/ca_testSetUp.c
|  | modules/ca/ca_testing.c
|  | modules/ca/ca_values.c
Used in: | ca_get_boolean() | modules/ca/ca_configFns.c
| ca_get_int() | modules/ca/ca_configFns.c
| ca_set_boolean() | modules/ca/ca_configFns.c
| ca_set_string() | modules/ca/ca_configFns.c

## Global Variable newPort

`char newPort[16]`

Visible in: |  | include/ca_defs.h
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_defs.h
|  | modules/ca/ca_dictStruct.c
|  | modules/ca/ca_testSetUp.c
|  | modules/ca/ca_testing.c
|  | modules/ca/ca_values.c

## External Variables

dictionary
`extern dict_t dictionary[]`

Defined in: | modules/ca/ca_dictStruct.c

globals
`extern values_t globals[]`

Defined in: | modules/ca/ca_values.c

locals
`extern values_t locals[]`

Defined in: | modules/ca/ca_values.c

confVars
`extern values_t confVars[]`

Defined in: | modules/ca/ca_values.c

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`

Defined in: | modules/ca/ca_values.c

srcList
`extern ca_source_t* srcList`

testFile
`extern const char* testFile`

Defined in: | modules/ca/ca_values.c

tempFile
`extern const char* tempFile`

Defined in: | modules/ca/ca_values.c

dictFile
`extern const char* dictFile`

Defined in: | modules/ca/ca_values.c

confFile
`extern const char* confFile`

Defined in: | modules/ca/ca_values.c