Template:FAQ:Coding 10
From Net-SNMP Wiki
This uses a very powerful tool called a "text editor" :-)
The mib2c
tool uses separate configuration
files to
generate code for scalar objects, and for tables. This means that
it's not possible to automatically generate a single code file
that supports both scalars and tables.
Instead, the two code files need to be generated separately, and then combined manually. This will typically mean copying the handler routines for the scalar object(s) into the table file, and adding the code to register these handler(s) to the table initialisation routine.