Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
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, uint32_t 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)
 

Member Data Documentation

◆ can_open_directory

bool(* can_open_directory) (void *kodiBase, const char *url)

◆ create_directory

bool(* create_directory) (void *kodiBase, const char *path)

◆ remove_directory

bool(* remove_directory) (void *kodiBase, const char *path)

◆ directory_exists

bool(* directory_exists) (void *kodiBase, const char *path)

◆ get_directory

bool(* get_directory) (void *kodiBase, const char *path, const char *mask, struct VFSDirEntry **items, unsigned int *num_items)

◆ free_directory

void(* free_directory) (void *kodiBase, struct VFSDirEntry *items, unsigned int num_items)

◆ file_exists

bool(* file_exists) (void *kodiBase, const char *filename, bool useCache)

◆ stat_file

bool(* stat_file) (void *kodiBase, const char *filename, struct STAT_STRUCTURE *buffer)

◆ delete_file

bool(* delete_file) (void *kodiBase, const char *filename)

◆ rename_file

bool(* rename_file) (void *kodiBase, const char *filename, const char *newFileName)

◆ copy_file

bool(* copy_file) (void *kodiBase, const char *filename, const char *dest)

◆ get_file_md5

char *(* get_file_md5) (void *kodiBase, const char *filename)

◆ get_cache_thumb_name

char *(* get_cache_thumb_name) (void *kodiBase, const char *filename)

◆ make_legal_filename

char *(* make_legal_filename) (void *kodiBase, const char *filename)

◆ make_legal_path

char *(* make_legal_path) (void *kodiBase, const char *path)

◆ translate_special_protocol

char *(* translate_special_protocol) (void *kodiBase, const char *strSource)

◆ is_internet_stream

bool(* is_internet_stream) (void *kodiBase, const char *path, bool strictCheck)

◆ is_on_lan

bool(* is_on_lan) (void *kodiBase, const char *path)

◆ is_remote

bool(* is_remote) (void *kodiBase, const char *path)

◆ is_local

bool(* is_local) (void *kodiBase, const char *path)

◆ is_url

bool(* is_url) (void *kodiBase, const char *path)

◆ get_http_header

bool(* get_http_header) (void *kodiBase, const char *url, struct KODI_HTTP_HEADER *headers)

◆ get_mime_type

bool(* get_mime_type) (void *kodiBase, const char *url, char **content, const char *useragent)

◆ get_content_type

bool(* get_content_type) (void *kodiBase, const char *url, char **content, const char *useragent)

◆ get_cookies

bool(* get_cookies) (void *kodiBase, const char *url, char **cookies)

◆ http_header_create

bool(* http_header_create) (void *kodiBase, struct KODI_HTTP_HEADER *headers)

◆ http_header_free

void(* http_header_free) (void *kodiBase, struct KODI_HTTP_HEADER *headers)

◆ open_file

void *(* open_file) (void *kodiBase, const char *filename, unsigned int flags)

◆ open_file_for_write

void *(* open_file_for_write) (void *kodiBase, const char *filename, bool overwrite)

◆ read_file

ssize_t(* read_file) (void *kodiBase, void *file, void *ptr, size_t size)

◆ read_file_string

bool(* read_file_string) (void *kodiBase, void *file, char *szLine, int iLineLength)

◆ write_file

ssize_t(* write_file) (void *kodiBase, void *file, const void *ptr, size_t size)

◆ flush_file

void(* flush_file) (void *kodiBase, void *file)

◆ seek_file

int64_t(* seek_file) (void *kodiBase, void *file, int64_t position, int whence)

◆ truncate_file

int(* truncate_file) (void *kodiBase, void *file, int64_t size)

◆ get_file_position

int64_t(* get_file_position) (void *kodiBase, void *file)

◆ get_file_length

int64_t(* get_file_length) (void *kodiBase, void *file)

◆ get_file_download_speed

double(* get_file_download_speed) (void *kodiBase, void *file)

◆ close_file

void(* close_file) (void *kodiBase, void *file)

◆ get_file_chunk_size

int(* get_file_chunk_size) (void *kodiBase, void *file)

◆ io_control_get_seek_possible

bool(* io_control_get_seek_possible) (void *kodiBase, void *file)

◆ io_control_get_cache_status

bool(* io_control_get_cache_status) (void *kodiBase, void *file, struct VFS_CACHE_STATUS_DATA *status)

◆ io_control_set_cache_rate

bool(* io_control_set_cache_rate) (void *kodiBase, void *file, uint32_t rate)

◆ io_control_set_retry

bool(* io_control_set_retry) (void *kodiBase, void *file, bool retry)

◆ get_property_values

char **(* get_property_values) (void *kodiBase, void *file, int type, const char *name, int *numValues)

◆ curl_create

void *(* curl_create) (void *kodiBase, const char *url)

◆ curl_add_option

bool(* curl_add_option) (void *kodiBase, void *file, int type, const char *name, const char *value)

◆ curl_open

bool(* curl_open) (void *kodiBase, void *file, unsigned int flags)

◆ get_disk_space

bool(* get_disk_space) (void *kodiBase, const char *path, uint64_t *capacity, uint64_t *free, uint64_t *available)

◆ remove_directory_recursive

bool(* remove_directory_recursive) (void *kodiBase, const char *path)

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