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