Lines Matching refs:imapcode

873                                             int imapcode,  in imap_state_servergreet_resp()  argument
879 if(imapcode == IMAP_RESP_PREAUTH) { in imap_state_servergreet_resp()
885 else if(imapcode != IMAP_RESP_OK) { in imap_state_servergreet_resp()
895 int imapcode, in imap_state_capability_resp() argument
906 if(imapcode == '*') { in imap_state_capability_resp()
959 if(imapcode == IMAP_RESP_OK && imapc->tls_supported && !imapc->preauth) { in imap_state_capability_resp()
978 int imapcode, in imap_state_starttls_resp() argument
990 if(imapcode != IMAP_RESP_OK) { in imap_state_starttls_resp()
1007 int imapcode, in imap_state_auth_resp() argument
1016 result = Curl_sasl_continue(&imapc->sasl, data, imapcode, &progress); in imap_state_auth_resp()
1040 int imapcode, in imap_state_login_resp() argument
1046 if(imapcode != IMAP_RESP_OK) { in imap_state_login_resp()
1047 failf(data, "Access denied. %c", imapcode); in imap_state_login_resp()
1059 int imapcode, in imap_state_listsearch_resp() argument
1068 if(imapcode == '*') in imap_state_listsearch_resp()
1070 else if(imapcode != IMAP_RESP_OK) in imap_state_listsearch_resp()
1080 static CURLcode imap_state_select_resp(struct Curl_easy *data, int imapcode, in imap_state_select_resp() argument
1091 if(imapcode == '*') { in imap_state_select_resp()
1108 else if(imapcode == IMAP_RESP_OK) { in imap_state_select_resp()
1140 struct connectdata *conn, int imapcode, in imap_state_fetch_resp() argument
1153 if(imapcode != '*') { in imap_state_fetch_resp()
1239 int imapcode, in imap_state_fetch_final_resp() argument
1246 if(imapcode != IMAP_RESP_OK) in imap_state_fetch_final_resp()
1256 static CURLcode imap_state_append_resp(struct Curl_easy *data, int imapcode, in imap_state_append_resp() argument
1262 if(imapcode != '+') { in imap_state_append_resp()
1281 int imapcode, in imap_state_append_final_resp() argument
1288 if(imapcode != IMAP_RESP_OK) in imap_state_append_final_resp()
1301 int imapcode; in imap_statemachine() local
1317 result = Curl_pp_readresp(data, FIRSTSOCKET, pp, &imapcode, &nread); in imap_statemachine()
1322 if(imapcode == -1) in imap_statemachine()
1325 if(!imapcode) in imap_statemachine()
1331 result = imap_state_servergreet_resp(data, imapcode, imapc->state); in imap_statemachine()
1335 result = imap_state_capability_resp(data, imapcode, imapc->state); in imap_statemachine()
1339 result = imap_state_starttls_resp(data, imapcode, imapc->state); in imap_statemachine()
1343 result = imap_state_auth_resp(data, conn, imapcode, imapc->state); in imap_statemachine()
1347 result = imap_state_login_resp(data, imapcode, imapc->state); in imap_statemachine()
1352 result = imap_state_listsearch_resp(data, imapcode, imapc->state); in imap_statemachine()
1356 result = imap_state_select_resp(data, imapcode, imapc->state); in imap_statemachine()
1360 result = imap_state_fetch_resp(data, conn, imapcode, imapc->state); in imap_statemachine()
1364 result = imap_state_fetch_final_resp(data, imapcode, imapc->state); in imap_statemachine()
1368 result = imap_state_append_resp(data, imapcode, imapc->state); in imap_statemachine()
1372 result = imap_state_append_final_resp(data, imapcode, imapc->state); in imap_statemachine()