-
Notifications
You must be signed in to change notification settings - Fork 4
/
H5VLprovnc.h
60 lines (47 loc) · 1.88 KB
/
H5VLprovnc.h
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
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 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/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* Purpose: The public header file for the pass-through VOL connector.
*/
#ifndef _H5VLprovnc_H
#define _H5VLprovnc_H
/* Identifier for the pass-through VOL connector */
#define H5VL_PROVNC (H5VL_provenance_register())
/* Characteristics of the pass-through VOL connector */
#define H5VL_PROVNC_NAME "provenance"
#define H5VL_PROVNC_VALUE 509 /* VOL connector ID */
#define H5VL_PROVNC_VERSION 0
typedef enum ProvLevel {
Default, //no file write, only screen print
Print_only,
File_only,
File_and_print,
Level3,
Level4,
Disabled
}Prov_level;
/* Pass-through VOL connector info */
typedef struct H5VL_provenance_info_t {
hid_t under_vol_id; /* VOL ID for under VOL */
void *under_vol_info; /* VOL info for under VOL */
char* prov_file_path;
Prov_level prov_level;
char* prov_line_format;
} H5VL_provenance_info_t;
#ifdef __cplusplus
extern "C" {
#endif
H5_DLL hid_t H5VL_provenance_register(void);
#ifdef __cplusplus
}
#endif
#endif /* _H5VLprovnc_H */