1/*	$NetBSD$	*/
2
3/*
4 * Copyright (C) 2008  Internet Systems Consortium, Inc. ("ISC")
5 *
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 * PERFORMANCE OF THIS SOFTWARE.
17 */
18
19/* Id: bitypes.h,v 1.2 2008/11/14 02:54:35 tbox Exp */
20
21#ifndef __BIT_TYPES_DEFINED__
22#define __BIT_TYPES_DEFINED__
23
24	/*
25	 * Basic integral types.  Omit the typedef if
26	 * not possible for a machine/compiler combination.
27	 */
28	typedef /*signed*/ char            int8_t;
29	typedef unsigned char            u_int8_t;
30	typedef short                     int16_t;
31	typedef unsigned short          u_int16_t;
32	typedef int                       int32_t;
33	typedef unsigned int            u_int32_t;
34
35# if 0	/* don't fight with these unless you need them */
36	typedef long long                 int64_t;
37	typedef unsigned long long      u_int64_t;
38# endif
39
40#endif	/* __BIT_TYPES_DEFINED__ */
41