Date: Wed, 2 Feb 2011 15:53:09 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/hastd proto.c proto.h proto_common.c proto_impl.h proto_socketpair.c proto_tcp4.c proto_uds.c Message-ID: <201102021553.p12FrLeM013141@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2011-02-02 15:53:09 UTC
FreeBSD src repository
Modified files:
sbin/hastd proto.c proto.h proto_common.c
proto_impl.h proto_socketpair.c
proto_tcp4.c proto_uds.c
Log:
SVN rev 218194 on 2011-02-02 15:53:09Z by pjd
- Rename proto_descriptor_{send,recv}() functions to
proto_connection_{send,recv} and change them to return proto_conn
structure. We don't operate directly on descriptors, but on
proto_conns.
- Add wrap method to wrap descriptor with proto_conn.
- Remove methods to send and receive descriptors and implement this
functionality as additional argument to send and receive methods.
MFC after: 1 week
Revision Changes Path
1.11 +56 -11 src/sbin/hastd/proto.c
1.7 +4 -2 src/sbin/hastd/proto.h
1.8 +55 -50 src/sbin/hastd/proto_common.c
1.6 +20 -24 src/sbin/hastd/proto_impl.h
1.7 +9 -39 src/sbin/hastd/proto_socketpair.c
1.12 +52 -8 src/sbin/hastd/proto_tcp4.c
1.8 +4 -32 src/sbin/hastd/proto_uds.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102021553.p12FrLeM013141>
