Esempio n. 1
0
static void gppfile(void *handle, const char *name, Conf *conf, int primary)
{
    Filename *result = read_setting_filename(handle, name);
    if (!result)
	result = platform_default_filename(name);
    conf_set_filename(conf, primary, result);
    filename_free(result);
}
Esempio n. 2
0
static void gppfile(void *handle, const char *name, Filename *result)
{
    if (!read_setting_filename(handle, name, result))
	*result = platform_default_filename(name);
}
Esempio n. 3
0
static void gppfile(IStore* iStorage, void *handle, const char *name, Filename *result)
{
    if (!iStorage->read_setting_filename(handle, name, result))
	*result = platform_default_filename(name);
}