aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-11-27 13:05:33 +0100
committerThomas White <taw@physics.org>2015-11-27 13:18:29 +0100
commit6fc80febf119f9f3183c918f3137a396cbe06e40 (patch)
tree9b0aa1c9eb5ad43aba38d8513efe5d4daf6b61c2 /libcrystfel/src/stream.h
parente81e335daf509166fc234c8835203a80d5b21e0d (diff)
indexamajig: Write target unit cell into stream
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r--libcrystfel/src/stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h
index a8cf4639..ff8628c0 100644
--- a/libcrystfel/src/stream.h
+++ b/libcrystfel/src/stream.h
@@ -39,9 +39,12 @@
struct image;
struct hdfile;
struct event;
+#include "cell.h"
#define GEOM_START_MARKER "----- Begin geometry file -----"
#define GEOM_END_MARKER "----- End geometry file -----"
+#define CELL_START_MARKER "----- Begin unit cell -----"
+#define CELL_END_MARKER "----- End unit cell -----"
#define CHUNK_START_MARKER "----- Begin chunk -----"
#define CHUNK_END_MARKER "----- End chunk -----"
#define PEAK_LIST_START_MARKER "Peaks from peak search"
@@ -92,6 +95,9 @@ extern Stream *open_stream_for_write(const char *filename);
extern Stream *open_stream_for_write_2(const char *filename,
const char* geom_filename, int argc,
char *argv[]);
+extern Stream *open_stream_for_write_3(const char *filename,
+ const char* geom_filename, UnitCell *cell,
+ int argc, char *argv[]);
extern Stream *open_stream_fd_for_write(int fd);
extern int get_stream_fd(Stream *st);
extern void close_stream(Stream *st);