1 | /* A test program to test the get and set functions. */ 2 | 3 | #include <stdio.h> 4 | #include <glib.h> 5 | #include <string.h> 6 | #include <stdlib.h> 7 | #include "ca_libs.h" 8 | #include "ca_dictSyms.h" 9 | #include "ca_macros.h" 10 | 11 | #define DEBUG /* Debug this file. */ 12 | 13 | int main () 14 | { 15 | ca_source_t *srcList; 16 | srcList = NULL; /* Initialise the linked list of sources. */ 17 | 18 | ca_populateDictionary(dictionary, VARS); 19 | ca_getDictionary(dictionary, VARS); 20 | ca_readConfig(confFile, confVars, VARS); 21 | ca_getConfig(confVars, VARS); 22 | ca_getAllSources(sourceList); 23 | 24 | return (0); 25 | }