Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 16m26s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 14m26s
Build Packages / build:rpm (rocky8) (push) Successful in 17m23s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 17m32s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 18m16s
Build Packages / build:rpm (rocky9) (push) Successful in 12m45s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 12m58s
Build Packages / XDS test (durin plugin) (push) Successful in 11m22s
Build Packages / DIALS test (push) Successful in 14m28s
Build Packages / Generate python client (push) Successful in 1m1s
Build Packages / Build documentation (push) Successful in 2m40s
Build Packages / Create release (push) Has been skipped
Build Packages / XDS test (neggia plugin) (push) Successful in 10m52s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 15m2s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 17m25s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 11m49s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 11m34s
Build Packages / Unit tests (push) Successful in 44m51s
This is an UNSTABLE release. The release has significant modifications for HDF5 writing logic - in case of troubles go back to 1.0.0-rc.144. * **Default HDF5 writing mode is with VDS, not soft-links** - this improves DIALS compatibility and makes format more future-proof, NXmx legacy format might be phased-out in the future. * XDS plugin: Improve performance of VDS reading. * jfjoch_writer: Significant improvement on how file systems I/O are handled through a dedicated pass-through VFD. * jfjoch_writer: Clean-up of HDF5 routines to better handle issues. Reviewed-on: #55
54 lines
1.2 KiB
C
54 lines
1.2 KiB
C
// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR HDF5
|
|
|
|
// This file may be used, modified, and distributed under either GPL-3.0-only
|
|
// or the HDF5 license, at the recipient's option.
|
|
|
|
#ifndef H5FD_POISON_SEC2_H
|
|
#define H5FD_POISON_SEC2_H
|
|
|
|
#include <hdf5.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*H5FD_poison_sec2_cb_t)(
|
|
const char *filename,
|
|
const char *operation,
|
|
int error_number,
|
|
void *user_data
|
|
);
|
|
|
|
hid_t H5FD_poison_sec2_init(void);
|
|
|
|
herr_t H5Pset_fapl_poison_sec2(hid_t fapl_id);
|
|
|
|
herr_t H5FD_poison_sec2_set_callback(
|
|
H5FD_poison_sec2_cb_t cb,
|
|
void *user_data
|
|
);
|
|
|
|
herr_t H5FD_poison_sec2_begin_fail_pass(void);
|
|
herr_t H5FD_poison_sec2_end_fail_pass(void);
|
|
|
|
/*
|
|
* Returns:
|
|
* 1 if an error is available
|
|
* 0 if no error has been recorded since the last begin_fail_pass()
|
|
* -1 on invalid arguments
|
|
*
|
|
* filename and operation point to internal storage and remain valid until
|
|
* the next H5FD_poison_sec2_begin_fail_pass() or recorded VFD error.
|
|
*/
|
|
int H5FD_poison_sec2_get_last_error(
|
|
const char **filename,
|
|
const char **operation,
|
|
int *error_number
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* H5FD_POISON_SEC2_H */ |