diff options
Diffstat (limited to 'include/disfluid.h')
-rw-r--r-- | include/disfluid.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/include/disfluid.h b/include/disfluid.h index 8c52922..51f096a 100644 --- a/include/disfluid.h +++ b/include/disfluid.h @@ -136,14 +136,6 @@ extern "C" LIBDISFLUID_API LIBDISFLUID_DEALLOC_AS_CACHE_ENTRY extern struct disfluid_cache_entry - *disfluid_cache_entry_from_file_name (const char *filename); - - LIBDISFLUID_API LIBDISFLUID_DEALLOC_AS_CACHE_ENTRY - LIBDISFLUID_FD_ARG_READ_1 extern struct disfluid_cache_entry - *disfluid_cache_entry_from_fd (int fd); - - LIBDISFLUID_API LIBDISFLUID_DEALLOC_AS_CACHE_ENTRY - extern struct disfluid_cache_entry *disfluid_cache_entry_dup (const struct disfluid_cache_entry *entry); LIBDISFLUID_API extern void @@ -164,9 +156,9 @@ extern "C" disfluid_cache_entry_set_invalidated (struct disfluid_cache_entry *entry, int invalidated); - LIBDISFLUID_API extern void - disfluid_cache_entry_set_file_name (struct disfluid_cache_entry *entry, - const char *filename); + LIBDISFLUID_API extern int + disfluid_cache_entry_load (struct disfluid_cache_entry *entry, + const char *filename); LIBDISFLUID_API extern void disfluid_cache_entry_get_request_date (const struct disfluid_cache_entry @@ -180,18 +172,9 @@ extern "C" disfluid_cache_entry_invalidated (const struct disfluid_cache_entry *entry); - LIBDISFLUID_API LIBDISFLUID_DEALLOC_WITH_FREE extern char - *disfluid_cache_entry_get_file_name (const struct disfluid_cache_entry - *entry); - LIBDISFLUID_API extern int - disfluid_cache_entry_save_other_file_name (const struct - disfluid_cache_entry *entry, - const char *filename); - - LIBDISFLUID_API LIBDISFLUID_FD_ARG_WRITE_2 extern int - disfluid_cache_entry_save_other_fd (const struct disfluid_cache_entry - *entry, int fd); + disfluid_cache_entry_save (const struct disfluid_cache_entry *entry, + const char *filename); # ifdef __cplusplus } |