Lines Matching refs:mimesetstate
279 static void mimesetstate(struct mime_state *state, in mimesetstate() function
929 mimesetstate(&part->state, in readback_part()
936 mimesetstate(&part->state, MIMESTATE_EOH, NULL); in readback_part()
940 mimesetstate(&part->state, MIMESTATE_USERHEADERS, hdr->next); in readback_part()
946 mimesetstate(&part->state, MIMESTATE_USERHEADERS, part->userheaders); in readback_part()
951 mimesetstate(&part->state, part->state.state, hdr->next); in readback_part()
958 mimesetstate(&part->state, MIMESTATE_BODY, NULL); in readback_part()
962 mimesetstate(&part->state, MIMESTATE_CONTENT, NULL); in readback_part()
971 mimesetstate(&part->state, MIMESTATE_END, NULL); in readback_part()
1014 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, mime->firstpart); in mime_subparts_read()
1024 mimesetstate(&mime->state, MIMESTATE_BOUNDARY2, part); in mime_subparts_read()
1034 mimesetstate(&mime->state, MIMESTATE_CONTENT, part); in mime_subparts_read()
1039 mimesetstate(&mime->state, MIMESTATE_END, NULL); in mime_subparts_read()
1050 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, part->nextpart); in mime_subparts_read()
1097 mimesetstate(&part->state, targetstate, NULL); in mime_part_rewind()
1122 mimesetstate(&mime->state, MIMESTATE_BEGIN, NULL); in mime_subparts_seek()
1303 mimesetstate(&mime->state, MIMESTATE_BEGIN, NULL); in curl_mime_init()
1314 mimesetstate(&part->state, MIMESTATE_BEGIN, NULL); in Curl_mime_initpart()
1781 mimesetstate(&part->state, MIMESTATE_CURLHEADERS, NULL); in Curl_mime_prepare_headers()
1885 mimesetstate(&part->state, MIMESTATE_CURLHEADERS, part->curlheaders); in Curl_mime_prepare_headers()