Rev | Line | |
---|
[2] | 1 | #ifndef _mcf_tmp_INC
|
---|
| 2 | #define _mcf_tmp_INC
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | /***** template line_title *****/
|
---|
| 6 |
|
---|
| 7 | typedef struct _line_title_s {
|
---|
| 8 | char line[80]; /* */
|
---|
| 9 | } line_title_s;
|
---|
| 10 | static const int n_el_line_title=1;
|
---|
| 11 | extern struct line_title_c {
|
---|
| 12 | int n_obj_line_title;
|
---|
| 13 | int idmline_title;
|
---|
| 14 | line_title_s line_title[500];
|
---|
| 15 | } line_title_c_;
|
---|
| 16 | static int *n_obj_line_title = &(line_title_c_.n_obj_line_title);
|
---|
| 17 | static line_title_s *line_title = &line_title_c_.line_title[0];
|
---|
| 18 |
|
---|
| 19 | /***** template header *****/
|
---|
| 20 |
|
---|
| 21 | typedef struct _header_s {
|
---|
| 22 | char title[80]; /* */
|
---|
| 23 | char version[80]; /* */
|
---|
| 24 | char namemaxindex[80]; /* */
|
---|
| 25 | int maxmult; /* */
|
---|
| 26 | int orgstyle; /* */
|
---|
| 27 | int nvar; /* */
|
---|
| 28 | } header_s;
|
---|
| 29 | static const int n_el_header=6;
|
---|
| 30 | extern struct header_c {
|
---|
| 31 | int n_obj_header;
|
---|
| 32 | int idmheader;
|
---|
| 33 | header_s header[1];
|
---|
| 34 | } header_c_;
|
---|
| 35 | static int *n_obj_header = &(header_c_.n_obj_header);
|
---|
| 36 | static header_s *header = &header_c_.header[0];
|
---|
| 37 |
|
---|
| 38 | /***** template variable *****/
|
---|
| 39 |
|
---|
| 40 | typedef struct _variable_s {
|
---|
| 41 | char name[80]; /* */
|
---|
| 42 | char description[80]; /* */
|
---|
| 43 | int type; /* */
|
---|
| 44 | char isfixedsize[80]; /* */
|
---|
| 45 | int numdim; /* */
|
---|
| 46 | int dimensions[5]; /* */
|
---|
| 47 | } variable_s;
|
---|
| 48 | static const int n_el_variable=10;
|
---|
| 49 | extern struct variable_c {
|
---|
| 50 | int n_obj_variable;
|
---|
| 51 | int idmvariable;
|
---|
| 52 | variable_s variable[100];
|
---|
| 53 | } variable_c_;
|
---|
| 54 | static int *n_obj_variable = &(variable_c_.n_obj_variable);
|
---|
| 55 | static variable_s *variable = &variable_c_.variable[0];
|
---|
| 56 |
|
---|
| 57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.