Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <filesystem.h>
Public Attributes | |
bool(* | can_open_directory )(void *kodiBase, const char *url) |
bool(* | create_directory )(void *kodiBase, const char *path) |
bool(* | remove_directory )(void *kodiBase, const char *path) |
bool(* | directory_exists )(void *kodiBase, const char *path) |
bool(* | get_directory )(void *kodiBase, const char *path, const char *mask, struct VFSDirEntry **items, unsigned int *num_items) |
void(* | free_directory )(void *kodiBase, struct VFSDirEntry *items, unsigned int num_items) |
bool(* | file_exists )(void *kodiBase, const char *filename, bool useCache) |
bool(* | stat_file )(void *kodiBase, const char *filename, struct STAT_STRUCTURE *buffer) |
bool(* | delete_file )(void *kodiBase, const char *filename) |
bool(* | rename_file )(void *kodiBase, const char *filename, const char *newFileName) |
bool(* | copy_file )(void *kodiBase, const char *filename, const char *dest) |
char *(* | get_file_md5 )(void *kodiBase, const char *filename) |
char *(* | get_cache_thumb_name )(void *kodiBase, const char *filename) |
char *(* | make_legal_filename )(void *kodiBase, const char *filename) |
char *(* | make_legal_path )(void *kodiBase, const char *path) |
char *(* | translate_special_protocol )(void *kodiBase, const char *strSource) |
bool(* | is_internet_stream )(void *kodiBase, const char *path, bool strictCheck) |
bool(* | is_on_lan )(void *kodiBase, const char *path) |
bool(* | is_remote )(void *kodiBase, const char *path) |
bool(* | is_local )(void *kodiBase, const char *path) |
bool(* | is_url )(void *kodiBase, const char *path) |
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) |
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(* | http_header_create )(void *kodiBase, struct KODI_HTTP_HEADER *headers) |
void(* | http_header_free )(void *kodiBase, struct KODI_HTTP_HEADER *headers) |
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) |
ssize_t(* | write_file )(void *kodiBase, void *file, const void *ptr, size_t size) |
void(* | flush_file )(void *kodiBase, void *file) |
int64_t(* | seek_file )(void *kodiBase, void *file, int64_t position, int whence) |
int(* | truncate_file )(void *kodiBase, void *file, int64_t size) |
int64_t(* | get_file_position )(void *kodiBase, void *file) |
int64_t(* | get_file_length )(void *kodiBase, void *file) |
double(* | get_file_download_speed )(void *kodiBase, void *file) |
void(* | close_file )(void *kodiBase, void *file) |
int(* | get_file_chunk_size )(void *kodiBase, void *file) |
bool(* | io_control_get_seek_possible )(void *kodiBase, void *file) |
bool(* | io_control_get_cache_status )(void *kodiBase, void *file, struct VFS_CACHE_STATUS_DATA *status) |
bool(* | io_control_set_cache_rate )(void *kodiBase, void *file, uint32_t rate) |
bool(* | io_control_set_retry )(void *kodiBase, void *file, bool retry) |
char **(* | get_property_values )(void *kodiBase, void *file, int type, const char *name, int *numValues) |
void *(* | curl_create )(void *kodiBase, const char *url) |
bool(* | curl_add_option )(void *kodiBase, void *file, int type, const char *name, const char *value) |
bool(* | curl_open )(void *kodiBase, void *file, unsigned int flags) |
bool(* | get_disk_space )(void *kodiBase, const char *path, uint64_t *capacity, uint64_t *free, uint64_t *available) |
bool(* | remove_directory_recursive )(void *kodiBase, const char *path) |
bool(* AddonToKodiFuncTable_kodi_filesystem::copy_file) (void *kodiBase, const char *filename, const char *dest) |
bool(* AddonToKodiFuncTable_kodi_filesystem::curl_add_option) (void *kodiBase, void *file, int type, const char *name, const char *value) |
bool(* AddonToKodiFuncTable_kodi_filesystem::curl_open) (void *kodiBase, void *file, unsigned int flags) |
bool(* AddonToKodiFuncTable_kodi_filesystem::file_exists) (void *kodiBase, const char *filename, bool useCache) |
void(* AddonToKodiFuncTable_kodi_filesystem::free_directory) (void *kodiBase, struct VFSDirEntry *items, unsigned int num_items) |
char *(* AddonToKodiFuncTable_kodi_filesystem::get_cache_thumb_name) (void *kodiBase, const char *filename) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_content_type) (void *kodiBase, const char *url, char **content, const char *useragent) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_cookies) (void *kodiBase, const char *url, char **cookies) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_directory) (void *kodiBase, const char *path, const char *mask, struct VFSDirEntry **items, unsigned int *num_items) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_disk_space) (void *kodiBase, const char *path, uint64_t *capacity, uint64_t *free, uint64_t *available) |
double(* AddonToKodiFuncTable_kodi_filesystem::get_file_download_speed) (void *kodiBase, void *file) |
char *(* AddonToKodiFuncTable_kodi_filesystem::get_file_md5) (void *kodiBase, const char *filename) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_http_header) (void *kodiBase, const char *url, struct KODI_HTTP_HEADER *headers) |
bool(* AddonToKodiFuncTable_kodi_filesystem::get_mime_type) (void *kodiBase, const char *url, char **content, const char *useragent) |
char **(* AddonToKodiFuncTable_kodi_filesystem::get_property_values) (void *kodiBase, void *file, int type, const char *name, int *numValues) |
bool(* AddonToKodiFuncTable_kodi_filesystem::http_header_create) (void *kodiBase, struct KODI_HTTP_HEADER *headers) |
void(* AddonToKodiFuncTable_kodi_filesystem::http_header_free) (void *kodiBase, struct KODI_HTTP_HEADER *headers) |
bool(* AddonToKodiFuncTable_kodi_filesystem::io_control_get_cache_status) (void *kodiBase, void *file, struct VFS_CACHE_STATUS_DATA *status) |
bool(* AddonToKodiFuncTable_kodi_filesystem::io_control_get_seek_possible) (void *kodiBase, void *file) |
bool(* AddonToKodiFuncTable_kodi_filesystem::io_control_set_cache_rate) (void *kodiBase, void *file, uint32_t rate) |
bool(* AddonToKodiFuncTable_kodi_filesystem::io_control_set_retry) (void *kodiBase, void *file, bool retry) |
bool(* AddonToKodiFuncTable_kodi_filesystem::is_internet_stream) (void *kodiBase, const char *path, bool strictCheck) |
char *(* AddonToKodiFuncTable_kodi_filesystem::make_legal_filename) (void *kodiBase, const char *filename) |
char *(* AddonToKodiFuncTable_kodi_filesystem::make_legal_path) (void *kodiBase, const char *path) |
void *(* AddonToKodiFuncTable_kodi_filesystem::open_file) (void *kodiBase, const char *filename, unsigned int flags) |
void *(* AddonToKodiFuncTable_kodi_filesystem::open_file_for_write) (void *kodiBase, const char *filename, bool overwrite) |
ssize_t(* AddonToKodiFuncTable_kodi_filesystem::read_file) (void *kodiBase, void *file, void *ptr, size_t size) |
bool(* AddonToKodiFuncTable_kodi_filesystem::read_file_string) (void *kodiBase, void *file, char *szLine, int iLineLength) |
bool(* AddonToKodiFuncTable_kodi_filesystem::remove_directory_recursive) (void *kodiBase, const char *path) |
bool(* AddonToKodiFuncTable_kodi_filesystem::rename_file) (void *kodiBase, const char *filename, const char *newFileName) |
int64_t(* AddonToKodiFuncTable_kodi_filesystem::seek_file) (void *kodiBase, void *file, int64_t position, int whence) |
bool(* AddonToKodiFuncTable_kodi_filesystem::stat_file) (void *kodiBase, const char *filename, struct STAT_STRUCTURE *buffer) |
char *(* AddonToKodiFuncTable_kodi_filesystem::translate_special_protocol) (void *kodiBase, const char *strSource) |
int(* AddonToKodiFuncTable_kodi_filesystem::truncate_file) (void *kodiBase, void *file, int64_t size) |
ssize_t(* AddonToKodiFuncTable_kodi_filesystem::write_file) (void *kodiBase, void *file, const void *ptr, size_t size) |