VirtualBox

Changeset 87004 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 27, 2020 4:18:47 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141574
Message:

Shared Clipboard/Transfers: Initial commit for HTTP server. Work in progress. bugref:9874

Location:
trunk/include/iprt
Files:
2 added
2 edited

Legend:

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

    r85650 r87004  
    3232
    3333#include <iprt/types.h>
     34#include <iprt/http-common.h>
    3435
    3536RT_C_DECLS_BEGIN
     
    206207 */
    207208RTR3DECL(int) RTHttpGetFile(RTHTTP hHttp, const char *pszUrl, const char *pszDstFile);
    208 
    209 /** HTTP methods. */
    210 typedef enum RTHTTPMETHOD
    211 {
    212     RTHTTPMETHOD_INVALID = 0,
    213     RTHTTPMETHOD_GET,
    214     RTHTTPMETHOD_PUT,
    215     RTHTTPMETHOD_POST,
    216     RTHTTPMETHOD_PATCH,
    217     RTHTTPMETHOD_DELETE,
    218     RTHTTPMETHOD_HEAD,
    219     RTHTTPMETHOD_OPTIONS,
    220     RTHTTPMETHOD_TRACE,
    221     RTHTTPMETHOD_END,
    222     RTHTTPMETHOD_32BIT_HACK = 0x7fffffff
    223 } RTHTTPMETHOD;
    224 
    225 /**
    226  * Returns the name of the HTTP method.
    227  * @returns Read only string.
    228  * @param   enmMethod       The HTTP method to name.
    229  */
    230 RTR3DECL(const char *) RTHttpMethodName(RTHTTPMETHOD enmMethod);
    231209
    232210/**
  • trunk/include/iprt/mangling.h

    r86579 r87004  
    11741174# define RTHttpSetFollowRedirects                       RT_MANGLER(RTHttpSetFollowRedirects)
    11751175# define RTHttpGetVerifyPeer                            RT_MANGLER(RTHttpGetVerifyPeer)
     1176# define RTHttpHeaderListInit                           RT_MANGLER(RTHttpHeaderListInit)
     1177# define RTHttpHeaderListDestroy                        RT_MANGLER(RTHttpHeaderListDestroy)
     1178# define RTHttpHeaderListSet                            RT_MANGLER(RTHttpHeaderListSet)
     1179# define RTHttpHeaderListAddRaw                         RT_MANGLER(RTHttpHeaderListAddRaw)
     1180# define RTHttpHeaderListAdd                            RT_MANGLER(RTHttpHeaderListAdd)
     1181# define RTHttpHeaderListGet                            RT_MANGLER(RTHttpHeaderListGet)
     1182# define RTHttpHeaderListGetCount                       RT_MANGLER(RTHttpHeaderListGetCount)
     1183# define RTHttpHeaderListGetByOrdinal                   RT_MANGLER(RTHttpHeaderListGetByOrdinal)
     1184# define RTHttpMethodToStr                              RT_MANGLER(RTHttpMethodToStr)
    11761185# define RTHttpSetVerifyPeer                            RT_MANGLER(RTHttpSetVerifyPeer)
    11771186# define RTHttpUseSystemProxySettings                   RT_MANGLER(RTHttpUseSystemProxySettings)
     1187# define RTHttpServerCreate                             RT_MANGLER(RTHttpServerCreate)
     1188# define RTHttpServerDestroy                            RT_MANGLER(RTHttpServerDestroy)
     1189# define RTHttpStatusToStr                              RT_MANGLER(RTHttpStatusToStr)
    11781190# define RTIniFileCreateFromVfsFile                     RT_MANGLER(RTIniFileCreateFromVfsFile)
    11791191# define RTIniFileRetain                                RT_MANGLER(RTIniFileRetain)
Note: See TracChangeset for help on using the changeset viewer.

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