/etc/snmp/mib2c.column_enums.conf is in libsnmp-dev 5.7.2~dfsg-8.1ubuntu3.
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 | @open ${name}_enums.h@
/*
* Note: this file originally auto-generated by mib2c using
* $Id$
*/
#ifndef $name.uc_ENUMS_H
#define $name.uc_ENUMS_H
@foreach $i table@
@foreach $c column@
@eval $x = 0@
@foreach $e $v enum@
@if $x == 0@
/* enums for column $c */
@eval $x = 1@
@end@
#define $c.uc_$e.uc $v
@end@
@end@
@end@
@foreach $s scalar@
@eval $x = 0@
@foreach $e $v enum@
@if $x == 0@
/* enums for scalar $s */
@eval $x = 1@
@end@
#define $s.uc_$e.uc $v
@end@
@end@
#endif /* $name.uc_ENUMS_H */
|