From owner-cvs-src-old@FreeBSD.ORG Wed Feb 2 15:53:21 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 929B51065749 for ; Wed, 2 Feb 2011 15:53:21 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 642458FC17 for ; Wed, 2 Feb 2011 15:53:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p12FrLRd013142 for ; Wed, 2 Feb 2011 15:53:21 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p12FrLeM013141 for cvs-src-old@freebsd.org; Wed, 2 Feb 2011 15:53:21 GMT (envelope-from pjd@repoman.freebsd.org) Message-Id: <201102021553.p12FrLeM013141@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to pjd@repoman.freebsd.org using -f From: Pawel Jakub Dawidek Date: Wed, 2 Feb 2011 15:53:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 15:53:21 -0000 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