aboutsummaryrefslogtreecommitdiff
path: root/src/templates.h
blob: c9d053ada903974bfd688a1a8902973fb0845a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * templates.h
 *
 * Handle templates
 *
 * (c) 2006-2009 Thomas White <thomas.white@desy.de>
 *
 * pattern_sim - Simulate diffraction patterns from small crystals
 *
 */


#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef TEMPLATES_H
#define TEMPLATES_H

#include "cell.h"
#include "image.h"

/* An opaque type representing a list of templates */
typedef struct _templatelist TemplateList;

extern TemplateList *generate_templates(UnitCell *cell, struct image params);
extern int try_templates(struct image *image, TemplateList *list);

#endif	/* TEMPLAETS_H */