int GetVariableNum(VariableSpace space, const char *name, int defaultval, int faultval, bool allowtrail) { const char *val; val = GetVariable(space, name); return ParseVariableNum(val, defaultval, faultval, allowtrail); }
static void fetch_count_hook(const char *newval) { pset.fetch_count = ParseVariableNum(newval, -1, -1, false); }