Searched refs:mechtable (Results 1 – 1 of 1) sorted by relevance
58 } mechtable[] = { variable1245 for(i = 0; mechtable[i].name; i++) { in Curl_sasl_decode_mech()1246 if(maxlen >= mechtable[i].len && in Curl_sasl_decode_mech()1247 !memcmp(ptr, mechtable[i].name, mechtable[i].len)) { in Curl_sasl_decode_mech()1249 *len = mechtable[i].len; in Curl_sasl_decode_mech()1251 if(maxlen == mechtable[i].len) in Curl_sasl_decode_mech()1252 return mechtable[i].bit; in Curl_sasl_decode_mech()1254 c = ptr[mechtable[i].len]; in Curl_sasl_decode_mech()1256 return mechtable[i].bit; in Curl_sasl_decode_mech()