Lines Matching refs:part
3 * This software is part of the BSD package *
85 * Ouput message part to op.
88 part(register struct parse* pp, FILE* op, struct part* ap, off_t size, char* prefix, int prefixlen, int emptylen, unsigned long flags)
109 (s = mimeview(state.part.mime, NiL, "", ap->type, NiL)))
117 (s = mimeview(state.part.mime, NiL, state.tmp.more, ap->type, NiL))) {
195 struct part* ap;
263 if (ap = state.part.in.head) {
268 note(DEBUG, "interpolate boundary=%s offset=%ld size=%ld", state.part.out.boundary, (long)ap->raw.offset, (long)ap->raw.size);
269 fprintf(op, "\n--%s\n", state.part.out.boundary);
271 if (part(&pp, op, &state.part.global, ap->raw.size, prefix, prefixlen, emptylen, flags))
275 else if ((ap->flags & PART_body) || (flags & GMIME) && ap->count == 1 && !n && ap->next && !ap->next->lines && mime(1) && (s = mimeview(state.part.mime, NiL, NiL, ap->type, ap->opts))) {
276 note(DEBUG, "copy part text offset=%ld size=%ld lines=%ld", (long)ap->offset, (long)ap->size, (long)ap->lines);
278 if (part(&pp, op, ap, ap->size, prefix, prefixlen, emptylen, flags))
286 else if (part(&pp, op, &state.part.global, pp.count, prefix, prefixlen, emptylen, flags))
637 if (state.part.out.multi)
638 fprintf(fp, "Content-Type: multipart/mixed; boundary=\"%s\"\n", state.part.out.boundary);