modules/ca/ca_libs.h
/* [<][>][^][v][top][bottom][index][help] */
FUNCTIONS
This source file includes following functions.
1 #include "ca_defs.h"
2
3 void stringPack(char *, const char *);
4
5 /*
6 * This function prototype is for a function which reads a file and
7 * splits it into tokens.
8 *
9 */
10 void opSplitsen(FILE *, gchar **);
11
12 /*********************************************************************
13 * ca_populateDictionary() function -- populates the dictionary with the
14 * contents of the dictionary file.
15 *
16 * Parameters
17 * woordenbook[] -- an array of dictionary structures.
18 * size -- the size of the array.
19 *
20 * Returns
21 * Nothing.
22 *
23 *********************************************************************/
24
25 void ca_populateDictionary(dict_t [], int);
26
27 void getDictionary(dict_t [], int);
28
29 /*
30 * readConfig()
31 * Reads the configuration text file.
32 */
33
34 void ca_readConfig(const char *, values_t [], int);
35
36 void ca_init(values_t [], values_t []);
37
38
39 /*
40 * The get functions.
41 */
42 int ca_get_int(int);
43 char *ca_get_dirlist(int);
44 char *ca_get_string(int);
45 int ca_get_boolean(int symbol);
46
47 /*
48 * The set functions.
49 */
50 void ca_set_int(int);
51 void ca_set_dirlist(int);
52 void ca_set_string(int);
53 void ca_set_boolean(int symbol);
54
55 /*
56 * The get functions for the database and SOURCE variables.
57 */
58 void ca_getDatabase(ca_database_t);
59 void ca_getSource(ca_database_list_t);
60 void ca_getSourcePtr(ca_database_list_t *);
61 void ca_getAllSources(GSList *);
62
63 /*
64 * The get function for the Dictionary.
65 *
66 */
67 void ca_getDictionary(dict_t [], int);
68
69 /*
70 * The get function for the string elements of the
71 * the configuration structure.
72 */
73 void ca_getConfig(values_t [], int);
74