httpVar *
httpdGetNextVariableByPrefix(curVar, prefix)
httpVar *curVar;
const char *prefix;
{
if (curVar)
curVar = curVar->nextVariable;
while (curVar) {
if (strncmp(curVar->name, prefix, strlen(prefix)) == 0)
return (curVar);
curVar = curVar->nextVariable;
}
return (NULL);
}
比较老的C语法,是对的