VirtualBox

Changeset 68317 in vbox


Ignore:
Timestamp:
Aug 7, 2017 2:24:08 PM (7 years ago)
Author:
vboxsync
Message:

IPRT: Added simple INI-file parser (completely untested).

Location:
trunk
Files:
2 added
4 edited

Legend:

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

    r68316 r68317  
    10011001# define RTHttpGetFile                                  RT_MANGLER(RTHttpGetFile)
    10021002# define RTHttpUseSystemProxySettings                   RT_MANGLER(RTHttpUseSystemProxySettings)
     1003# define RTIniFileCreateFromVfsFile                     RT_MANGLER(RTIniFileCreateFromVfsFile)
     1004# define RTIniFileRetain                                RT_MANGLER(RTIniFileRetain)
     1005# define RTIniFileRelease                               RT_MANGLER(RTIniFileRelease)
     1006# define RTIniFileQueryValue                            RT_MANGLER(RTIniFileQueryValue)
    10031007# define RTIsoFsClose                                   RT_MANGLER(RTIsoFsClose)
    10041008# define RTIsoFsExtractFile                             RT_MANGLER(RTIsoFsExtractFile)
  • trunk/include/iprt/types.h

    r67284 r68317  
    21622162#define NIL_RTFSISOMAKER                           ((RTFSISOMAKER)0)
    21632163
     2164/** INI-file handle. */
     2165typedef struct RTINIFILEINT                        *RTINIFILE;
     2166/** Pointer to an INI-file handle. */
     2167typedef RTINIFILE                                  *PRTINIFILE;
     2168/** NIL INI-file handle. */
     2169#define NIL_RTINIFILE                              ((RTINIFILE)0)
     2170
    21642171/** Loader module handle. */
    21652172typedef R3R0PTRTYPE(struct RTLDRMODINTERNAL *)      RTLDRMOD;
  • trunk/src/VBox/Runtime/Makefile.kmk

    r68244 r68317  
    469469        common/misc/handletablectx.cpp \
    470470        common/misc/handletablesimple.cpp \
     471        common/misc/inifile.cpp \
    471472        common/misc/json.cpp \
    472473        common/misc/lockvalidator.cpp \
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r67259 r68317  
    55
    66/*
    7  * Copyright (C) 2007-2016 Oracle Corporation
     7 * Copyright (C) 2007-2017 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    8181/** The value of RTHTTPINTERNAL::u32Magic after close. */
    8282#define RTHTTP_MAGIC_DEAD               UINT32_C(0x19120330)
     83/** The value of RTINIFILEINT::u32Magic. (Jane Austen) */
     84#define RTINIFILE_MAGIC                 UINT32_C(0x17751216)
     85/** The value of RTINIFILEINT::u32Magic after close. */
     86#define RTINIFILE_MAGIC_DEAD            UINT32_C(0x18170718)
    8387/** The magic value for RTLDRMODINTERNAL::u32Magic. (Alan Moore) */
    8488#define RTLDRMOD_MAGIC                  UINT32_C(0x19531118)
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