library/src/decoders/HTML/BP-HTMLDecoder.cc
// Gets a anchor var by position
Gets a anchor var by position
Gets a anchor var by position
P_BP_HTML_ANCHOR_VAR_LIST HTMLGetAnchorVarByPosition(P_BP_HTML_ANCHOR_VAR_LIST vars, size_t position)
{
	if(!vars)
		return NULL;
	size_t index = 1;
	for(vars = vars->first; vars; vars = vars->next)
	{
		if(index == position)
			return vars;
	}
	return NULL;
}
P_BP_HTML_ANCHOR_VAR_LIST HTMLGetAnchorVarByPosition ( P_BP_HTML_ANCHOR_VAR_LIST vars , size_t position ) { if ( ! vars ) return NULL ; size_t index = 1 ; for ( vars = vars -> first ; vars ; vars = vars -> next ) { if ( index == position ) return vars ; } return NULL ; }
Gets a anchor var by position
Gets a anchor var by position
// null checks // index used for counting // walk properties list // if we got the index, return here // if property was not found, return null