Kodi Development  20.0
for Binary and Script based Add-Ons
AddonToKodiFuncTable_kodi_filesystem

Public Attributes

bool(* can_open_directory )(void *kodiBase, const char *url)
 
void(* close_file )(void *kodiBase, void *file)
 
bool(* copy_file )(void *kodiBase, const char *filename, const char *dest)
 
bool(* create_directory )(void *kodiBase, const char *path)
 
bool(* curl_add_option )(void *kodiBase, void *file, int type, const char *name, const char *value)
 
void *(* curl_create )(void *kodiBase, const char *url)
 
bool(* curl_open )(void *kodiBase, void *file, unsigned int flags)
 
bool(* delete_file )(void *kodiBase, const char *filename)
 
bool(* directory_exists )(void *kodiBase, const char *path)
 
bool(* file_exists )(void *kodiBase, const char *filename, bool useCache)
 
void(* flush_file )(void *kodiBase, void *file)
 
void(* free_directory )(void *kodiBase, struct VFSDirEntry *items, unsigned int num_items)
 
char *(* get_cache_thumb_name )(void *kodiBase, const char *filename)
 
bool(* get_content_type )(void *kodiBase, const char *url, char **content, const char *useragent)
 
bool(* get_cookies )(void *kodiBase, const char *url, char **cookies)
 
bool(* get_directory )(void *kodiBase, const char *path, const char *mask, struct VFSDirEntry **items, unsigned int *num_items)
 
bool(* get_disk_space )(void *kodiBase, const char *path, uint64_t *capacity, uint64_t *free, uint64_t *available)
 
int(* get_file_chunk_size )(void *kodiBase, void *file)
 
double(* get_file_download_speed )(void *kodiBase, void *file)
 
int64_t(* get_file_length )(void *kodiBase, void *file)
 
char *(* get_file_md5 )(void *kodiBase, const char *filename)
 
int64_t(* get_file_position )(void *kodiBase, void *file)
 
bool(* get_http_header )(void *kodiBase, const char *url, struct KODI_HTTP_HEADER *headers)
 
bool(* get_mime_type )(void *kodiBase, const char *url, char **content, const char *useragent)
 
char **(* get_property_values )(void *kodiBase, void *file, int type, const char *name, int *numValues)
 
bool(* http_header_create )(void *kodiBase, struct KODI_HTTP_HEADER *headers)
 
void(* http_header_free )(void *kodiBase, struct KODI_HTTP_HEADER *headers)
 
bool(* io_control_get_cache_status )(void *kodiBase, void *file, struct VFS_CACHE_STATUS_DATA *status)
 
bool(* io_control_get_seek_possible )(void *kodiBase, void *file)
 
bool(* io_control_set_cache_rate )(void *kodiBase, void *file, unsigned int rate)
 
bool(* io_control_set_retry )(void *kodiBase, void *file, bool retry)
 
bool(* is_internet_stream )(void *kodiBase, const char *path, bool strictCheck)
 
bool(* is_local )(void *kodiBase, const char *path)
 
bool(* is_on_lan )(void *kodiBase, const char *path)
 
bool(* is_remote )(void *kodiBase, const char *path)
 
bool(* is_url )(void *kodiBase, const char *path)
 
char *(* make_legal_filename )(void *kodiBase, const char *filename)
 
char *(* make_legal_path )(void *kodiBase, const char *path)
 
void *(* open_file )(void *kodiBase, const char *filename, unsigned int flags)
 
void *(* open_file_for_write )(void *kodiBase, const char *filename, bool overwrite)
 
ssize_t(* read_file )(void *kodiBase, void *file, void *ptr, size_t size)
 
bool(* read_file_string )(void *kodiBase, void *file, char *szLine, int iLineLength)
 
bool(* remove_directory )(void *kodiBase, const char *path)
 
bool(* remove_directory_recursive )(void *kodiBase, const char *path)
 
bool(* rename_file )(void *kodiBase, const char *filename, const char *newFileName)
 
int64_t(* seek_file )(void *kodiBase, void *file, int64_t position, int whence)
 
bool(* stat_file )(void *kodiBase, const char *filename, struct STAT_STRUCTURE *buffer)
 
char *(* translate_special_protocol )(void *kodiBase, const char *strSource)
 
int(* truncate_file )(void *kodiBase, void *file, int64_t size)
 
ssize_t(* write_file )(void *kodiBase, void *file, const void *ptr, size_t size)
 

The documentation for this struct was generated from the following file: