Lines Matching refs:state
71 curlntlm *state; in Curl_input_ntlm() local
76 state = proxy ? &conn->proxy_ntlm_state : &conn->http_ntlm_state; in Curl_input_ntlm()
100 *state = NTLMSTATE_TYPE2; /* We got a type-2 message */ in Curl_input_ntlm()
103 if(*state == NTLMSTATE_LAST) { in Curl_input_ntlm()
107 else if(*state == NTLMSTATE_TYPE3) { in Curl_input_ntlm()
110 *state = NTLMSTATE_NONE; in Curl_input_ntlm()
113 else if(*state >= NTLMSTATE_TYPE1) { in Curl_input_ntlm()
118 *state = NTLMSTATE_TYPE1; /* We should send away a type-1 */ in Curl_input_ntlm()
147 curlntlm *state; in Curl_output_ntlm() local
156 allocuserpwd = &data->state.aptr.proxyuserpwd; in Curl_output_ntlm()
157 userp = data->state.aptr.proxyuser; in Curl_output_ntlm()
158 passwdp = data->state.aptr.proxypasswd; in Curl_output_ntlm()
163 state = &conn->proxy_ntlm_state; in Curl_output_ntlm()
164 authp = &data->state.authproxy; in Curl_output_ntlm()
170 allocuserpwd = &data->state.aptr.userpwd; in Curl_output_ntlm()
171 userp = data->state.aptr.user; in Curl_output_ntlm()
172 passwdp = data->state.aptr.passwd; in Curl_output_ntlm()
177 state = &conn->http_ntlm_state; in Curl_output_ntlm()
178 authp = &data->state.authhost; in Curl_output_ntlm()
205 if(*state == NTLMSTATE_TYPE3) in Curl_output_ntlm()
206 *state = NTLMSTATE_LAST; in Curl_output_ntlm()
208 switch(*state) { in Curl_output_ntlm()
247 *state = NTLMSTATE_TYPE3; /* we send a type-3 */ in Curl_output_ntlm()