summaryrefslogtreecommitdiffstats
path: root/xbmc/filesystem/IFileTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/filesystem/IFileTypes.h')
-rw-r--r--xbmc/filesystem/IFileTypes.h13
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
66typedef enum { 66typedef 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
74enum CURLOPTIONTYPE 75enum CURLOPTIONTYPE