From 6239330e483a47c3579b89c407ac02346f388e27 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 21 Sep 2017 16:18:22 +0200 Subject: Improve error message when using CBF files and a multi-event geometry --- libcrystfel/src/image.c | 2 +- libcrystfel/src/image.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 8de16bd5..de27308c 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -861,7 +861,7 @@ static int read_cbf(struct imagefile *f, struct image *image) /****************************** Image files ***********************************/ -static signed int is_cbf_file(const char *filename) +signed int is_cbf_file(const char *filename) { FILE *fh; char line[1024]; diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h index c900bd29..99c3d57e 100644 --- a/libcrystfel/src/image.h +++ b/libcrystfel/src/image.h @@ -271,6 +271,7 @@ extern void imagefile_copy_fields(struct imagefile *f, const struct imagefile_field_list *copyme, FILE *fh, struct event *ev); extern void imagefile_close(struct imagefile *f); +extern signed int is_cbf_file(const char *filename); /* Field lists */ extern struct imagefile_field_list *new_imagefile_field_list(void); -- cgit v1.2.3