Template:FAQ:Coding 10
From Net-SNMP Wiki
This uses a very powerful tool called a "text editor" :-)
The v5 Net-SNMP 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. The handler and supporting routines from one file can simply be included in the other with no changes needed. The corresponding registration of these handlers can then be copied from the first initialisation routine into the second.