1 |
786 |
skrzyp |
//==========================================================================
|
2 |
|
|
//
|
3 |
|
|
// ./agent/current/include/mib_module_config.h
|
4 |
|
|
//
|
5 |
|
|
//
|
6 |
|
|
//==========================================================================
|
7 |
|
|
// ####ECOSGPLCOPYRIGHTBEGIN####
|
8 |
|
|
// -------------------------------------------
|
9 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
10 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
11 |
|
|
//
|
12 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
13 |
|
|
// the terms of the GNU General Public License as published by the Free
|
14 |
|
|
// Software Foundation; either version 2 or (at your option) any later
|
15 |
|
|
// version.
|
16 |
|
|
//
|
17 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT
|
18 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
19 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
20 |
|
|
// for more details.
|
21 |
|
|
//
|
22 |
|
|
// You should have received a copy of the GNU General Public License
|
23 |
|
|
// along with eCos; if not, write to the Free Software Foundation, Inc.,
|
24 |
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
25 |
|
|
//
|
26 |
|
|
// As a special exception, if other files instantiate templates or use
|
27 |
|
|
// macros or inline functions from this file, or you compile this file
|
28 |
|
|
// and link it with other works to produce a work based on this file,
|
29 |
|
|
// this file does not by itself cause the resulting work to be covered by
|
30 |
|
|
// the GNU General Public License. However the source code for this file
|
31 |
|
|
// must still be made available in accordance with section (3) of the GNU
|
32 |
|
|
// General Public License v2.
|
33 |
|
|
//
|
34 |
|
|
// This exception does not invalidate any other reasons why a work based
|
35 |
|
|
// on this file might be covered by the GNU General Public License.
|
36 |
|
|
// -------------------------------------------
|
37 |
|
|
// ####ECOSGPLCOPYRIGHTEND####
|
38 |
|
|
//####UCDSNMPCOPYRIGHTBEGIN####
|
39 |
|
|
//
|
40 |
|
|
// -------------------------------------------
|
41 |
|
|
//
|
42 |
|
|
// Portions of this software may have been derived from the UCD-SNMP
|
43 |
|
|
// project, <http://ucd-snmp.ucdavis.edu/> from the University of
|
44 |
|
|
// California at Davis, which was originally based on the Carnegie Mellon
|
45 |
|
|
// University SNMP implementation. Portions of this software are therefore
|
46 |
|
|
// covered by the appropriate copyright disclaimers included herein.
|
47 |
|
|
//
|
48 |
|
|
// The release used was version 4.1.2 of May 2000. "ucd-snmp-4.1.2"
|
49 |
|
|
// -------------------------------------------
|
50 |
|
|
//
|
51 |
|
|
//####UCDSNMPCOPYRIGHTEND####
|
52 |
|
|
//==========================================================================
|
53 |
|
|
//#####DESCRIPTIONBEGIN####
|
54 |
|
|
//
|
55 |
|
|
// Author(s): hmt
|
56 |
|
|
// Contributors: hmt
|
57 |
|
|
// Date: 2000-05-30
|
58 |
|
|
// Purpose: Port of UCD-SNMP distribution to eCos.
|
59 |
|
|
// Description:
|
60 |
|
|
//
|
61 |
|
|
//
|
62 |
|
|
//####DESCRIPTIONEND####
|
63 |
|
|
//
|
64 |
|
|
//==========================================================================
|
65 |
|
|
/********************************************************************
|
66 |
|
|
Copyright 1989, 1991, 1992 by Carnegie Mellon University
|
67 |
|
|
|
68 |
|
|
Derivative Work -
|
69 |
|
|
Copyright 1996, 1998, 1999, 2000 The Regents of the University of California
|
70 |
|
|
|
71 |
|
|
All Rights Reserved
|
72 |
|
|
|
73 |
|
|
Permission to use, copy, modify and distribute this software and its
|
74 |
|
|
documentation for any purpose and without fee is hereby granted,
|
75 |
|
|
provided that the above copyright notice appears in all copies and
|
76 |
|
|
that both that copyright notice and this permission notice appear in
|
77 |
|
|
supporting documentation, and that the name of CMU and The Regents of
|
78 |
|
|
the University of California not be used in advertising or publicity
|
79 |
|
|
pertaining to distribution of the software without specific written
|
80 |
|
|
permission.
|
81 |
|
|
|
82 |
|
|
CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL
|
83 |
|
|
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
|
84 |
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR
|
85 |
|
|
THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL,
|
86 |
|
|
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
87 |
|
|
FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
88 |
|
|
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
89 |
|
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
90 |
|
|
*********************************************************************/
|
91 |
|
|
/* This file is automatically generated by configure. Do not modify by hand. */
|
92 |
|
|
/* Define if compiling with the mibII module files. */
|
93 |
|
|
#define USING_MIBII_MODULE 1
|
94 |
|
|
|
95 |
|
|
/* Define if compiling with the ucd_snmp module files. */
|
96 |
|
|
#define USING_UCD_SNMP_MODULE 1
|
97 |
|
|
|
98 |
|
|
/* Define if compiling with the snmpv3mibs module files. */
|
99 |
|
|
//#define USING_SNMPV3MIBS_MODULE 1
|
100 |
|
|
|
101 |
|
|
/* Define if compiling with the mibII/system_mib module files. */
|
102 |
|
|
#define USING_MIBII_SYSTEM_MIB_MODULE 1
|
103 |
|
|
|
104 |
|
|
/* Define if compiling with the mibII/sysORTable module files. */
|
105 |
|
|
#define USING_MIBII_SYSORTABLE_MODULE 1
|
106 |
|
|
|
107 |
|
|
/* Define if compiling with the mibII/at module files. */
|
108 |
|
|
//#define USING_MIBII_AT_MODULE 1
|
109 |
|
|
|
110 |
|
|
/* Define if compiling with the mibII/interfaces module files. */
|
111 |
|
|
#define USING_MIBII_INTERFACES_MODULE 1
|
112 |
|
|
|
113 |
|
|
/* Define if compiling with the mibII/snmp_mib module files. */
|
114 |
|
|
#define USING_MIBII_SNMP_MIB_MODULE 1
|
115 |
|
|
|
116 |
|
|
/* Define if compiling with the mibII/tcp module files. */
|
117 |
|
|
#define USING_MIBII_TCP_MODULE 1
|
118 |
|
|
|
119 |
|
|
/* Define if compiling with the mibII/icmp module files. */
|
120 |
|
|
#define USING_MIBII_ICMP_MODULE 1
|
121 |
|
|
|
122 |
|
|
/* Define if compiling with the mibII/ip module files. */
|
123 |
|
|
#define USING_MIBII_IP_MODULE 1
|
124 |
|
|
|
125 |
|
|
/* Define if compiling with the mibII/udp module files. */
|
126 |
|
|
#define USING_MIBII_UDP_MODULE 1
|
127 |
|
|
|
128 |
|
|
/* Define if compiling with the mibII/vacm_vars module files. */
|
129 |
|
|
#ifdef CYGPKG_SNMPAGENT_V3_SUPPORT
|
130 |
|
|
#ifdef CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT
|
131 |
|
|
#define USING_MIBII_VACM_VARS_MODULE 1
|
132 |
|
|
#endif
|
133 |
|
|
#endif
|
134 |
|
|
|
135 |
|
|
/* Define if compiling with the ucd-snmp/memory module files. */
|
136 |
|
|
//#define USING_UCD_SNMP_MEMORY_MODULE 1
|
137 |
|
|
|
138 |
|
|
/* Define if compiling with the ucd-snmp/vmstat module files. */
|
139 |
|
|
//#define USING_UCD_SNMP_VMSTAT_MODULE 1
|
140 |
|
|
|
141 |
|
|
/* Define if compiling with the ucd-snmp/proc module files. */
|
142 |
|
|
//#define USING_UCD_SNMP_PROC_MODULE 1
|
143 |
|
|
|
144 |
|
|
/* Define if compiling with the ucd-snmp/versioninfo module files. */
|
145 |
|
|
//#define USING_UCD_SNMP_VERSIONINFO_MODULE 1
|
146 |
|
|
|
147 |
|
|
/* Define if compiling with the ucd-snmp/pass module files. */
|
148 |
|
|
//#define USING_UCD_SNMP_PASS_MODULE 1
|
149 |
|
|
|
150 |
|
|
/* Define if compiling with the ucd-snmp/pass_persist module files. */
|
151 |
|
|
//#define USING_UCD_SNMP_PASS_PERSIST_MODULE 1
|
152 |
|
|
|
153 |
|
|
/* Define if compiling with the ucd-snmp/disk module files. */
|
154 |
|
|
//#define USING_UCD_SNMP_DISK_MODULE 1
|
155 |
|
|
|
156 |
|
|
/* Define if compiling with the ucd-snmp/loadave module files. */
|
157 |
|
|
//#define USING_UCD_SNMP_LOADAVE_MODULE 1
|
158 |
|
|
|
159 |
|
|
/* Define if compiling with the ucd-snmp/extensible module files. */
|
160 |
|
|
//#define USING_UCD_SNMP_EXTENSIBLE_MODULE 1
|
161 |
|
|
|
162 |
|
|
/* Define if compiling with the ucd-snmp/errormib module files. */
|
163 |
|
|
//#define USING_UCD_SNMP_ERRORMIB_MODULE 1
|
164 |
|
|
|
165 |
|
|
/* Define if compiling with the ucd-snmp/registry module files. */
|
166 |
|
|
//#define USING_UCD_SNMP_REGISTRY_MODULE 1
|
167 |
|
|
|
168 |
|
|
/* Define if compiling with the ucd-snmp/file module files. */
|
169 |
|
|
//#define USING_UCD_SNMP_FILE_MODULE 1
|
170 |
|
|
|
171 |
|
|
#ifdef CYGPKG_SNMPAGENT_V3_SUPPORT
|
172 |
|
|
/* Define if compiling with the snmpv3/snmpEngine module files. */
|
173 |
|
|
#define USING_SNMPV3_SNMPENGINE_MODULE 1
|
174 |
|
|
|
175 |
|
|
/* Define if compiling with the snmpv3/snmpMPDStats module files. */
|
176 |
|
|
//#define USING_SNMPV3_SNMPMPDSTATS_MODULE 1
|
177 |
|
|
|
178 |
|
|
/* Define if compiling with the snmpv3/usmStats module files. */
|
179 |
|
|
#define USING_SNMPV3_USMSTATS_MODULE 1
|
180 |
|
|
|
181 |
|
|
/* Define if compiling with the snmpv3/usmUser module files. */
|
182 |
|
|
#define USING_SNMPV3_USMUSER_MODULE 1
|
183 |
|
|
#endif
|
184 |
|
|
|
185 |
|
|
/* Define if compiling with the util_funcs module files. */
|
186 |
|
|
#define USING_UTIL_FUNCS_MODULE 1
|
187 |
|
|
|
188 |
|
|
/* Define if compiling with the mibII/var_route module files. */
|
189 |
|
|
//#define USING_MIBII_VAR_ROUTE_MODULE 1
|
190 |
|
|
|
191 |
|
|
/* Define if compiling with the mibII/route_write module files. */
|
192 |
|
|
//#define USING_MIBII_ROUTE_WRITE_MODULE 1
|
193 |
|
|
|