blob: f18230de6ac062fd3cc941556631e71f89febbe7 (
plain)
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 */
|