gpac/cache.h File Reference

Cache management functions. More...

#include <gpac/tools.h>

Typedefs

typedef struct
__DownloadedCacheEntryStruct * 
DownloadedCacheEntry
typedef struct
__CacheReaderStruct * 
GF_CacheReader

Functions

GF_Err gf_cache_delete_entry (const DownloadedCacheEntry entry)
const char * gf_cache_get_etag_on_server (const DownloadedCacheEntry entry)
GF_Err gf_cache_set_etag_on_disk (const DownloadedCacheEntry entry, const char *eTag)
const char * gf_cache_get_etag_on_disk (const DownloadedCacheEntry entry)
GF_Err gf_cache_set_etag_on_server (const DownloadedCacheEntry entry, const char *eTag)
const char * gf_cache_get_mime_type (const DownloadedCacheEntry entry)
GF_Err gf_cache_set_mime_type (const DownloadedCacheEntry entry, const char *mime_type)
const char * gf_cache_get_url (const DownloadedCacheEntry entry)
const char * gf_cache_get_hash (const DownloadedCacheEntry entry)
Bool gf_cache_can_be_cached (const DownloadedCacheEntry entry)
const char * gf_cache_get_last_modified_on_disk (const DownloadedCacheEntry entry)
const char * gf_cache_get_last_modified_on_server (const DownloadedCacheEntry entry)
GF_Err gf_cache_set_last_modified_on_disk (const DownloadedCacheEntry entry, const char *newLastModified)
GF_Err gf_cache_set_last_modified_on_server (const DownloadedCacheEntry entry, const char *newLastModified)
const char * gf_cache_get_cache_filename (const DownloadedCacheEntry entry)
u32 gf_cache_get_cache_filesize (const DownloadedCacheEntry entry)
GF_Err gf_cache_flush_disk_cache (const DownloadedCacheEntry entry)
GF_Err gf_cache_set_content_length (const DownloadedCacheEntry entry, u32 length)
u32 gf_cache_get_content_length (const DownloadedCacheEntry entry)
GF_Err appendHttpCacheHeaders (const DownloadedCacheEntry entry, char *httpRequest)
 append cache directives to an HTTP GET request
GF_Err gf_cache_delete_all_cached_files (const char *directory)
GF_CacheReader gf_cache_reader_new (const DownloadedCacheEntry entry)
GF_Err gf_cache_reader_del (GF_CacheReader handle)
s64 gf_cache_reader_seek_at (GF_CacheReader reader, u64 seekPosition)
s64 gf_cache_reader_get_position (const GF_CacheReader reader)
s64 gf_cache_reader_get_currentSize (GF_CacheReader reader)
s64 gf_cache_reader_get_full_size (GF_CacheReader reader)
s32 gf_cache_reader_read (GF_CacheReader reader, char *buff, s32 length)
Bool gf_cache_check_if_cache_file_is_corrupted (const DownloadedCacheEntry entry)
void gf_cache_entry_set_delete_files_when_deleted (const DownloadedCacheEntry entry)
Bool gf_cache_entry_is_delete_files_when_deleted (const DownloadedCacheEntry entry)
u32 gf_cache_get_sessions_count_for_cache_entry (const DownloadedCacheEntry entry)
u64 gf_cache_get_start_range (const DownloadedCacheEntry entry)
u64 gf_cache_get_end_range (const DownloadedCacheEntry entry)

Detailed Description

>


Generated on 14 Dec 2011 for libgpac by  doxygen 1.6.1