File: mfsdf.h

package info (click to toggle)
libhdf4 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 29,892 kB
  • sloc: ansic: 128,688; sh: 14,969; fortran: 12,444; java: 5,864; xml: 1,305; makefile: 900; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (170 lines) | stat: -rw-r--r-- 9,746 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF.  The full HDF copyright notice, including       *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef H4_MFSDF_H
#define H4_MFSDF_H

#include "H4api_adpt.h"

#include "mfhdf.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Define the FORTRAN names */

#define nscstart         H4_F77_FUNC(scstart, SCSTART)
#define nsfend           H4_F77_FUNC(sfend, SFEND)
#define nsfendacc        H4_F77_FUNC(sfendacc, SFENDACC)
#define nsffinfo         H4_F77_FUNC(sffinfo, SFFINFO)
#define nsfselect        H4_F77_FUNC(sfselect, SFSELECT)
#define nscginfo         H4_F77_FUNC(scginfo, SCGINFO)
#define nscgainfo        H4_F77_FUNC(scgainfo, SCGAINFO)
#define nscgdinfo        H4_F77_FUNC(scgdinfo, SCGDINFO)
#define nsfgcal          H4_F77_FUNC(sfgcal, SFGCAL)
#define nsfscal          H4_F77_FUNC(sfscal, SFSCAL)
#define nsfgdscale       H4_F77_FUNC(sfgdscale, SFGDSCALE)
#define nsfsdscale       H4_F77_FUNC(sfsdscale, SFSDSCALE)
#define nsfgcfill        H4_F77_FUNC(sfgcfill, SFGCFILL)
#define nsfgfill         H4_F77_FUNC(sfgfill, SFGFILL)
#define nsfscfill        H4_F77_FUNC(sfscfill, SFSCFILL)
#define nsfsfill         H4_F77_FUNC(sfsfill, SFSFILL)
#define nsfsflmd         H4_F77_FUNC(sfsflmd, SFSFLMD)
#define nsfgrange        H4_F77_FUNC(sfgrange, SFGRANGE)
#define nsfsrange        H4_F77_FUNC(sfsrange, SFSRANGE)
#define nscn2index       H4_F77_FUNC(scn2index, SCN2INDEX)
#define nsccreate        H4_F77_FUNC(sccreate, SCCREATE)
#define nscsdimstr       H4_F77_FUNC(scsdimstr, SCSDIMSTR)
#define nscsdimname      H4_F77_FUNC(scsdimname, SCSDIMNAME)
#define nscsdatstr       H4_F77_FUNC(scsdatstr, SCSDATSTR)
#define nsfdimid         H4_F77_FUNC(sfdimid, SFDIMID)
#define nsfrcatt         H4_F77_FUNC(sfrcatt, SFRCATT)
#define nsfrnatt         H4_F77_FUNC(sfrnatt, SFRNATT)
#define nsfrattr         H4_F77_FUNC(sfrattr, SFRATTR)
#define nsfrcdata        H4_F77_FUNC(sfrcdata, SFRCDATA)
#define nsfrdata         H4_F77_FUNC(sfrdata, SFRDATA)
#define nsfwcdata        H4_F77_FUNC(sfwcdata, SFWCDATA)
#define nsfwdata         H4_F77_FUNC(sfwdata, SFWDATA)
#define nscgdatstrs      H4_F77_FUNC(scgdatstrs, SCGDATSTRS)
#define nscgdimstrs      H4_F77_FUNC(scgdimstrs, SCGDIMSTRS)
#define nscscatt         H4_F77_FUNC(scscatt, SCSCATT)
#define nscsnatt         H4_F77_FUNC(scsnatt, SCSNATT)
#define nscsattr         H4_F77_FUNC(scsattr, SCSATTR)
#define nscfattr         H4_F77_FUNC(scfattr, SCFATTR)
#define nsfid2ref        H4_F77_FUNC(sfid2ref, SFID2REF)
#define nsfref2index     H4_F77_FUNC(sfref2index, SFREF2INDEX)
#define nsfiscvar        H4_F77_FUNC(sfiscvar, SFISCVAR)
#define nscsextf         H4_F77_FUNC(scsextf, SCSEXTF)
#define nsfsacct         H4_F77_FUNC(sfsacct, SFSACCT)
#define nsfsdmvc         H4_F77_FUNC(sfsdmvc, SFSDMVC)
#define nsfisdmvc        H4_F77_FUNC(sfisdmvc, SFISDMVC)
#define nsfisrcrd        H4_F77_FUNC(sfisrcrd, SFISRCRD)
#define nscgichnk        H4_F77_FUNC(scgichnk, SCGICHNK)
#define nscrcchnk        H4_F77_FUNC(scrcchnk, SCRCCHNK)
#define nscrchnk         H4_F77_FUNC(scrchnk, SCRCHNK)
#define nscscchnk        H4_F77_FUNC(scscchnk, SCSCCHNK)
#define nscschnk         H4_F77_FUNC(scschnk, SCSCHNK)
#define nscwcchnk        H4_F77_FUNC(scwcchnk, SCWCCHNK)
#define nscwchnk         H4_F77_FUNC(scwchnk, SCWCHNK)
#define nscscompress     H4_F77_FUNC(scscompress, SCSCOMPRESS)
#define nscgcompress     H4_F77_FUNC(scgcompress, SCGCOMPRESS)
#define nsfsnbit         H4_F77_FUNC(sfsnbit, SFSNBIT)
#define nsfsblsz         H4_F77_FUNC(sfsblsz, SFSBLSZ)
#define nscchempty       H4_F77_FUNC(scchempty, SCCHEMPTY)
#define nscgetfname      H4_F77_FUNC(scgetfname, SCGETFNAME)
#define nscgetnamelen    H4_F77_FUNC(scgetnamelen, SCGETNAMELEN)
#define nscidtype        H4_F77_FUNC(scidtype, SCIDTYPE)
#define nscgnvars_byname H4_F77_FUNC(scgnvars_byname, SCGNVARS_BYNAME)
#define nscn2indices     H4_F77_FUNC(scn2indices, SCN2INDICES)
#define nscgmaxopenf     H4_F77_FUNC(scgmaxopenf, SCGMAXOPENF)
#define nscgnumopenf     H4_F77_FUNC(scgnumopenf, SCGNUMOPENF)
#define nscrmaxopenf     H4_F77_FUNC(scrmaxopenf, SCRMAXOPENF)

