Fork me on GitHub

source: svn/trunk/Utilities/mcfio/mcf_ntubld_db.h@ 673

Last change on this file since 673 was 3, checked in by Xavier Rouby, 16 years ago

first commit

File size: 1.4 KB
RevLine 
[3]1#ifndef _mcf_tmp_INC
2#define _mcf_tmp_INC
3
4
5/***** template line_title *****/
6
7typedef struct _line_title_s {
8 char line[80]; /* */
9} line_title_s;
10static const int n_el_line_title=1;
11extern 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_;
16static int *n_obj_line_title = &(line_title_c_.n_obj_line_title);
17static line_title_s *line_title = &line_title_c_.line_title[0];
18
19/***** template header *****/
20
21typedef 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;
29static const int n_el_header=6;
30extern struct header_c {
31 int n_obj_header;
32 int idmheader;
33 header_s header[1];
34} header_c_;
35static int *n_obj_header = &(header_c_.n_obj_header);
36static header_s *header = &header_c_.header[0];
37
38/***** template variable *****/
39
40typedef 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;
48static const int n_el_variable=10;
49extern struct variable_c {
50 int n_obj_variable;
51 int idmvariable;
52 variable_s variable[100];
53} variable_c_;
54static int *n_obj_variable = &(variable_c_.n_obj_variable);
55static variable_s *variable = &variable_c_.variable[0];
56
57#endif
Note: See TracBrowser for help on using the repository browser.