Changeset 82770 in vbox for trunk/include/iprt
- Timestamp:
- Jan 15, 2020 2:34:38 PM (5 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/err.h
r82665 r82770 2716 2716 /** FTP initialization failed. */ 2717 2717 #define VERR_FTP_INIT_FAILED (-26401) 2718 /** Data connection not found. */ 2719 #define VERR_FTP_DATA_CONN_INIT_FAILED (-26402) 2720 /** Data connection not found. */ 2721 #define VERR_FTP_DATA_CONN_NOT_FOUND (-26403) 2722 /** Data connection limit has been reached. */ 2723 #define VERR_FTP_DATA_CONN_LIMIT_REACHED (-26404) 2724 /** Client not found. */ 2725 #define VERR_FTP_CLIENT_NOT_FOUND (-26405) 2726 /** Client limit has been reached. */ 2727 #define VERR_FTP_CLIENT_LIMIT_REACHED (-26406) 2718 2728 /** @} */ 2719 2729 -
trunk/include/iprt/ftp.h
r82733 r82770 134 134 /** Closing data connection. */ 135 135 RTFTPSERVER_REPLY_CLOSING_DATA_CONN = 226, 136 /** "PATHNAME" ok (created / exists). */ 137 RTFTPSERVER_REPLY_PATHNAME_OK = 257, 136 138 /** User logged in, proceed. */ 137 139 RTFTPSERVER_REPLY_LOGGED_IN_PROCEED = 230, … … 165 167 typedef struct RTFTPSERVERCLIENTSTATE 166 168 { 167 /** User name. */169 /** Authenticated user (name). If NULL, no user has been logged in (yet). */ 168 170 char *pszUser; 169 171 /** Number of failed login attempts. */ … … 300 302 * Callback which gets invoked when the client wants to list a directory or file. 301 303 * 304 * @returns VBox status code. VINF_EOF if listing is complete. 302 305 * @param pData Pointer to generic callback data. 303 306 * @param pcszPath Path of file / directory to list. Optional. If NULL, the current directory will be listed. 304 * @param p pvData Where to return the listing data. Must be free'd by the caller.305 * @param pcbvData Where to return the listing data size in bytes.306 * @ returns VBox status code.307 */ 308 DECLCALLBACKMEMBER(int, pfnOnList)(PRTFTPCALLBACKDATA pData, const char *pcszPath, void * *ppvData, size_t *pcbData);307 * @param pvData Buffer where to return the listing data. 308 * @param cbData Size (in bytes) of buffer where to return the listing data. 309 * @param pcbRead How many bytes were read. 310 */ 311 DECLCALLBACKMEMBER(int, pfnOnList)(PRTFTPCALLBACKDATA pData, const char *pcszPath, void *pvData, size_t cbData, size_t *pcbRead); 309 312 } RTFTPSERVERCALLBACKS; 310 313 /** Pointer to a FTP server callback data table. */
Note:
See TracChangeset
for help on using the changeset viewer.