diff options
Diffstat (limited to 'local/mib2c.column_enums.conf')
-rw-r--r-- | local/mib2c.column_enums.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/local/mib2c.column_enums.conf b/local/mib2c.column_enums.conf new file mode 100644 index 0000000..4dba4fa --- /dev/null +++ b/local/mib2c.column_enums.conf @@ -0,0 +1,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 */ |