diff options
author | Thomas White <taw@physics.org> | 2010-08-16 14:46:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:55 +0100 |
commit | 4417dabb492eb07bec9834bc9bc99165cd054c73 (patch) | |
tree | 2349b95369ac6b3d35508b8b9ee463da2dfd2f36 /src/index.h | |
parent | 64d06800fa8a58ba6741322b533040eb63e31ca8 (diff) |
indexamajig: Prepare for other indexing methods which need initial setup
Diffstat (limited to 'src/index.h')
-rw-r--r-- | src/index.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/index.h b/src/index.h index b30db837..1c637f47 100644 --- a/src/index.h +++ b/src/index.h @@ -19,16 +19,22 @@ #include "cell.h" - +#include "image.h" typedef enum { INDEXING_NONE, INDEXING_DIRAX, - INDEXING_MATCH + INDEXING_TEMPLATE } IndexingMethod; +typedef struct _indexingprivate IndexingPrivate; + +extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell, + const char *filename); + extern void index_pattern(struct image *image, UnitCell *cell, - IndexingMethod indm, int no_match, int verbose); + IndexingMethod indm, int no_match, int verbose, + IndexingPrivate *priv); #endif /* INDEX_H */ |