Searched refs:VBUF_PUT (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dvbuf.c14 /* int VBUF_PUT(bp, ch)
77 /* VBUF_PUT() stores one character into the specified buffer. The result
78 /* is the stored character, or VBUF_EOF in case of problems. VBUF_PUT()
82 /* made available, so that it can be accessed without using VBUF_PUT().
128 /* put_ready() is called when VBUF_PUT() detects a buffer-full condition.
132 /* bytes available for access without using VBUF_PUT(). The result is 0
187 return (bp->put_ready(bp) ? VBUF_EOF : VBUF_PUT(bp, ch));
226 if (VBUF_PUT(bp, buf[count]) < 0)
H A Dvbuf.h18 * 3) VBUF_PUT() operations that automatically handle buffer empty and
21 * where calling VBUF_PUT() is not possible or desirable.
89 #define VBUF_PUT(v,c) ((v)->cnt > 0 ? --(v)->cnt, \ macro
H A Dvbuf_print.c144 VBUF_PUT((bp), _ch); \
173 VBUF_PUT(bp, *cp); /* ordinary character */
175 VBUF_PUT(bp, *cp++); /* %% becomes % */
H A Dvstring.h83 #define VSTRING_ADDCH(vp, ch) VBUF_PUT(&(vp)->vbuf, ch)
H A Dvstream.h114 #define VSTREAM_PUTC(ch, vp) VBUF_PUT(&(vp)->buf, (ch))

Completed in 128 milliseconds