Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
AddonToKodiFuncTable_kodi_filesystem Struct Reference

#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, VFSDirEntry **items, unsigned int *num_items)
 
void(* free_directory )(void *kodiBase, VFSDirEntry *items, unsigned int num_items)
 
bool(* file_exists )(void *kodiBase, const char *filename, bool useCache)
 
int(* stat_file )(void *kodiBase, const char *filename, struct __stat64 *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)
 
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)
 
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)
 

Member Data Documentation

◆ can_open_directory

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

◆ close_file

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

◆ copy_file

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

◆ create_directory

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

◆ curl_add_option

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

◆ curl_create

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

◆ curl_open

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

◆ delete_file

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

◆ directory_exists

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

◆ file_exists

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

◆ flush_file

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

◆ free_directory

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

◆ get_cache_thumb_name

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

◆ get_directory

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

◆ get_file_chunk_size

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

◆ get_file_download_speed

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

◆ get_file_length

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

◆ get_file_md5

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

◆ get_file_position

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

◆ get_property_values

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

◆ make_legal_filename

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

◆ make_legal_path

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

◆ open_file

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

◆ open_file_for_write

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

◆ read_file

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

◆ read_file_string

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

◆ remove_directory

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

◆ rename_file

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

◆ seek_file

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

◆ stat_file

int(* AddonToKodiFuncTable_kodi_filesystem::stat_file) (void *kodiBase, const char *filename, struct __stat64 *buffer)

◆ translate_special_protocol

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

◆ truncate_file

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

◆ write_file

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

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