示例#1
0
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);
}
示例#2
0
static void
fetch_count_hook(const char *newval)
{
    pset.fetch_count = ParseVariableNum(newval, -1, -1, false);
}