HDFFCLIBAPI intf nscstart(_fcd name, intf *access, intf *namelen);
HDFFCLIBAPI intf nscginfo(intf *id, _fcd name, intf *rank, intf *dimsizes, intf *nt, intf *nattr, intf *len);
HDFFCLIBAPI intf nscn2index(intf *id, _fcd name, intf *namelen);
HDFFCLIBAPI intf nsccreate(intf *id, _fcd name, intf *nt, intf *rank, intf *dims, intf *namelen);
HDFFCLIBAPI intf nscsdimstr(intf *id, _fcd l, _fcd u, _fcd f, intf *ll, intf *ul, intf *fl);
HDFFCLIBAPI intf nscsdimname(intf *id, _fcd name, intf *len);
HDFFCLIBAPI intf nscsdatstr(intf *id, _fcd l, _fcd u, _fcd f, _fcd c, intf *ll, intf *ul, intf *fl, intf *cl);
HDFFCLIBAPI intf nscgdimstrs(intf *dim, _fcd label, _fcd unit, _fcd format, intf *llabel, intf *lunit,
                             intf *lformat, intf *mlen);
HDFFCLIBAPI intf nscgdatstrs(intf *id, _fcd label, _fcd unit, _fcd format, _fcd coord, intf *llabel,
                             intf *lunit, intf *lformat, intf *lcoord, intf *len);
HDFFCLIBAPI intf nscgainfo(intf *id, intf *number, _fcd name, intf *nt, intf *count, intf *len);
HDFFCLIBAPI intf nscgdinfo(intf *id, _fcd name, intf *sz, intf *nt, intf *nattr, intf *len);
HDFFCLIBAPI intf nscscatt(intf *id, _fcd name, intf *nt, intf *count, _fcd data, intf *len);
HDFFCLIBAPI intf nscsnatt(intf *id, _fcd name, intf *nt, intf *count, void *data, intf *len);
HDFFCLIBAPI intf nscsattr(intf *id, _fcd name, intf *nt, intf *count, void *data, intf *len);
HDFFCLIBAPI intf nscsextf(intf *id, _fcd name, intf *offset, intf *namelen);
HDFFCLIBAPI intf nscgichnk(intf *id, intf *dim_length, intf *flags);
HDFFCLIBAPI intf nscrcchnk(intf *id, intf *start, _fcd char_data);
HDFFCLIBAPI intf nscrchnk(intf *id, intf *start, void *num_data);
HDFFCLIBAPI intf nscscchnk(intf *id, intf *maxcache, intf *flags);
HDFFCLIBAPI intf nscschnk(intf *id, intf *dim_length, intf *comp_type, intf *comp_prm);
HDFFCLIBAPI intf nscwcchnk(intf *id, intf *start, _fcd char_data);
HDFFCLIBAPI intf nscwchnk(intf *id, intf *start, void *num_data);
HDFFCLIBAPI intf nscscompress(intf *id, intf *comp_type, intf *comp_prm);
HDFFCLIBAPI intf nscgcompress(intf *id, intf *comp_type, intf *comp_prm);
HDFFCLIBAPI intf nscfattr(intf *id, _fcd name, intf *namelen);
HDFFCLIBAPI intf nscchempty(intf *id, intf *flag);

