venus: Remove dedebug
[openafs.git] / src / rx / rx_misc.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 /*
11  * rx_misc.h - Various RX configuration macros.
12  */
13
14 #ifndef _RX_MISC_H_
15 #define _RX_MISC_H_
16
17 #if defined(AFS_SUN5_ENV)
18 #include <sys/sockio.h>
19 #include <sys/fcntl.h>
20 #endif
21
22 #if     defined(AFS_AIX41_ENV) && defined(KERNEL)
23 #define PIN(a, b) pin(a, b)
24 #define UNPIN(a, b) unpin(a, b)
25 #else
26 #define PIN(a, b)
27 #define UNPIN(a, b)
28 #endif
29
30
31
32 /* Include the following to use the lock data base. */
33 /* #define RX_LOCKS_DB 1 */
34 /* The lock database uses a file id number and the line number to identify
35  * where in the code a lock was obtained. Each file containing locks
36  * has a separate file id called: rxdb_fileID.
37  */
38 #define RXDB_FILE_RX        1   /* rx.c */
39 #define RXDB_FILE_RX_EVENT  2   /* rx_event.c */
40 #define RXDB_FILE_RX_PACKET 3   /* rx_packet.c */
41 #define RXDB_FILE_RX_RDWR   4   /* rx_rdwr.c */
42
43 #endif /* _RX_MISC_H_ */