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