Lines Matching refs:mimesetstate
271 static void mimesetstate(mime_state *state, enum mimestate tok, void *ptr)
833 mimesetstate(&part->state, part->flags & MIME_BODY_ONLY? MIMESTATE_BODY:
838 mimesetstate(&part->state, MIMESTATE_EOH, NULL);
842 mimesetstate(&part->state, MIMESTATE_USERHEADERS, hdr->next);
848 mimesetstate(&part->state, MIMESTATE_USERHEADERS, part->userheaders);
853 mimesetstate(&part->state, part->state.state, hdr->next);
859 mimesetstate(&part->state, MIMESTATE_BODY, NULL);
872 mimesetstate(&part->state, MIMESTATE_CONTENT, NULL);
881 mimesetstate(&part->state, MIMESTATE_END, NULL);
942 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, mime->firstpart);
951 mimesetstate(&mime->state, MIMESTATE_BOUNDARY2, part);
966 mimesetstate(&mime->state, MIMESTATE_CONTENT, part);
971 mimesetstate(&mime->state, MIMESTATE_END, NULL);
984 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, part->nextpart);
1041 mimesetstate(&part->state, targetstate, NULL);
1066 mimesetstate(&mime->state, MIMESTATE_BEGIN, NULL);
1242 mimesetstate(&mime->state, MIMESTATE_BEGIN, NULL);
1253 mimesetstate(&part->state, MIMESTATE_BEGIN, NULL);
1702 mimesetstate(&part->state, MIMESTATE_CURLHEADERS, NULL);
1805 mimesetstate(&part->state, MIMESTATE_CURLHEADERS, part->curlheaders);