/etc/snmp/mib2c.column_enums.conf is in libsnmp-dev 5.4.3~dfsg-2.8+deb7u1.
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: mib2c.column_enums.conf 12909 2005-09-29 22:16:22Z hardaker $
*/
#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 */
|