| Server IP : 121.121.20.254 / Your IP : 216.73.216.70 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/usr/share/snmp/mib2c-data/ |
Upload File : |
############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
########################################################################
@if $m2c_create_fewer_files != 1@
@eval $m2c_save = "$name"@
@eval $name = "${name}_enums"@
@open ${name}.h@
/*
* Note: this file originally auto-generated by mib2c
* using generic-table-enums.m2c
*/
@include generic-header-top.m2i@
@eval $name = "$m2c_save"@
@end@ // m2c_create_fewer_files
########################################################################
@if $m2c_mark_boundary == 1@
/** START header generated by generic-table-enums.m2c */
@end@
##
/*
* NOTES on enums
* ==============
*
* Value Mapping
* -------------
* If the values for your data type don't exactly match the
* possible values defined by the mib, you should map them
* below. For example, a boolean flag (1/0) is usually represented
* as a TruthValue in a MIB, which maps to the values (1/2).
*
*/
##
##
/*************************************************************************
*************************************************************************
*
* enum definitions for table $context
*
*************************************************************************
*************************************************************************/
@ foreach $node column@
@ include m2c_setup_node.m2i@
@ if $node.enums == 1@
@ include details-enums.m2i@
@ end@
@ end@ # column
@if $m2c_create_fewer_files != 1@
@eval $m2c_save = "$name"@
@eval $name = "${name}_enums"@
@include generic-header-bottom.m2i@
@eval $name = "$m2c_save"@
@end@
########################################################################
@if $m2c_mark_boundary == 1@
/** END header generated by generic-table-enums.m2c */
@end@