aboutsummaryrefslogtreecommitdiff
path: root/src/data.h
blob: 94b6d724350a4dfdfdfae4e159a306e40d2b1900 (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
30
31
32
33
34
/*
 * data.h
 *
 * Handle the input data
 *
 * (c) 2006-2008 Thomas White <taw27@cam.ac.uk>
 *
 *  Synth2d - two-dimensional Fourier synthesis
 *
 */

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

#ifndef DATA_H
#define DATA_H

#include "reflist.h"

extern double data_a();
extern double data_b();
extern double data_c();
extern double data_gamma();
extern unsigned int data_width(void);
extern unsigned int data_height(void);
unsigned int data_get_image_scale(void);
extern void data_dividecell(unsigned int na, unsigned int nb, unsigned int nc);
extern int data_read(const char *filename);
extern ReflectionList *data_getreflections(void);
extern void data_free();

#endif	/* DATA_H */