Michaël Lemaire
70b42a33c0
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@481 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
24 lines
523 B
C
24 lines
523 B
C
#ifndef _PAYSAGES_TOOLS_CACHE_H_
|
|
#define _PAYSAGES_TOOLS_CACHE_H_
|
|
|
|
/*
|
|
* Cache management.
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct CacheFile CacheFile;
|
|
|
|
CacheFile* cacheFileCreateAccessor(const char* module, const char* ext, const char* tag1, int tag2, int tag3, int tag4, int tag5);
|
|
void cacheFileDeleteAccessor(CacheFile* cache);
|
|
int cacheFileIsReadable(CacheFile* cache);
|
|
int cacheFileIsWritable(CacheFile* cache);
|
|
const char* cacheFileGetPath(CacheFile* cache);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|