From owner-cvs-all Fri Sep 13 3:33:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FFB037B400; Fri, 13 Sep 2002 03:33:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E757843E42; Fri, 13 Sep 2002 03:33:10 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from freefall.freebsd.org (phk@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8DAXAJU006403; Fri, 13 Sep 2002 03:33:10 -0700 (PDT) (envelope-from phk@freefall.freebsd.org) Received: (from phk@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8DAXA0q006395; Fri, 13 Sep 2002 03:33:10 -0700 (PDT) Message-Id: <200209131033.g8DAXA0q006395@freefall.freebsd.org> From: Poul-Henning Kamp Date: Fri, 13 Sep 2002 03:33:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom.h geom_enc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/09/13 03:33:10 PDT Modified files: sys/geom geom.h geom_enc.c Log: Add a couple more of the big/little-endian conversion routines and make them visible from userland, if need be. I wish that the C language contained this as part of struct definintions, but failing that, I would settle for an agreed upon set of functions for packing/unpacking integers in various sizes from byte-streams which may have unfriendly alignment. This really belongs in I guess. Revision Changes Path 1.21 +9 -6 src/sys/geom/geom.h 1.4 +16 -0 src/sys/geom/geom_enc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message