/usr/share/snmp/mib2c-data/generic-table-constants.m2c is in libsnmp-base 5.4.3~dfsg-2.4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id: generic-table-constants.m2c 12526 2005-07-15 22:41:16Z rstory $
########################################################################
@if $m2c_create_fewer_files != 1@
@ foreach $table table@
@ include m2c_setup_table.m2i@
@ run generic-table-oids.m2c@
@ run generic-table-enums.m2c@
@ end@ # table
########################################################################
@else@
@ eval $hack = "Id"@
@ eval $m2c_save = "$name"@
@ eval $name = "${m2c_save}_constants"@
@ open ${name}.h@
/*
* Note: this file originally auto-generated by mib2c using
* $Id: generic-table-constants.m2c 12526 2005-07-15 22:41:16Z rstory $
*
* $$hack:$
*/
########################################################################
@ if $m2c_mark_boundary == 1@
/** START header generated by $RCSfile$ $Revision: 12526 $ */
@ end@
########################################################################
@ include generic-header-top.m2i@
@ eval $name = "$m2c_save"@
@ foreach $table table@
@ include m2c_setup_table.m2i@
@ include generic-table-oids.m2c@
@ include generic-table-enums.m2c@
@ end@ # table
@ eval $m2c_save = "$name"@
@ eval $name = "${m2c_save}_oids"@
@ include generic-header-bottom.m2i@
@ eval $name = "$m2c_save"@
########################################################################
@ if $m2c_mark_boundary == 1@
/** END header generated by $RCSfile$ $Revision: 12526 $ */
@ end@
@end@ // m2c_create_fewer_files
|