Coda Distributed File System
voltypes.h
Go to the documentation of this file.
1/* BLURB lgpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU Library General Public Licence Version 2, as
11shown in the file LICENSE. The technical and financial contributors to
12Coda are listed in the file CREDITS.
13
14 Additional copyrights
15
16#*/
17
18/*
19 IBM COPYRIGHT NOTICE
20
21 Copyright (C) 1986
22 International Business Machines Corporation
23 All Rights Reserved
24
25This file contains some code identical to or derived from the 1986
26version of the Andrew File System ("AFS"), which is owned by the IBM
27Corporation. This code is provided "AS IS" and IBM does not warrant
28that it is free of infringement of any intellectual rights of any
29third party. IBM disclaims liability of any kind for any damages
30whatsoever resulting directly or indirectly from use of this software
31or of any derivative work. Carnegie Mellon University has obtained
32permission to modify, distribute and sublicense this code, which is
33based on Version 2 of AFS and does not contain the features and
34enhancements that are part of Version 3 of AFS. Version 3 of AFS is
35commercially available and supported by Transarc Corporation,
36Pittsburgh, PA.
37
38*/
39
40#ifndef _VOLTYPES_H_
41#define _VOLTYPES_H_ 1
42
43#ifndef NULL
44#define NULL 0
45#endif
46#ifndef TRUE
47#define TRUE 1
48#endif
49#ifndef FALSE
50#define FALSE 0
51#endif
52
53#include <rpc2/rpc2.h>
54#include <stdint.h>
55
56typedef uint32_t bit32; /* Unsigned, 32 bits */
57typedef uint16_t bit16; /* Unsigned, 16 bits */
58typedef uint8_t byte; /* Unsigned, 8 bits */
59
60typedef bit32 Device; /* Unix device number */
61typedef bit32 Inode; /* Unix inode number */
62typedef bit32 Error; /* Error return code */
63
64#endif
unsigned short uint16_t
Definition: coda.h:103
unsigned int uint32_t
Definition: coda.h:105
unsigned char uint8_t
Definition: coda.h:101
uint16_t bit16
Definition: voltypes.h:57
uint32_t bit32
Definition: voltypes.h:56
bit32 Device
Definition: voltypes.h:60
bit32 Inode
Definition: voltypes.h:61
bit32 Error
Definition: voltypes.h:62
uint8_t byte
Definition: voltypes.h:58