]>
Commit | Line | Data |
---|---|---|
14c7c974 A |
1 | /* |
2 | * string table functions. | |
3 | */ | |
4 | ||
5 | #import "saio_types.h" | |
6 | ||
7 | extern char * | |
8 | newStringFromList( | |
9 | char **list, | |
10 | int *size | |
11 | ); | |
12 | extern int stringLength(char *table, int compress); | |
13 | extern BOOL getValueForStringTableKey(char *table, char *key, char **val, int *size); | |
14 | extern char *newStringForStringTableKey( | |
15 | char *table, | |
16 | char *key | |
17 | ); | |
18 | extern BOOL getValueForBootKey(char *line, char *match, char **matchval, int *len); | |
19 | extern BOOL getValueForKey( | |
20 | char *key, | |
21 | char **val, | |
22 | int *size | |
23 | ); | |
24 | extern char * | |
25 | loadLocalizableStrings( | |
26 | char *name | |
27 | ); | |
28 | extern char * | |
29 | bundleLongName( | |
30 | char *bundleName | |
31 | ); | |
32 | extern loadConfigFile( char *configFile, char **table, int allocTable); | |
33 | extern int | |
34 | loadConfigDir( | |
35 | char *bundleName, // bundle directory name (e.g. "System.config") | |
36 | int useDefault, // use Default.table instead of instance tables | |
37 | char **table, // returns pointer to config table | |
38 | int allocTable // zalloc the table and return in *table | |
39 | ); | |
40 | extern loadSystemConfig( | |
41 | char *which, | |
42 | int size | |
43 | ); | |
44 | extern int | |
45 | loadOtherConfigs( | |
46 | int useDefault | |
47 | ); | |
48 | ||
49 | ||
50 | ||
51 | ||
52 |