aboutsummaryrefslogtreecommitdiff
path: root/src/cache.h
blob: 716f0ee71d993e8788c6be6a7461cd0c3466d5bd (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
/*
 * cache.c
 *
 * Save the reflection datablock to save having to recalculate it
 *
 * (c) 2007 Gordon Ball <gfb21@cam.ac.uk>
 *	    Thomas White <taw27@cam.ac.uk>
 *
 *  dtr - Diffraction Tomography Reconstruction
 *
 */
 
#ifndef CACHE_H
#define CACHE_H

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

extern ReflectionContext *cache_load(const char *filename);
extern int cache_save(const char *filename, ReflectionContext *rctx);
extern unsigned int cache_is_cachefile(const char *filename);

#endif /*CACHE_H_*/