/* * string table functions. */ #import "saio_types.h" extern char * newStringFromList( char **list, int *size ); extern int stringLength(char *table, int compress); extern BOOL getValueForStringTableKey(char *table, char *key, char **val, int *size); extern char *newStringForStringTableKey( char *table, char *key ); extern BOOL getValueForBootKey(char *line, char *match, char **matchval, int *len); extern BOOL getValueForKey( char *key, char **val, int *size ); extern char * loadLocalizableStrings( char *name ); extern char * bundleLongName( char *bundleName ); extern loadConfigFile( char *configFile, char **table, int allocTable); extern int loadConfigDir( char *bundleName, // bundle directory name (e.g. "System.config") int useDefault, // use Default.table instead of instance tables char **table, // returns pointer to config table int allocTable // zalloc the table and return in *table ); extern loadSystemConfig( char *which, int size ); extern int loadOtherConfigs( int useDefault );