HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
H5version.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the files COPYING and Copyright.html. COPYING can be found at the root *
9  * of the source code distribution tree; Copyright.html can be found at the *
10  * root level of an installed copy of the electronic HDF5 document set and *
11  * is linked from the top-level documents page. It can also be found at *
12  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
13  * access to either file, you may request a copy from help@hdfgroup.org. *
14  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /* Generated automatically by bin/make_vers -- do not edit */
17 /* Add new versioned symbols to H5vers.txt file */
18 
19 
20 #ifndef _H5version_H
21 #define _H5version_H
22 
23 /* Issue error if contradicting macros have been defined. */
24 #if defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS)
25 #error "Can't choose old API versions when deprecated APIs are disabled"
26 #endif /* defined(H5_USE_16_API) && defined(H5_NO_DEPRECATED_SYMBOLS) */
27 
28 
29 /* If a particular "global" version of the library's interfaces is chosen,
30  * set the versions for the API symbols affected.
31  *
32  * Note: If an application has already chosen a particular version for an
33  * API symbol, the individual API version macro takes priority.
34  */
35 #if defined(H5_USE_16_API_DEFAULT) && !defined(H5_USE_16_API)
36 #define H5_USE_16_API 1
37 #endif /* H5_USE_16_API_DEFAULT && !H5_USE_16_API */
38 
39 #ifdef H5_USE_16_API
40 
41 /*************/
42 /* Functions */
43 /*************/
44 
45 #if !defined(H5Acreate_vers)
46 #define H5Acreate_vers 1
47 #endif /* !defined(H5Acreate_vers) */
48 
49 #if !defined(H5Aiterate_vers)
50 #define H5Aiterate_vers 1
51 #endif /* !defined(H5Aiterate_vers) */
52 
53 #if !defined(H5Dcreate_vers)
54 #define H5Dcreate_vers 1
55 #endif /* !defined(H5Dcreate_vers) */
56 
57 #if !defined(H5Dopen_vers)
58 #define H5Dopen_vers 1
59 #endif /* !defined(H5Dopen_vers) */
60 
61 #if !defined(H5Eclear_vers)
62 #define H5Eclear_vers 1
63 #endif /* !defined(H5Eclear_vers) */
64 
65 #if !defined(H5Eget_auto_vers)
66 #define H5Eget_auto_vers 1
67 #endif /* !defined(H5Eget_auto_vers) */
68 
69 #if !defined(H5Eprint_vers)
70 #define H5Eprint_vers 1
71 #endif /* !defined(H5Eprint_vers) */
72 
73 #if !defined(H5Epush_vers)
74 #define H5Epush_vers 1
75 #endif /* !defined(H5Epush_vers) */
76 
77 #if !defined(H5Eset_auto_vers)
78 #define H5Eset_auto_vers 1
79 #endif /* !defined(H5Eset_auto_vers) */
80 
81 #if !defined(H5Ewalk_vers)
82 #define H5Ewalk_vers 1
83 #endif /* !defined(H5Ewalk_vers) */
84 
85 #if !defined(H5Gcreate_vers)
86 #define H5Gcreate_vers 1
87 #endif /* !defined(H5Gcreate_vers) */
88 
89 #if !defined(H5Gopen_vers)
90 #define H5Gopen_vers 1
91 #endif /* !defined(H5Gopen_vers) */
92 
93 #if !defined(H5Pget_filter_vers)
94 #define H5Pget_filter_vers 1
95 #endif /* !defined(H5Pget_filter_vers) */
96 
97 #if !defined(H5Pget_filter_by_id_vers)
98 #define H5Pget_filter_by_id_vers 1
99 #endif /* !defined(H5Pget_filter_by_id_vers) */
100 
101 #if !defined(H5Pinsert_vers)
102 #define H5Pinsert_vers 1
103 #endif /* !defined(H5Pinsert_vers) */
104 
105 #if !defined(H5Pregister_vers)
106 #define H5Pregister_vers 1
107 #endif /* !defined(H5Pregister_vers) */
108 
109 #if !defined(H5Rget_obj_type_vers)
110 #define H5Rget_obj_type_vers 1
111 #endif /* !defined(H5Rget_obj_type_vers) */
112 
113 #if !defined(H5Tarray_create_vers)
114 #define H5Tarray_create_vers 1
115 #endif /* !defined(H5Tarray_create_vers) */
116 
117 #if !defined(H5Tcommit_vers)
118 #define H5Tcommit_vers 1
119 #endif /* !defined(H5Tcommit_vers) */
120 
121 #if !defined(H5Tget_array_dims_vers)
122 #define H5Tget_array_dims_vers 1
123 #endif /* !defined(H5Tget_array_dims_vers) */
124 
125 #if !defined(H5Topen_vers)
126 #define H5Topen_vers 1
127 #endif /* !defined(H5Topen_vers) */
128 
129 /************/
130 /* Typedefs */
131 /************/
132 
133 #if !defined(H5E_auto_t_vers)
134 #define H5E_auto_t_vers 1
135 #endif /* !defined(H5E_auto_t_vers) */
136 
137 #if !defined(H5Z_class_t_vers)
138 #define H5Z_class_t_vers 1
139 #endif /* !defined(H5Z_class_t_vers) */
140 
141 #endif /* H5_USE_16_API */
142 
143 
144 /* Choose the correct version of each API symbol, defaulting to the latest
145  * version of each. The "best" name for API parameters/data structures
146  * that have changed definitions is also set. An error is issued for
147  * specifying an invalid API version.
148  */
149 
150 /*************/
151 /* Functions */
152 /*************/
153 
154 #if !defined(H5Acreate_vers) || H5Acreate_vers == 2
155 #ifndef H5Acreate_vers
156 #define H5Acreate_vers 2
157 #endif /* H5Acreate_vers */
158 #define H5Acreate H5Acreate2
159 #elif H5Acreate_vers == 1
160 #define H5Acreate H5Acreate1
161 #else /* H5Acreate_vers */
162 #error "H5Acreate_vers set to invalid value"
163 #endif /* H5Acreate_vers */
164 
165 #if !defined(H5Aiterate_vers) || H5Aiterate_vers == 2
166 #ifndef H5Aiterate_vers
167 #define H5Aiterate_vers 2
168 #endif /* H5Aiterate_vers */
169 #define H5Aiterate H5Aiterate2
170 #define H5A_operator_t H5A_operator2_t
171 #elif H5Aiterate_vers == 1
172 #define H5Aiterate H5Aiterate1
173 #define H5A_operator_t H5A_operator1_t
174 #else /* H5Aiterate_vers */
175 #error "H5Aiterate_vers set to invalid value"
176 #endif /* H5Aiterate_vers */
177 
178 #if !defined(H5Dcreate_vers) || H5Dcreate_vers == 2
179 #ifndef H5Dcreate_vers
180 #define H5Dcreate_vers 2
181 #endif /* H5Dcreate_vers */
182 #define H5Dcreate H5Dcreate2
183 #elif H5Dcreate_vers == 1
184 #define H5Dcreate H5Dcreate1
185 #else /* H5Dcreate_vers */
186 #error "H5Dcreate_vers set to invalid value"
187 #endif /* H5Dcreate_vers */
188 
189 #if !defined(H5Dopen_vers) || H5Dopen_vers == 2
190 #ifndef H5Dopen_vers
191 #define H5Dopen_vers 2
192 #endif /* H5Dopen_vers */
193 #define H5Dopen H5Dopen2
194 #elif H5Dopen_vers == 1
195 #define H5Dopen H5Dopen1
196 #else /* H5Dopen_vers */
197 #error "H5Dopen_vers set to invalid value"
198 #endif /* H5Dopen_vers */
199 
200 #if !defined(H5Eclear_vers) || H5Eclear_vers == 2
201 #ifndef H5Eclear_vers
202 #define H5Eclear_vers 2
203 #endif /* H5Eclear_vers */
204 #define H5Eclear H5Eclear2
205 #elif H5Eclear_vers == 1
206 #define H5Eclear H5Eclear1
207 #else /* H5Eclear_vers */
208 #error "H5Eclear_vers set to invalid value"
209 #endif /* H5Eclear_vers */
210 
211 #if !defined(H5Eget_auto_vers) || H5Eget_auto_vers == 2
212 #ifndef H5Eget_auto_vers
213 #define H5Eget_auto_vers 2
214 #endif /* H5Eget_auto_vers */
215 #define H5Eget_auto H5Eget_auto2
216 #elif H5Eget_auto_vers == 1
217 #define H5Eget_auto H5Eget_auto1
218 #else /* H5Eget_auto_vers */
219 #error "H5Eget_auto_vers set to invalid value"
220 #endif /* H5Eget_auto_vers */
221 
222 #if !defined(H5Eprint_vers) || H5Eprint_vers == 2
223 #ifndef H5Eprint_vers
224 #define H5Eprint_vers 2
225 #endif /* H5Eprint_vers */
226 #define H5Eprint H5Eprint2
227 #elif H5Eprint_vers == 1
228 #define H5Eprint H5Eprint1
229 #else /* H5Eprint_vers */
230 #error "H5Eprint_vers set to invalid value"
231 #endif /* H5Eprint_vers */
232 
233 #if !defined(H5Epush_vers) || H5Epush_vers == 2
234 #ifndef H5Epush_vers
235 #define H5Epush_vers 2
236 #endif /* H5Epush_vers */
237 #define H5Epush H5Epush2
238 #elif H5Epush_vers == 1
239 #define H5Epush H5Epush1
240 #else /* H5Epush_vers */
241 #error "H5Epush_vers set to invalid value"
242 #endif /* H5Epush_vers */
243 
244 #if !defined(H5Eset_auto_vers) || H5Eset_auto_vers == 2
245 #ifndef H5Eset_auto_vers
246 #define H5Eset_auto_vers 2
247 #endif /* H5Eset_auto_vers */
248 #define H5Eset_auto H5Eset_auto2
249 #elif H5Eset_auto_vers == 1
250 #define H5Eset_auto H5Eset_auto1
251 #else /* H5Eset_auto_vers */
252 #error "H5Eset_auto_vers set to invalid value"
253 #endif /* H5Eset_auto_vers */
254 
255 #if !defined(H5Ewalk_vers) || H5Ewalk_vers == 2
256 #ifndef H5Ewalk_vers
257 #define H5Ewalk_vers 2
258 #endif /* H5Ewalk_vers */
259 #define H5Ewalk H5Ewalk2
260 #define H5E_error_t H5E_error2_t
261 #define H5E_walk_t H5E_walk2_t
262 #elif H5Ewalk_vers == 1
263 #define H5Ewalk H5Ewalk1
264 #define H5E_error_t H5E_error1_t
265 #define H5E_walk_t H5E_walk1_t
266 #else /* H5Ewalk_vers */
267 #error "H5Ewalk_vers set to invalid value"
268 #endif /* H5Ewalk_vers */
269 
270 #if !defined(H5Gcreate_vers) || H5Gcreate_vers == 2
271 #ifndef H5Gcreate_vers
272 #define H5Gcreate_vers 2
273 #endif /* H5Gcreate_vers */
274 #define H5Gcreate H5Gcreate2
275 #elif H5Gcreate_vers == 1
276 #define H5Gcreate H5Gcreate1
277 #else /* H5Gcreate_vers */
278 #error "H5Gcreate_vers set to invalid value"
279 #endif /* H5Gcreate_vers */
280 
281 #if !defined(H5Gopen_vers) || H5Gopen_vers == 2
282 #ifndef H5Gopen_vers
283 #define H5Gopen_vers 2
284 #endif /* H5Gopen_vers */
285 #define H5Gopen H5Gopen2
286 #elif H5Gopen_vers == 1
287 #define H5Gopen H5Gopen1
288 #else /* H5Gopen_vers */
289 #error "H5Gopen_vers set to invalid value"
290 #endif /* H5Gopen_vers */
291 
292 #if !defined(H5Pget_filter_vers) || H5Pget_filter_vers == 2
293 #ifndef H5Pget_filter_vers
294 #define H5Pget_filter_vers 2
295 #endif /* H5Pget_filter_vers */
296 #define H5Pget_filter H5Pget_filter2
297 #elif H5Pget_filter_vers == 1
298 #define H5Pget_filter H5Pget_filter1
299 #else /* H5Pget_filter_vers */
300 #error "H5Pget_filter_vers set to invalid value"
301 #endif /* H5Pget_filter_vers */
302 
303 #if !defined(H5Pget_filter_by_id_vers) || H5Pget_filter_by_id_vers == 2
304 #ifndef H5Pget_filter_by_id_vers
305 #define H5Pget_filter_by_id_vers 2
306 #endif /* H5Pget_filter_by_id_vers */
307 #define H5Pget_filter_by_id H5Pget_filter_by_id2
308 #elif H5Pget_filter_by_id_vers == 1
309 #define H5Pget_filter_by_id H5Pget_filter_by_id1
310 #else /* H5Pget_filter_by_id_vers */
311 #error "H5Pget_filter_by_id_vers set to invalid value"
312 #endif /* H5Pget_filter_by_id_vers */
313 
314 #if !defined(H5Pinsert_vers) || H5Pinsert_vers == 2
315 #ifndef H5Pinsert_vers
316 #define H5Pinsert_vers 2
317 #endif /* H5Pinsert_vers */
318 #define H5Pinsert H5Pinsert2
319 #elif H5Pinsert_vers == 1
320 #define H5Pinsert H5Pinsert1
321 #else /* H5Pinsert_vers */
322 #error "H5Pinsert_vers set to invalid value"
323 #endif /* H5Pinsert_vers */
324 
325 #if !defined(H5Pregister_vers) || H5Pregister_vers == 2
326 #ifndef H5Pregister_vers
327 #define H5Pregister_vers 2
328 #endif /* H5Pregister_vers */
329 #define H5Pregister H5Pregister2
330 #elif H5Pregister_vers == 1
331 #define H5Pregister H5Pregister1
332 #else /* H5Pregister_vers */
333 #error "H5Pregister_vers set to invalid value"
334 #endif /* H5Pregister_vers */
335 
336 #if !defined(H5Rget_obj_type_vers) || H5Rget_obj_type_vers == 2
337 #ifndef H5Rget_obj_type_vers
338 #define H5Rget_obj_type_vers 2
339 #endif /* H5Rget_obj_type_vers */
340 #define H5Rget_obj_type H5Rget_obj_type2
341 #elif H5Rget_obj_type_vers == 1
342 #define H5Rget_obj_type H5Rget_obj_type1
343 #else /* H5Rget_obj_type_vers */
344 #error "H5Rget_obj_type_vers set to invalid value"
345 #endif /* H5Rget_obj_type_vers */
346 
347 #if !defined(H5Tarray_create_vers) || H5Tarray_create_vers == 2
348 #ifndef H5Tarray_create_vers
349 #define H5Tarray_create_vers 2
350 #endif /* H5Tarray_create_vers */
351 #define H5Tarray_create H5Tarray_create2
352 #elif H5Tarray_create_vers == 1
353 #define H5Tarray_create H5Tarray_create1
354 #else /* H5Tarray_create_vers */
355 #error "H5Tarray_create_vers set to invalid value"
356 #endif /* H5Tarray_create_vers */
357 
358 #if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
359 #ifndef H5Tcommit_vers
360 #define H5Tcommit_vers 2
361 #endif /* H5Tcommit_vers */
362 #define H5Tcommit H5Tcommit2
363 #elif H5Tcommit_vers == 1
364 #define H5Tcommit H5Tcommit1
365 #else /* H5Tcommit_vers */
366 #error "H5Tcommit_vers set to invalid value"
367 #endif /* H5Tcommit_vers */
368 
369 #if !defined(H5Tget_array_dims_vers) || H5Tget_array_dims_vers == 2
370 #ifndef H5Tget_array_dims_vers
371 #define H5Tget_array_dims_vers 2
372 #endif /* H5Tget_array_dims_vers */
373 #define H5Tget_array_dims H5Tget_array_dims2
374 #elif H5Tget_array_dims_vers == 1
375 #define H5Tget_array_dims H5Tget_array_dims1
376 #else /* H5Tget_array_dims_vers */
377 #error "H5Tget_array_dims_vers set to invalid value"
378 #endif /* H5Tget_array_dims_vers */
379 
380 #if !defined(H5Topen_vers) || H5Topen_vers == 2
381 #ifndef H5Topen_vers
382 #define H5Topen_vers 2
383 #endif /* H5Topen_vers */
384 #define H5Topen H5Topen2
385 #elif H5Topen_vers == 1
386 #define H5Topen H5Topen1
387 #else /* H5Topen_vers */
388 #error "H5Topen_vers set to invalid value"
389 #endif /* H5Topen_vers */
390 
391 /************/
392 /* Typedefs */
393 /************/
394 
395 #if !defined(H5E_auto_t_vers) || H5E_auto_t_vers == 2
396 #ifndef H5E_auto_t_vers
397 #define H5E_auto_t_vers 2
398 #endif /* H5E_auto_t_vers */
399 #define H5E_auto_t H5E_auto2_t
400 #elif H5E_auto_t_vers == 1
401 #define H5E_auto_t H5E_auto1_t
402 #else /* H5E_auto_t_vers */
403 #error "H5E_auto_t_vers set to invalid value"
404 #endif /* H5E_auto_t_vers */
405 
406 
407 #if !defined(H5Z_class_t_vers) || H5Z_class_t_vers == 2
408 #ifndef H5Z_class_t_vers
409 #define H5Z_class_t_vers 2
410 #endif /* H5Z_class_t_vers */
411 #define H5Z_class_t H5Z_class2_t
412 #elif H5Z_class_t_vers == 1
413 #define H5Z_class_t H5Z_class1_t
414 #else /* H5Z_class_t_vers */
415 #error "H5Z_class_t_vers set to invalid value"
416 #endif /* H5Z_class_t_vers */
417 
418 #endif /* H5version_H */
419