aboutsummaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/index.h b/src/index.h
index 6f1fe98c..a3dae020 100644
--- a/src/index.h
+++ b/src/index.h
@@ -18,8 +18,14 @@
#endif
-extern void index_pattern(struct image *image, int no_index, int use_dirax);
+typedef enum {
+ INDEXING_NONE,
+ INDEXING_DIRAX,
+ INDEXING_MATCH
+} IndexingMethod;
+
+extern void index_pattern(struct image *image, IndexingMethod indm);
/* x,y in pixels relative to central beam */
extern int map_position(struct image *image, double x, double y,
double *rx, double *ry, double *rz);