Changeset 82723 in vbox for trunk/include/iprt
- Timestamp:
- Jan 13, 2020 10:26:27 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135661
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/ftp.h
r82715 r82723 31 31 #endif 32 32 33 #include <iprt/fs.h> 33 34 #include <iprt/types.h> 34 35 … … 130 131 /** Not logged in. */ 131 132 RTFTPSERVER_REPLY_NOT_LOGGED_IN = 530, 133 /** Requested action not taken. */ 134 RTFTPSERVER_REPLY_REQ_ACTION_NOT_TAKEN = 550, 132 135 /** The usual 32-bit hack. */ 133 136 RTFTPSERVER_REPLY_32BIT_HACK = 0x7fffffff … … 179 182 * 180 183 * @returns VBox status code. 184 * @param pData Pointer to generic callback data. 181 185 * @param pcszUser User name. 182 186 */ … … 186 190 * 187 191 * @returns VBox status code. 192 * @param pData Pointer to generic callback data. 188 193 * @param pcszUser User name to authenticate. 189 194 * @param pcszPassword Password to authenticate with. … … 194 199 * 195 200 * @returns VBox status code. 196 * @param p cszUser User name which disconnected.201 * @param pData Pointer to generic callback data. 197 202 */ 198 203 DECLCALLBACKMEMBER(int, pfnOnUserDisconnect)(PRTFTPCALLBACKDATA pData); 199 204 /** 205 * Callback which gets invoked when the client wants to retrieve the size of a specific file. 206 * 207 * @returns VBox status code. 208 * @param pData Pointer to generic callback data. 209 * @param pcszPath Path of file to retrieve size for. 210 * @param puSize Where to store the file size on success. 211 */ 212 DECLCALLBACKMEMBER(int, pfnOnFileGetSize)(PRTFTPCALLBACKDATA pData, const char *pcszPath, uint64_t *puSize); 213 /** 214 * Callback which gets invoked when the client wants to retrieve information about a file. 215 * 216 * @param pData Pointer to generic callback data. 217 * @param pcszPath Path of file / directory to "stat". Optional. If NULL, the current directory will be used. 218 * @param pFsObjInfo Where to return the RTFSOBJINFO data on success. 219 * @returns VBox status code. 220 */ 221 DECLCALLBACKMEMBER(int, pfnOnFileStat)(PRTFTPCALLBACKDATA pData, const char *pcszPath, PRTFSOBJINFO pFsObjInfo); 222 /** 200 223 * Callback which gets invoked when setting the current working directory. 201 224 * 202 225 * @returns VBox status code. 226 * @param pData Pointer to generic callback data. 203 227 * @param pcszCWD Current working directory to set. 204 228 */ … … 208 232 * 209 233 * @returns VBox status code. 234 * @param pData Pointer to generic callback data. 210 235 * @param pszPWD Where to store the current working directory. 211 236 * @param cbPWD Size of buffer in bytes. … … 216 241 * 217 242 * @returns VBox status code. 243 * @param pData Pointer to generic callback data. 218 244 */ 219 245 DECLCALLBACKMEMBER(int, pfnOnPathUp)(PRTFTPCALLBACKDATA pData); … … 221 247 * Callback which gets invoked when the client wants to list a directory or file. 222 248 * 249 * @param pData Pointer to generic callback data. 223 250 * @param pcszPath Path of file / directory to list. Optional. If NULL, the current directory will be listed. 224 251 * @param ppvData Where to return the listing data. Must be free'd by the caller.
Note:
See TracChangeset
for help on using the changeset viewer.