VirtualBox

Changeset 61693 in vbox for trunk/include


Ignore:
Timestamp:
Jun 14, 2016 11:33:54 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108052
Message:

Runtime: Add RTJson* API to parse the JavaScript Object Notation (JSON) Data Interchange Format (RFC7159). Work in progress, will be used later to load user defined structure descriptions in the VBox debugger for the dti and dtv commands

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r60297 r61693  
    25442544/** @} */
    25452545
     2546/** @name RTJson status codes.
     2547 * @{ */
     2548/** The called method does not work with the value type of the given JSON value. */
     2549#define VERR_JSON_VALUE_INVALID_TYPE                (-24700)
     2550/** The iterator reached the end. */
     2551#define VERR_JSON_ITERATOR_END                      (-24701)
     2552/** The JSON document is malformed. */
     2553#define VERR_JSON_MALFORMED                         (-24702)
     2554/** @} */
     2555
    25462556/* SED-END */
    25472557
  • trunk/include/iprt/mangling.h

    r60481 r61693  
    953953# define RTIsoFsGetFileInfo                             RT_MANGLER(RTIsoFsGetFileInfo)
    954954# define RTIsoFsOpen                                    RT_MANGLER(RTIsoFsOpen)
     955# define RTJsonParseFromBuf                             RT_MANGLER(RTJsonParseFromBuf)
     956# define RTJsonParseFromString                          RT_MANGLER(RTJsonParseFromString)
     957# define RTJsonParseFromFile                            RT_MANGLER(RTJsonParseFromFile)
     958# define RTJsonValueRetain                              RT_MANGLER(RTJsonValueRetain)
     959# define RTJsonValueRelease                             RT_MANGLER(RTJsonValueRelease)
     960# define RTJsonValueGetType                             RT_MANGLER(RTJsonValueGetType)
     961# define RTJsonValueGetString                           RT_MANGLER(RTJsonValueGetString)
     962# define RTJsonValueGetStringEx                         RT_MANGLER(RTJsonValueGetStringEx)
     963# define RTJsonValueGetNumber                           RT_MANGLER(RTJsonValueGetNumber)
     964# define RTJsonValueGetByName                           RT_MANGLER(RTJsonValueGetByName)
     965# define RTJsonValueGetArraySize                        RT_MANGLER(RTJsonValueGetArraySize)
     966# define RTJsonValueGetArraySizeEx                      RT_MANGLER(RTJsonValueGetArraySizeEx)
     967# define RTJsonValueGetByIndex                          RT_MANGLER(RTJsonValueGetByIndex)
     968# define RTJsonIteratorBegin                            RT_MANGLER(RTJsonIteratorBegin)
     969# define RTJsonIteratorGetValue                         RT_MANGLER(RTJsonIteratorGetValue)
     970# define RTJsonIteratorNext                             RT_MANGLER(RTJsonIteratorNext)
     971# define RTJsonIteratorFree                             RT_MANGLER(RTJsonIteratorFree)
    955972# define RTLatin1CalcUtf16Len                           RT_MANGLER(RTLatin1CalcUtf16Len)
    956973# define RTLatin1CalcUtf16LenEx                         RT_MANGLER(RTLatin1CalcUtf16LenEx)
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