VirtualBox

Changeset 74224 in vbox for trunk/include/iprt/cpp


Ignore:
Timestamp:
Sep 12, 2018 2:44:27 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125006
Message:

IPRT/http,rest: Clearified the content offset parameter in the callbacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/restclient.h

    r74181 r74224  
    100100     * @param   a_offContent    The byte offset corresponding to the start of @a a_pvDst.
    101101     * @param   a_pcbActual     Where to return the number of bytes actually produced.
     102     *
    102103     * @remarks Use getCallbackData to get the user data.
     104     *
     105     * @note    The @a a_offContent parameter does not imply random access or anthing
     106     *          like that, it is just a convenience provided by the caller.  The value
     107     *          is the sum of the previously returned @a *pcbActual values.
    103108     */
    104109    typedef DECLCALLBACK(int) FNPRODUCER(RTCRestBinaryParameter *a_pThis, void *a_pvDst, size_t a_cbDst,
     
    228233     * @param   a_offContent    The byte offset corresponding to the start of @a a_pvSrc.
    229234     * @param   a_cbContent     The content length field value, UINT64_MAX if not available.
     235     *
    230236     * @remarks Use getCallbackData to get the user data.
     237     *
     238     * @note    The @a a_offContent parameter does not imply random access or anthing
     239     *          like that, it is just a convenience provided by the caller.  The value
     240     *          is the sum of the previous @a a_cbSrc values.
    231241     */
    232242    typedef DECLCALLBACK(int) FNCONSUMER(RTCRestBinaryResponse *a_pThis, const void *a_pvSrc, size_t a_cbSrc,
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