VirtualBox

Changeset 67480 in vbox


Ignore:
Timestamp:
Jun 19, 2017 4:48:37 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: More ISO maker code (import related).

Location:
trunk
Files:
3 edited

Legend:

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

    r67453 r67480  
    5050#define RTFSISOMAKER_NAMESPACE_VALID_MASK   UINT32_C(0x0000000f)    /**< Valid namespace bits. */
    5151/** @} */
     52
     53/** Root directory configuration index. */
     54#define RTFSISOMAKER_CFG_IDX_ROOT           UINT32_C(0)
    5255
    5356
     
    358361
    359362/**
     363 * Imports an existing ISO.
     364 *
     365 * Just like other source files, the existing image must remain present and
     366 * unmodified till the ISO maker is done with it.
     367 *
     368 * @returns IRPT status code.
     369 * @param   hIsoMaker           The ISO maker handle.
     370 * @param   pszIso              Path to the existing image to import / clone.
     371 * @param   fFlags              Reserved for the future, MBZ.
     372 * @param   pErrInfo            Where to return additional error information.
     373 *                              Optional.
     374 */
     375RTDECL(int) RTFsIsoMakerImport(RTFSISOMAKER hIsoMaker, const char *pszIso, uint32_t fFlags, PRTERRINFO pErrInfo);
     376
     377/** @name RTFSISOMK_IMPORT_F_XXX - Flags for RTFsIsoMakerImport.
     378 * @{ */
     379#define RTFSISOMK_IMPORT_F_NO_PRIMARY_ISO   RT_BIT_32(0)  /**< Skip the primary ISO-9660 namespace (rock ridge included). */
     380#define RTFSISOMK_IMPORT_F_NO_JOLIET        RT_BIT_32(1)  /**< Skip the joliet namespace. */
     381#define RTFSISOMK_IMPORT_F_NO_ROCK_RIDGE    RT_BIT_32(2)  /**< Skip rock ridge (both primary and joliet). */
     382#define RTFSISOMK_IMPORT_F_NO_UDF           RT_BIT_32(3)  /**< Skip the UDF namespace. */
     383#define RTFSISOMK_IMPORT_F_NO_HFS           RT_BIT_32(4)  /**< Skip the HFS namespace. */
     384#define RTFSISOMK_IMPORT_F_NO_BOOT          RT_BIT_32(5)  /**< Skip importing El Torito boot stuff. */
     385#define RTFSISOMK_IMPORT_F_NO_SYS_AREA      RT_BIT_32(6)  /**< Skip importing the system area (first 32KB). */
     386#define RTFSISOMK_IMPORT_F_VALID_MASK       UINT32_C(0x0000007f)
     387/** @} */
     388
     389
     390/**
    360391 * Finalizes the image.
    361392 *
  • trunk/include/iprt/mangling.h

    r67445 r67480  
    945945# define RTFsIsoMakerAddFileWithSrcPath                 RT_MANGLER(RTFsIsoMakerAddFileWithSrcPath)
    946946# define RTFsIsoMakerAddFileWithVfsFile                 RT_MANGLER(RTFsIsoMakerAddFileWithVfsFile)
     947# define RTFsIsoMakerImport                             RT_MANGLER(RTFsIsoMakerImport)
    947948# define RTFsIsoMakerFinalize                           RT_MANGLER(RTFsIsoMakerFinalize)
    948949# define RTFsIsoMakerCreateVfsOutputFile                RT_MANGLER(RTFsIsoMakerCreateVfsOutputFile)
  • trunk/src/VBox/Runtime/Makefile.kmk

    r67345 r67480  
    432432        common/fs/isomaker.cpp \
    433433        common/fs/isomakercmd.cpp \
     434        common/fs/isomakerimport.cpp \
    434435        common/ldr/ldr.cpp \
    435436        common/ldr/ldrELF.cpp \
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