Changeset 51739 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jun 26, 2014 1:04:36 PM (10 years ago)
- Location:
- trunk/src/VBox/Runtime/common/zip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/zip/pkzip.cpp
r51732 r51739 57 57 58 58 /** 59 * @interface_method_impl{RTVFSOBJOPS,pfnClose} 60 */ 61 static DECLCALLBACK(int) memFssIos_Close(void *pvThis) 62 { 63 NOREF(pvThis); 64 return VINF_SUCCESS; 65 } 66 67 /** 59 68 * @interface_method_impl{RTVFSOBJOPS,pfnQueryInfo} 60 69 */ … … 106 115 107 116 /** 117 * @interface_method_impl{RTVFSIOSTREAMOPS,pfnWrite} 118 */ 119 static DECLCALLBACK(int) memFssIos_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) 120 { 121 return VERR_NOT_IMPLEMENTED; 122 } 123 124 /** 125 * @interface_method_impl{RTVFSIOSTREAMOPS,pfnFlush} 126 */ 127 static DECLCALLBACK(int) memFssIos_Flush(void *pvThis) 128 { 129 return VERR_NOT_IMPLEMENTED; 130 } 131 132 /** 133 * @interface_method_impl{RTVFSIOSTREAMOPS,pfnPollOne} 134 */ 135 static DECLCALLBACK(int) memFssIos_PollOne(void *pvThis, uint32_t fEvents, RTMSINTERVAL cMillies, bool fIntr, uint32_t *pfRetEvents) 136 { 137 return VERR_NOT_IMPLEMENTED; 138 } 139 140 /** 141 * @interface_method_impl{RTVFSIOSTREAMOPS,pfnTell} 142 */ 143 static DECLCALLBACK(int) memFssIos_Tell(void *pvThis, PRTFOFF poffActual) 144 { 145 PMEMIOSTREAM pThis = (PMEMIOSTREAM)pvThis; 146 *poffActual = pThis->off; 147 return VINF_SUCCESS; 148 } 149 150 /** 108 151 * Memory I/O object stream operations. 109 152 */ … … 114 157 RTVFSOBJTYPE_IO_STREAM, 115 158 "MemFsStream::IoStream", 116 NULL /*Close*/,159 memFssIos_Close, 117 160 memFssIos_QueryInfo, 118 161 RTVFSOBJOPS_VERSION … … 121 164 RTVFSIOSTREAMOPS_FEAT_NO_SG, 122 165 memFssIos_Read, 123 NULL /*Write*/,124 NULL /*Flush*/,125 NULL /*PollOne*/,126 NULL /*Tell*/,166 memFssIos_Write, 167 memFssIos_Flush, 168 memFssIos_PollOne, 169 memFssIos_Tell, 127 170 NULL /*Skip*/, 128 171 NULL /*ZeroFill*/, -
trunk/src/VBox/Runtime/common/zip/pkzipvfs.cpp
r51712 r51739 983 983 } 984 984 985 static DECLCALLBACK(int) rtZipPkzipFssIos_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcWritten) 986 { 987 return VERR_NOT_IMPLEMENTED; 988 } 989 990 static DECLCALLBACK(int) rtZipPkzipFssIos_Flush(void *pvThis) 991 { 992 return VERR_NOT_IMPLEMENTED; 993 } 985 994 986 995 /** … … 1035 1044 RTVFSIOSTREAMOPS_FEAT_NO_SG, 1036 1045 rtZipPkzipFssIos_Read, 1037 NULL /*Write*/,1038 NULL /*Flush*/,1046 rtZipPkzipFssIos_Write, 1047 rtZipPkzipFssIos_Flush, 1039 1048 rtZipPkzipFssIos_PollOne, 1040 1049 rtZipPkzipFssIos_Tell,
Note:
See TracChangeset
for help on using the changeset viewer.