library/src/decoders/HTML/BP-HTMLDecoder.cc
// Retrieves the number of form variables found in a form list
Retrieves the number of form variables found in a form list
Retrieves the number of form variables found in a form list
size_t HTMLGetFormVarCount(P_BP_HTML_FORM_LIST vars){
	if(!vars)
		return 0;
	if(!vars->inputs)
		return 0;
	P_BP_HTML_INPUT_LIST inputs = vars->inputs->first;
	size_t count = 0;
	for(; inputs; inputs = inputs->next)
		count++;
	return count;
}
size_t HTMLGetFormVarCount ( P_BP_HTML_FORM_LIST vars ) { if ( ! vars ) return 0 ; if ( ! vars -> inputs ) return 0 ; P_BP_HTML_INPUT_LIST inputs = vars -> inputs -> first ; size_t count = 0 ; for ( ; inputs ; inputs = inputs -> next ) count ++ ; return count ; }
Retrieves the number of form variables found in a form list
Retrieves the number of form variables found in a form list