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