aboutsummaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-17 15:55:24 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:10 +0100
commit4ca2f404b0bf103ea0ef2103a1610085a9812419 (patch)
tree81e791af3c99f6f7986cdaa198524201d25cfb44 /src/index.h
parentcc323ec88cad5e1dc2d1754c16255ae47df09c7e (diff)
Implement "multi-indexing"
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/index.h b/src/index.h
index 29be9dcc..b58c9b53 100644
--- a/src/index.h
+++ b/src/index.h
@@ -42,7 +42,7 @@ enum {
typedef struct _indexingprivate IndexingPrivate;
-extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
+extern IndexingPrivate **prepare_indexing(IndexingMethod *indm, UnitCell *cell,
const char *filename,
struct detector *det,
double nominal_photon_energy);
@@ -50,9 +50,11 @@ extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
extern void map_all_peaks(struct image *image);
extern void index_pattern(struct image *image, UnitCell *cell,
- IndexingMethod indm, int cellr, int verbose,
- IndexingPrivate *priv);
+ IndexingMethod *indm, int cellr, int verbose,
+ IndexingPrivate **priv);
-extern void cleanup_indexing(IndexingPrivate *priv);
+extern void cleanup_indexing(IndexingPrivate **priv);
+
+extern IndexingMethod *build_indexer_list(const char *str, int *need_cell);
#endif /* INDEX_H */