| 1 | /* $NetBSD: rf_options.h,v 1.5 2005/12/11 12:23:37 christos Exp $ */ |
| 2 | /* |
| 3 | * rf_options.h |
| 4 | */ |
| 5 | /* |
| 6 | * Copyright (c) 1996 Carnegie-Mellon University. |
| 7 | * All rights reserved. |
| 8 | * |
| 9 | * Author: Jim Zelenka |
| 10 | * |
| 11 | * Permission to use, copy, modify and distribute this software and |
| 12 | * its documentation is hereby granted, provided that both the copyright |
| 13 | * notice and this permission notice appear in all copies of the |
| 14 | * software, derivative works or modified versions, and any portions |
| 15 | * thereof, and that both notices appear in supporting documentation. |
| 16 | * |
| 17 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" |
| 18 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND |
| 19 | * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. |
| 20 | * |
| 21 | * Carnegie Mellon requests users of this software to return to |
| 22 | * |
| 23 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU |
| 24 | * School of Computer Science |
| 25 | * Carnegie Mellon University |
| 26 | * Pittsburgh PA 15213-3890 |
| 27 | * |
| 28 | * any improvements or extensions that they make and grant Carnegie the |
| 29 | * rights to redistribute these changes. |
| 30 | */ |
| 31 | |
| 32 | #ifndef _RF__RF_OPTIONS_H_ |
| 33 | #define _RF__RF_OPTIONS_H_ |
| 34 | |
| 35 | #define RF_DEFAULT_LOCK_TABLE_SIZE 256 |
| 36 | |
| 37 | typedef struct RF_DebugNames_s { |
| 38 | const char *name; |
| 39 | long *ptr; |
| 40 | } RF_DebugName_t; |
| 41 | |
| 42 | extern RF_DebugName_t rf_debugNames[]; |
| 43 | |
| 44 | #ifdef RF_DBG_OPTION |
| 45 | #undef RF_DBG_OPTION |
| 46 | #endif /* RF_DBG_OPTION */ |
| 47 | |
| 48 | #ifdef __STDC__ |
| 49 | #define RF_DBG_OPTION(_option_,_defval_) extern long rf_##_option_; |
| 50 | #else /* __STDC__ */ |
| 51 | #define RF_DBG_OPTION(_option_,_defval_) extern long rf_/**/_option_; |
| 52 | #endif /* __STDC__ */ |
| 53 | #include "rf_optnames.h" |
| 54 | |
| 55 | void rf_ResetDebugOptions(void); |
| 56 | |
| 57 | #endif /* !_RF__RF_OPTIONS_H_ */ |
| 58 | |