|
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
#include <kodi_vfs_types.h>
Public Attributes | |
| kodi::addon::CInstanceVFS * | addonInstance |
| void * | context |
| void void * | buffer |
| void void size_t | buf_size |
| void const void * | buffer |
| void const void size_t | buf_size |
| void int64_t | position |
| void int64_t int | whence |
| void int64_t | size |
| void XFILE::EIoControl | request |
| void XFILE::EIoControl void * | param |
| const VFSURL * | url |
| const VFSURL struct __stat64 * | buffer |
| const VFSURL const VFSURL * | url2 |
| const VFSURL VFSDirEntry ** | entries |
| const VFSURL VFSDirEntry int * | num_entries |
| const VFSURL VFSDirEntry int VFSGetDirectoryCallbacks * | callbacks |
| const VFSURL VFSDirEntry int char * | rootpath |
| VFSDirEntry * | entries |
| VFSDirEntry int | num_entries |
| void * | buffer |
| void size_t | uiBufSize |
| const void * | buffer |
| const void size_t | uiBufSize |
| int64_t | position |
| int64_t int | whence |
| int64_t | size |
| XFILE::EIoControl | request |
| XFILE::EIoControl void * | param |
| struct __stat64 * | buffer |
| VFSURL * | url2 |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | close | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | exists | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | delete_it | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | rename | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | directory_exists | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | remove_directory | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | create_directory | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | get_directory | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | contains_files | ) | const |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | Close | ) |
Close a file.
| context | The context of the file |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | Exists | ) |
Check for file existence.
| url | The URL of the file |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | Delete | ) |
Delete a file.
| url | The URL of the file |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | Rename | ) |
Rename a file.
| url | The URL of the source file |
| url2 | The URL of the destination file |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | DirectoryExists | ) |
Check for directory existence.
| url | The URL of the file |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | RemoveDirectory | ) |
Remove a directory.
| url | The URL of the directory |
| KodiToAddonFuncTable_VFSEntry::bool | ( | __cdecl * | CreateDirectory | ) |
Create a directory.
| url | The URL of the file |
| void* __cdecl* KodiToAddonFuncTable_VFSEntry::ContainsFiles | ( | VFSURL * | url, |
| VFSDirEntry ** | entries, | ||
| int * | num_entries, | ||
| char * | rootpath | ||
| ) |
Check if file should be presented as a directory (multiple streams)
| url | The URL of the file |
| entries | The entries in the directory |
| num_entries | Number of entries in the directory |
| rootpath | Path to root directory if multiple entries |
| void* __cdecl* KodiToAddonFuncTable_VFSEntry::GetDirectory | ( | VFSURL * | url, |
| VFSDirEntry ** | entries, | ||
| int * | num_entries, | ||
| VFSCallbacks * | callbacks | ||
| ) |
List a directory.
| url | The URL of the directory |
| entries | The entries in the directory |
| num_entries | Number of entries in the directory |
| callbacks | A callback structure |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | truncate | ) | const |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | get_chunk_size | ) | const |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | io_control | ) | const |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | stat | ) | const |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | Truncate | ) |
Truncate a file.
| context | The context of the file |
| size | The size to truncate the file to |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | GetChunkSize | ) |
Get chunk size of a file.
| context | The context of the file |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | IoControl | ) |
Perform an IO-control on the file.
| context | The context of the file |
| request | The requested IO-control |
| param | Parameter attached to the IO-control |
| KodiToAddonFuncTable_VFSEntry::int | ( | __cdecl * | Stat | ) |
Stat a file.
| url | The URL of the file |
| buffer | The buffer to store results in |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | seek | ) | const |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | get_length | ) | const |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | get_position | ) | const |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | Seek | ) |
Seek in a file.
| context | The context of the file |
| position | The position to seek to |
| whence | Position in file 'position' is relative to (SEEK_CUR, SEEK_SET, SEEK_END) |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | GetLength | ) |
Get total size of a file.
| context | The context of the file |
| KodiToAddonFuncTable_VFSEntry::int64_t | ( | __cdecl * | GetPosition | ) |
Get current position in a file.
| context | The context of the file |
| void* __cdecl* KodiToAddonFuncTable_VFSEntry::open | ( | const AddonInstance_VFSEntry * | instance, |
| const VFSURL * | url | ||
| ) |
Open a file for input.
| url | The URL of the file |
| void* __cdecl* KodiToAddonFuncTable_VFSEntry::open_for_write | ( | const AddonInstance_VFSEntry * | instance, |
| const VFSURL * | url, | ||
| bool | overwrite | ||
| ) |
Open a file for output.
| url | The URL of the file |
| bOverwrite | Whether or not to overwrite an existing file |
| KodiToAddonFuncTable_VFSEntry::ssize_t | ( | __cdecl * | read | ) | const |
| KodiToAddonFuncTable_VFSEntry::ssize_t | ( | __cdecl * | write | ) | const |
| KodiToAddonFuncTable_VFSEntry::ssize_t | ( | __cdecl * | Read | ) |
Read from a file.
| context | The context of the file |
| buffer | The buffer to read data into |
| uiBufSize | Number of bytes to read |
| KodiToAddonFuncTable_VFSEntry::ssize_t | ( | __cdecl * | Write | ) |
Write to a file.
| context | The context of the file |
| buffer | The buffer to read data from |
| uiBufSize | Number of bytes to write |
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | clear_out_idle | ) | const |
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | disconnect_all | ) | const |
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | free_directory | ) | const |
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | ClearOutIdle | ) |
Clear out any idle connections.
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | DisconnectAll | ) |
Disconnect all connections.
| KodiToAddonFuncTable_VFSEntry::void | ( | __cdecl * | FreeDirectory | ) |
Free up resources after listing a directory.
| kodi::addon::CInstanceVFS* KodiToAddonFuncTable_VFSEntry::addonInstance |
| void* KodiToAddonFuncTable_VFSEntry::buffer |
| const void* KodiToAddonFuncTable_VFSEntry::buffer |
| struct __stat64* KodiToAddonFuncTable_VFSEntry::buffer |
| const VFSURL VFSDirEntry int VFSGetDirectoryCallbacks* KodiToAddonFuncTable_VFSEntry::callbacks |
| void * KodiToAddonFuncTable_VFSEntry::context |
| const VFSURL VFSDirEntry ** KodiToAddonFuncTable_VFSEntry::entries |
| VFSDirEntry* KodiToAddonFuncTable_VFSEntry::entries |
| const VFSURL VFSDirEntry int * KodiToAddonFuncTable_VFSEntry::num_entries |
| VFSDirEntry int KodiToAddonFuncTable_VFSEntry::num_entries |
| void XFILE::EIoControl void* KodiToAddonFuncTable_VFSEntry::param |
| XFILE::EIoControl void* KodiToAddonFuncTable_VFSEntry::param |
| int64_t KodiToAddonFuncTable_VFSEntry::position |
| void XFILE::EIoControl KodiToAddonFuncTable_VFSEntry::request |
| XFILE::EIoControl KodiToAddonFuncTable_VFSEntry::request |
| const VFSURL VFSDirEntry int char* KodiToAddonFuncTable_VFSEntry::rootpath |
| int64_t KodiToAddonFuncTable_VFSEntry::size |
| void size_t KodiToAddonFuncTable_VFSEntry::uiBufSize |
| const void size_t KodiToAddonFuncTable_VFSEntry::uiBufSize |
| const VFSURL * KodiToAddonFuncTable_VFSEntry::url |
| VFSURL* KodiToAddonFuncTable_VFSEntry::url2 |