aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-16 16:28:35 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:32 +0200
commitcb08ffbe0adeed6502db70f3380059800464726d (patch)
tree0dccc8ee60ccad060fbb8778c4c15a3e52fa0074 /libcrystfel/src/image.h
parent64a006630632c58be1ca740d7f12041879da6e00 (diff)
Add serial numbers to chunks
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 6589ac1a..2498b5c2 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -183,6 +183,8 @@ struct image {
int id; /* ID number of the thread
* handling this image */
+ int serial; /* Monotonically ascending serial
+ * number for this image */
struct sample *spectrum;
int nsamples; /* Number of wavelengths */