blob: 4dba4fa026db34c317b1d331353d1e43ca4ecedf [file] [log] [blame]
@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 */