VirtualBox

Changeset 74091 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 5, 2018 5:58:31 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/http: New read/write callbacks APIs (untested). bugref:9167 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/http.h

    r74090 r74091  
    464464 *          call this method for different status codes.  Only the last one
    465465 *          with be honored.
     466 *
     467 * @note    This only works reliably with RTHttpPerform at the moment.
    466468 */
    467469RTR3DECL(int) RTHttpSetDownloadCallback(RTHTTP hHttp, uint32_t fFlags, PFNRTHTTPDOWNLOADCALLBACK pfnCallback, void *pvUser);
     
    501503 * @param   pfnCallback     The callback function.  Pass NULL to reset the callback.
    502504 * @param   pvUser          Convenience pointer for the callback function.
     505 *
     506 * @note    This only works reliably with RTHttpPerform at the moment.
    503507 */
    504508RTR3DECL(int) RTHttpSetUploadCallback(RTHTTP hHttp, uint64_t cbContent, PFNRTHTTPUPLOADCALLBACK pfnCallback, void *pvUser);
     
    528532 * @param   pfnCallback     The callback function.  Pass NULL to reset the callback.
    529533 * @param   pvUser          Convenience pointer for the callback function.
     534 *
     535 * @note    This only works reliably with RTHttpPerform at the moment.
    530536 */
    531537RTR3DECL(int) RTHttpSetHeaderCallback(RTHTTP hHttp, PFNRTHTTPHEADERCALLBACK pfnCallback, void *pvUser);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette