/* * cache.c * * Save the reflection datablock to save having to recalculate it * * (c) 2007 Gordon Ball * Thomas White * * dtr - Diffraction Tomography Reconstruction * */ #ifndef CACHE_H #define CACHE_H #ifdef HAVE_CONFIG_H #include #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_*/