sirfile 38 src/libsir/include/sir/filecache.h typedef bool (*sir_fcache_pred)(const void* match, const sirfile* iter); sirfile 44 src/libsir/include/sir/filecache.h sirfile* _sirfile_create(const char* path, sir_levels levels, sir_options opts); sirfile 45 src/libsir/include/sir/filecache.h bool _sirfile_open(sirfile* sf); sirfile 46 src/libsir/include/sir/filecache.h void _sirfile_close(sirfile* sf); sirfile 47 src/libsir/include/sir/filecache.h bool _sirfile_write(sirfile* sf, const char* output); sirfile 48 src/libsir/include/sir/filecache.h bool _sirfile_writeheader(sirfile* sf, const char* msg); sirfile 49 src/libsir/include/sir/filecache.h bool _sirfile_needsroll(sirfile* sf); sirfile 50 src/libsir/include/sir/filecache.h bool _sirfile_roll(sirfile* sf, char** newpath); sirfile 51 src/libsir/include/sir/filecache.h void _sirfile_rollifneeded(sirfile* sf); sirfile 52 src/libsir/include/sir/filecache.h bool _sirfile_archive(sirfile* sf, const char* newpath); sirfile 53 src/libsir/include/sir/filecache.h bool _sirfile_splitpath(const sirfile* sf, char** name, char** ext); sirfile 54 src/libsir/include/sir/filecache.h void _sirfile_destroy(sirfile** sf); sirfile 55 src/libsir/include/sir/filecache.h bool _sirfile_validate(const sirfile* sf); sirfile 56 src/libsir/include/sir/filecache.h bool _sirfile_update(sirfile* sf, const sir_update_config_data* data); sirfile 64 src/libsir/include/sir/filecache.h bool _sir_fcache_pred_path(const void* match, const sirfile* iter); sirfile 65 src/libsir/include/sir/filecache.h bool _sir_fcache_pred_id(const void* match, const sirfile* iter); sirfile 66 src/libsir/include/sir/filecache.h sirfile* _sir_fcache_find(const sirfcache* sfc, const void* match, sir_fcache_pred pred); sirfile 324 src/libsir/include/sir/types.h sirfile* files[SIR_MAXFILES]; sirfile 81 src/libsir/src/sirfilecache.c sirfile* _sirfile_create(const char* path, sir_levels levels, sir_options opts) { sirfile 85 src/libsir/src/sirfilecache.c sirfile* sf = (sirfile*)calloc(1, sizeof(sirfile)); sirfile 109 src/libsir/src/sirfilecache.c bool _sirfile_open(sirfile* sf) { sirfile 126 src/libsir/src/sirfilecache.c void _sirfile_close(sirfile* sf) { sirfile 131 src/libsir/src/sirfilecache.c bool _sirfile_write(sirfile* sf, const char* output) { sirfile 156 src/libsir/src/sirfilecache.c bool _sirfile_writeheader(sirfile* sf, const char* msg) { sirfile 177 src/libsir/src/sirfilecache.c bool _sirfile_needsroll(sirfile* sf) { sirfile 197 src/libsir/src/sirfilecache.c bool _sirfile_roll(sirfile* sf, char** newpath) { sirfile 275 src/libsir/src/sirfilecache.c void _sirfile_rollifneeded(sirfile* sf) { sirfile 298 src/libsir/src/sirfilecache.c bool _sirfile_archive(sirfile* sf, const char* newpath) { sirfile 318 src/libsir/src/sirfilecache.c bool _sirfile_splitpath(const sirfile* sf, char** name, char** ext) { sirfile 357 src/libsir/src/sirfilecache.c void _sirfile_destroy(sirfile** sf) { sirfile 365 src/libsir/src/sirfilecache.c bool _sirfile_validate(const sirfile* sf) { sirfile 370 src/libsir/src/sirfilecache.c bool _sirfile_update(sirfile* sf, const sir_update_config_data* data) { sirfile 416 src/libsir/src/sirfilecache.c const sirfile* existing = _sir_fcache_find(sfc, (const void*)path, _sir_fcache_pred_path); sirfile 423 src/libsir/src/sirfilecache.c sirfile* sf = _sirfile_create(path, levels, opts); sirfile 446 src/libsir/src/sirfilecache.c sirfile* found = _sir_fcache_find(sfc, (const void*)&id, _sir_fcache_pred_id); sirfile 490 src/libsir/src/sirfilecache.c bool _sir_fcache_pred_path(const void* match, const sirfile* iter) { sirfile 560 src/libsir/src/sirfilecache.c bool _sir_fcache_pred_id(const void* match, const sirfile* iter) { sirfile 565 src/libsir/src/sirfilecache.c sirfile* _sir_fcache_find(const sirfcache* sfc, const void* match, sir_fcache_pred pred) {