OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright 2000, International Business Machines Corporation and others. 00003 * All Rights Reserved. 00004 * 00005 * This software has been released under the terms of the IBM Public 00006 * License. For details, see the LICENSE file in the top-level source 00007 * directory or online at http://www.openafs.org/dl/license10.html 00008 */ 00009 00010 /* 00011 * rx_misc.h - Various RX configuration macros. 00012 */ 00013 00014 #ifndef _RX_MISC_H_ 00015 #define _RX_MISC_H_ 00016 00017 #if defined(AFS_SUN5_ENV) 00018 #include <sys/sockio.h> 00019 #include <sys/fcntl.h> 00020 #endif 00021 00022 #if defined(AFS_AIX41_ENV) && defined(KERNEL) 00023 #define PIN(a, b) pin(a, b); 00024 #define UNPIN(a, b) unpin(a, b); 00025 #else 00026 #define PIN(a, b) ; 00027 #define UNPIN(a, b) ; 00028 #endif 00029 00030 00031 00032 /* Include the following to use the lock data base. */ 00033 /* #define RX_LOCKS_DB 1 */ 00034 /* The lock database uses a file id number and the line number to identify 00035 * where in the code a lock was obtained. Each file containing locks 00036 * has a separate file id called: rxdb_fileID. 00037 */ 00038 #define RXDB_FILE_RX 1 /* rx.c */ 00039 #define RXDB_FILE_RX_EVENT 2 /* rx_event.c */ 00040 #define RXDB_FILE_RX_PACKET 3 /* rx_packet.c */ 00041 #define RXDB_FILE_RX_RDWR 4 /* rx_rdwr.c */ 00042 00043 #endif /* _RX_MISC_H_ */