VirtualBox

Changeset 75108 in vbox for trunk/include/iprt/http.h


Ignore:
Timestamp:
Oct 26, 2018 3:44:26 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/http: Extended RTHttpReset with a flag parameter so headers can be kept. bugref:9167

File:
1 edited

Legend:

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

    r74377 r75108  
    5858 *
    5959 * @returns IPRT status code.
    60  * @param   hHttp      Handle to the HTTP interface.
    61  */
    62 RTR3DECL(int) RTHttpReset(RTHTTP hHttp);
     60 * @param   hHttp       Handle to the HTTP interface.
     61 * @param   fFlags      Flags, RTHTTP_RESET_F_XXX.
     62 */
     63RTR3DECL(int) RTHttpReset(RTHTTP hHttp, uint32_t fFlags);
     64
     65/** @name RTHTTP_RESET_F_XXX - Flags for RTHttpReset.
     66 * @{ */
     67/** Keep the headers. */
     68#define RTHTTP_RESET_F_KEEP_HEADERS     RT_BIT_32(0)
     69/** Mask containing the valid flags. */
     70#define RTHTTP_RESET_F_VALID_MASK       UINT32_C(0x00000001)
     71/** @} */
     72
    6373
    6474/**
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