Home | History | Annotate | Download | only in mail

Lines Matching refs:obuf

97 statusput(struct message *mp, FILE *obuf, const char *prefix)
108 (void)fprintf(obuf, "%sStatus: %s\n",
120 sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign,
159 obuf = mime_decode_header(mip);
186 statusput(mp, obuf, prefix);
214 statusput(mp, obuf, prefix);
219 (void)putc('\n', obuf);
239 statusput(mp, obuf, prefix);
257 (void)fputs(prefix, obuf);
260 prefixlen, obuf);
262 (void)fwrite(line, sizeof(*line), linelen, obuf);
263 if (ferror(obuf))
274 obuf = mime_decode_body(mip);
276 if (obuf == NULL) { /* XXX - early out */
299 (void)fputs(prefix, obuf);
302 prefixlen, obuf);
303 (void)fwrite(line, sizeof(*line), linelen, obuf);
304 if (ferror(obuf))
316 if (fwrite(line, sizeof(*line), linelen, obuf) != linelen)
325 if ((c = getc(ibuf)) != EOF && putc(c, obuf) == EOF)