811437b232
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 11m45s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 14m28s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 15m19s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 16m0s
Build Packages / build:rpm (rocky8) (push) Successful in 17m30s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 17m42s
Build Packages / build:rpm (rocky9) (push) Successful in 18m34s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 18m43s
Build Packages / Generate python client (push) Successful in 1m24s
Build Packages / Build documentation (push) Successful in 2m8s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (ubuntu2204) (push) Successful in 9m56s
Build Packages / XDS test (durin plugin) (push) Successful in 8m21s
Build Packages / XDS test (JFJoch plugin) (push) Failing after 7m55s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 11m31s
Build Packages / XDS test (neggia plugin) (push) Successful in 8m41s
Build Packages / DIALS test (push) Successful in 12m57s
Build Packages / Unit tests (push) Successful in 57m30s
35 lines
981 B
C
35 lines
981 B
C
// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
// Based on Durin plugin code from Diamond Light Source Ltd. and Global Phasing (BSD-3 license)
|
|
|
|
/*
|
|
* External library interface for XDS.
|
|
* Ref: https://wiki.uni-konstanz.de/xds/index.php/LIB
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define VERSION_MAJOR 0
|
|
#define VERSION_MINOR 0
|
|
#define VERSION_PATCH 0
|
|
#define VERSION_TIMESTAMP -1 /* good enough for Dectris apparantely */
|
|
|
|
void plugin_open(const char *filename, int info[1024], int *error_flag);
|
|
|
|
void plugin_get_header(int *nx, int *ny, int *nbytes, float *qx, float *qy,
|
|
int *number_of_frames, int info[1024], int *error_flag);
|
|
|
|
void plugin_get_data(int *frame_number, int *nx, int *ny, int *data_array,
|
|
int info[1024], int *error_flag);
|
|
|
|
void plugin_close(int *error_flag);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|