snmp_community_mib_module.h
Go to the documentation of this file.
1 /**
2  * @file snmp_community_mib_module.h
3  * @brief SNMP COMMUNITY MIB module
4  *
5  * @section License
6  *
7  * Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.
8  *
9  * This file is part of CycloneTCP Open.
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software Foundation,
23  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24  *
25  * @section Description
26  *
27  * The SNMP-MIB describes managed objects which describe the behavior
28  * of an SNMP entity. Refer to RFC 3418 for more details
29  *
30  * @author Oryx Embedded SARL (www.oryx-embedded.com)
31  * @version 1.9.0
32  **/
33 
34 #ifndef _SNMP_COMMUNITY_MIB_MODULE_H
35 #define _SNMP_COMMUNITY_MIB_MODULE_H
36 
37 //Dependencies
38 #include "mibs/mib_common.h"
39 #include "snmp/snmp_agent.h"
40 
41 //SNMP COMMUNITY MIB module support
42 #ifndef SNMP_COMMUNITY_MIB_SUPPORT
43  #define SNMP_COMMUNITY_MIB_SUPPORT DISABLED
44 #elif (SNMP_COMMUNITY_MIB_SUPPORT != ENABLED && SNMP_COMMUNITY_MIB_SUPPORT != DISABLED)
45  #error SNMP_COMMUNITY_MIB_SUPPORT parameter is not valid
46 #endif
47 
48 //C++ guard
49 #ifdef __cplusplus
50  extern "C" {
51 #endif
52 
53 
54 /**
55  * @brief SNMP COMMUNITY MIB base
56  **/
57 
58 typedef struct
59 {
63 
64 
65 //SNMP COMMUNITY MIB related constants
67 extern const MibObject snmpCommunityMibObjects[];
69 
70 //C++ guard
71 #ifdef __cplusplus
72  }
73 #endif
74 
75 #endif
const MibModule snmpCommunityMibModule
SNMP COMMUNITY MIB module.
#define MibObject
Definition: mib_common.h:44
User table entry.
SNMP COMMUNITY MIB base.
SNMP agent (Simple Network Management Protocol)
const MibObject snmpCommunityMibObjects[]
SNMP COMMUNITY MIB objects.
Common definitions for MIB modules.
SnmpCommunityMibBase snmpCommunityMibBase
SNMP COMMUNITY MIB base.
#define SnmpAgentContext
Definition: snmp_agent.h:34
MIB module.
Definition: mib_common.h:285