/usr/share/snmp/mib2c-data/m2c_setup_table.m2i is in libsnmp-base 5.7.3+dfsg-1.8ubuntu3.
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 45 46 47 48 | ########################################################################
## generic include for XXX. Do not use directly.
##
## $Id$
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision$ */
@end@
########################################################################
##
@if "$m2c_context_name" ne "$table"@
@ eval $m2c_context_name = $table@
@ eval $context = $table@
@ if $m2c_report_progress == 1@
@ print | +-> Processing table $context@
@ end@
@ eval $m2c_context_item = "rowreq_ctx->"@
@ eval $m2c_table_external_indexes = count_external_indexes($context)@
##
@ eval $m2c_undo_embed = $mfd_default_undo_embed@
@ eval $m2c_gda_todo_suppress = 0@ # todo comments
##
## user override
##
@ include ${m2c_defaults_dir}table-${context}.m2d@
##
@ eval $m2c_data_item_base = "${m2c_context_item}data"@
@ if $m2c_data_allocate == 1@
@ eval $m2c_data_item = "${m2c_data_item_base}->"@
@ else@
@ eval $m2c_data_item = "${m2c_data_item_base}."@
@ end@
@ if $m2c_table_settable == 0@
@ eval $m2c_undo_embed = 1@
@ end@
@ eval $m2c_undo_item_base = "${m2c_context_item}undo"@
@ if $m2c_undo_embed == 1@
@ eval $m2c_undo_item = "${m2c_undo_item_base}."@
@ else@
@ eval $m2c_undo_item = "${m2c_undo_item_base}->"@
@ end@
@end@
@eval $m2c_node_name = ""@
########################################################################
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision$ */
@end@
|