diff options
| author | manuel <manuel@mausz.at> | 2016-05-01 18:06:14 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-05-01 18:06:14 +0200 |
| commit | 5823b05feb29a59510c32a9c28ca18b50b9b6399 (patch) | |
| tree | ac1603a592af9415b722b2669e04e417bd13c45c /xbmc/filesystem/IFileTypes.h | |
| parent | 88de33e1836c646ccf594ef162c258d1210fd24e (diff) | |
| download | kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.gz kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.bz2 kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.zip | |
sync with upstream
Diffstat (limited to 'xbmc/filesystem/IFileTypes.h')
| -rw-r--r-- | xbmc/filesystem/IFileTypes.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xbmc/filesystem/IFileTypes.h b/xbmc/filesystem/IFileTypes.h index d2d77eb..4c6dd98 100644 --- a/xbmc/filesystem/IFileTypes.h +++ b/xbmc/filesystem/IFileTypes.h | |||
| @@ -60,15 +60,16 @@ struct SCacheStatus | |||
| 60 | uint64_t forward; /**< number of bytes cached forward of current position */ | 60 | uint64_t forward; /**< number of bytes cached forward of current position */ |
| 61 | unsigned maxrate; /**< maximum number of bytes per second cache is allowed to fill */ | 61 | unsigned maxrate; /**< maximum number of bytes per second cache is allowed to fill */ |
| 62 | unsigned currate; /**< average read rate from source file since last position change */ | 62 | unsigned currate; /**< average read rate from source file since last position change */ |
| 63 | bool full; /**< is the cache full */ | 63 | float level; /**< cache level (0.0 - 1.0) */ |
| 64 | }; | 64 | }; |
| 65 | 65 | ||
| 66 | typedef enum { | 66 | typedef enum { |
| 67 | IOCTRL_NATIVE = 1, /**< SNativeIoControl structure, containing what should be passed to native ioctrl */ | 67 | IOCTRL_NATIVE = 1, /**< SNativeIoControl structure, containing what should be passed to native ioctrl */ |
| 68 | IOCTRL_SEEK_POSSIBLE = 2, /**< return 0 if known not to work, 1 if it should work */ | 68 | IOCTRL_SEEK_POSSIBLE = 2, /**< return 0 if known not to work, 1 if it should work */ |
| 69 | IOCTRL_CACHE_STATUS = 3, /**< SCacheStatus structure */ | 69 | IOCTRL_CACHE_STATUS = 3, /**< SCacheStatus structure */ |
| 70 | IOCTRL_CACHE_SETRATE = 4, /**< unsigned int with speed limit for caching in bytes per second */ | 70 | IOCTRL_CACHE_SETRATE = 4, /**< unsigned int with speed limit for caching in bytes per second */ |
| 71 | IOCTRL_SET_CACHE = 8, /** <CFileCache */ | 71 | IOCTRL_SET_CACHE = 8, /**< CFileCache */ |
| 72 | IOCTRL_SET_RETRY = 16, /**< Enable/disable retry within the protocol handler (if supported) */ | ||
| 72 | } EIoControl; | 73 | } EIoControl; |
| 73 | 74 | ||
| 74 | enum CURLOPTIONTYPE | 75 | enum CURLOPTIONTYPE |
