aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reax.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-04 17:42:40 +0100
committerThomas White <taw@physics.org>2013-02-04 17:42:40 +0100
commite132f0a215392b13bf289cad55f2fece6e193625 (patch)
tree758c8b2af365c207007361ed5e45c3a385916f79 /libcrystfel/src/reax.h
parent9049678c51e42eb5a5ef84cb94bc6f8a00e591f4 (diff)
Indexing stuff
Diffstat (limited to 'libcrystfel/src/reax.h')
-rw-r--r--libcrystfel/src/reax.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/libcrystfel/src/reax.h b/libcrystfel/src/reax.h
index 01dfe649..af383e29 100644
--- a/libcrystfel/src/reax.h
+++ b/libcrystfel/src/reax.h
@@ -34,16 +34,24 @@
#endif
#include "cell.h"
+#include "beam-parameters.h"
+#include "detector.h"
#ifdef HAVE_FFTW
-extern IndexingPrivate *reax_prepare(void);
+extern IndexingPrivate *reax_prepare(UnitCell *cell, const char *filename,
+ struct detector *det,
+ struct beam_params *beam);
+
extern void reax_cleanup(IndexingPrivate *pp);
-extern void reax_index(IndexingPrivate *p, struct image *image, UnitCell *cell);
+
+extern int reax_index(struct image *image, IndexingPrivate *p);
#else /* HAVE_FFTW */
-static IndexingPrivate *reax_prepare()
+static IndexingPrivate *reax_prepare(UnitCell *cell, const char *filename,
+ struct detector *det,
+ struct beam_params *beam)
{
return NULL;
}
@@ -52,7 +60,7 @@ static void reax_cleanup(IndexingPrivate *pp)
{
}
-static void reax_index(IndexingPrivate *p, struct image *image, UnitCell *cell)
+static void reax_index(struct image *image, IndexingPrivate *p)
{
}