CVSROOT:        /cvs
Module name:    src
Changes by:     jac...@cvs.openbsd.org  2009/09/15 04:54:59

Modified files:
        usr.sbin/bgpd  : buffer.c imsg.h 
        usr.sbin/dvmrpd: buffer.c imsg.h 
        usr.sbin/ldpd  : buffer.c imsg.h 
        usr.sbin/ntpd  : buffer.c imsg.h 
        usr.sbin/ospf6d: buffer.c imsg.h 
        usr.sbin/ospfd : buffer.c imsg.h 
        usr.sbin/relayd: buffer.c imsg.h 
        usr.sbin/ripd  : buffer.c imsg.h 
        usr.sbin/smtpd : buffer.c imsg.h 
        usr.sbin/snmpd : buffer.c imsg.h 
        usr.sbin/ypldap: buffer.c imsg.h 

Log message:
Enclose repeated buffer draining code in a new msgbuf_drain()
function, which is additionally exported for use by others.

It will be needed by smtpd's SSL module when the SMTP client code
is changed to replace libevent's evbuffers with our msgbuf_* API.

ok gilles@ henning@ guenther@ eric@

Reply via email to