int config_setting_lookup_int64 (const config_setting_t * setting, const char *name, long long *value) { config_setting_t *member = config_setting_get_member (setting, name); if (!member) return (CONFIG_FALSE); return (__config_setting_get_int64 (member, value)); }
int config_lookup_int64 (const config_t * config, const char *path, long long *value) { const config_setting_t *s = config_lookup (config, path); if (!s) return (CONFIG_FALSE); return (__config_setting_get_int64 (s, value)); }
long long config_setting_get_int64(const config_setting_t *setting) { long long value = 0; __config_setting_get_int64(setting, &value); return(value); }