HDFFCLIBAPI intf nscgnvars_byname(intf *sd_id, _fcd name, intf *namelen, intf *n_vars);
HDFFCLIBAPI intf nscn2indices(intf *sd_id, _fcd name, intf *namelen, intf *var_list, intf *type_list,
                              intf *n_vars);
HDFFCLIBAPI intf nscgnumopenf(intf *cur_num);
HDFFCLIBAPI intf nscgmaxopenf(intf *cur_max, intf *sys_limit);
HDFFCLIBAPI intf nscrmaxopenf(intf *req_max);
HDFFCLIBAPI intf nscidtype(intf *obj_id, intf *obj_type);
HDFFCLIBAPI intf nscgetnamelen(intf *obj_id, intf *namelen);
HDFFCLIBAPI intf nscgetfname(intf *file_id, _fcd name, intf *namelen);

HDFFCLIBAPI intf nsfend(intf *file_id);
HDFFCLIBAPI intf nsfendacc(intf *id);
HDFFCLIBAPI intf nsffinfo(intf *file_id, intf *datasets, intf *gattr);
HDFFCLIBAPI intf nsfselect(intf *file_id, intf *index);
HDFFCLIBAPI intf nsfdimid(intf *id, intf *index);
HDFFCLIBAPI intf nsfgcal(intf *id, float64 *cal, float64 *cale, float64 *ioff, float64 *ioffe, intf *nt);
HDFFCLIBAPI intf nsfscal(intf *id, float64 *cal, float64 *cale, float64 *ioff, float64 *ioffe, intf *nt);
HDFFCLIBAPI intf nsfsdscale(intf *id, intf *count, intf *nt, void *values);
HDFFCLIBAPI intf nsfgdscale(intf *id, void *values);
HDFFCLIBAPI intf nsfscfill(intf *id, _fcd val);
HDFFCLIBAPI intf nsfgcfill(intf *id, _fcd val);
HDFFCLIBAPI intf nsfsfill(intf *id, void *val);
HDFFCLIBAPI intf nsfgfill(intf *id, void *val);
HDFFCLIBAPI intf nsfgrange(intf *id, void *max, void *min);
HDFFCLIBAPI intf nsfsrange(intf *id, void *max, void *min);
HDFFCLIBAPI intf nsfrcatt(intf *id, intf *index, _fcd buf);
HDFFCLIBAPI intf nsfrnatt(intf *id, intf *index, void *buf);
HDFFCLIBAPI intf nsfrattr(intf *id, intf *index, void *buf);
HDFFCLIBAPI intf nsfrdata(intf *id, intf *start, intf *stride, intf *end, void *values);
HDFFCLIBAPI intf nsfwdata(intf *id, intf *start, intf *stride, intf *end, void *values);
HDFFCLIBAPI intf nsfrcdata(intf *id, intf *start, intf *stride, intf *end, _fcd values);
HDFFCLIBAPI intf nsfwcdata(intf *id, intf *start, intf *stride, intf *end, _fcd values);
HDFFCLIBAPI intf nsfid2ref(intf *id);
HDFFCLIBAPI intf nsfref2index(intf *id, intf *ref);
HDFFCLIBAPI intf nsfiscvar(intf *id);
HDFFCLIBAPI intf nsfsnbit(intf *id, intf *start_bit, intf *bit_len, intf *sign_ext, intf *fill_one);
HDFFCLIBAPI intf nsfsacct(intf *id, intf *type);
HDFFCLIBAPI intf nsfsdmvc(intf *id, intf *compmode);
HDFFCLIBAPI intf nsfisdmvc(intf *id);
HDFFCLIBAPI intf nsfsflmd(intf *id, intf *fillmode);
HDFFCLIBAPI intf nsfisrcrd(intf *id);
HDFFCLIBAPI intf nsfsblsz(intf *id, intf *block_size);

#ifdef __cplusplus
}
#endif

#endif /* H4_MFSDF_H */