$NetBSD: patch-bn,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $ Index: include/nasd/netbsd/nasd_netbsd_common.h =================================================================== RCS file: include/nasd/netbsd/nasd_netbsd_common.h diff -N include/nasd/netbsd/nasd_netbsd_common.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ include/nasd/netbsd/nasd_netbsd_common.h 21 Mar 2005 17:07:29 -0000 1.2 @@ -0,0 +1,44 @@ +/* + * nasd_netbsd_common.h + * + * NetBSD-specific shared header file for NASD entities - basic + * prototypes for library functions + * + * Authors: Jim Zelenka, Marc Unangst + */ +/* + * Copyright (c) of Carnegie Mellon University, 1999. + * + * Permission to reproduce, use, and prepare derivative works of + * this software for internal use is granted provided the copyright + * and "No Warranty" statements are included with all reproductions + * and derivative works. This software may also be redistributed + * without charge provided that the copyright and "No Warranty" + * statements are included in all redistributions. + * + * NO WARRANTY. THIS SOFTWARE IS FURNISHED ON AN "AS IS" BASIS. + * CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER + * EXPRESSED OR IMPLIED AS TO THE MATTER INCLUDING, BUT NOT LIMITED + * TO: WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY + * OF RESULTS OR RESULTS OBTAINED FROM USE OF THIS SOFTWARE. CARNEGIE + * MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT + * TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. + */ + + +#ifndef _NASD__NASD_NETBSD_COMMON_H_ +#define _NASD__NASD_NETBSD_COMMON_H_ + +#include + +#define nasd_hton16(_v_) htons(_v_) +#define nasd_ntoh16(_v_) ntohs(_v_) +#define nasd_hton32(_v_) htonl(_v_) +#define nasd_ntoh32(_v_) ntohl(_v_) + +#endif /* !_NASD__NASD_NETBSD_COMMON_H_ */ + +/* Local Variables: */ +/* indent-tabs-mode: nil */ +/* tab-width: 2 */ +/* End: */