/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ /* * rx_misc.h - Various RX configuration macros. */ #ifndef _RX_MISC_H_ #define _RX_MISC_H_ #if defined(AFS_SUN5_ENV) #include #include #endif #if defined(AFS_AIX41_ENV) && defined(KERNEL) #define PIN(a, b) pin(a, b); #define UNPIN(a, b) unpin(a, b); #else #define PIN(a, b) ; #define UNPIN(a, b) ; #endif /* Include the following to use the lock data base. */ /* #define RX_LOCKS_DB 1 */ /* The lock database uses a file id number and the line number to identify * where in the code a lock was obtained. Each file containing locks * has a separate file id called: rxdb_fileID. */ #define RXDB_FILE_RX 1 /* rx.c */ #define RXDB_FILE_RX_EVENT 2 /* rx_event.c */ #define RXDB_FILE_RX_PACKET 3 /* rx_packet.c */ #define RXDB_FILE_RX_RDWR 4 /* rx_rdwr.c */ #endif /* _RX_MISC_H_ */