aboutsummaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
new file mode 100644
index 0000000..94b6d72
--- /dev/null
+++ b/src/data.h
@@ -0,0 +1,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 */
+