VirtualBox

Changeset 67437 in vbox for trunk/include


Ignore:
Timestamp:
Jun 16, 2017 1:14:39 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116168
Message:

IPRT: More ISO maker code (booting related).

Location:
trunk/include/iprt
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/formats/iso9660.h

    r67426 r67437  
    877877 * Boot information table used by isolinux and GRUB2 El Torito boot files.
    878878 */
    879 typedef struct ISO9960SYSLINUXINFOTABLE
     879typedef struct ISO9660SYSLINUXINFOTABLE
    880880{
    881881    /** 0x00/0x08: Offset of the primary volume descriptor (block offset). */
     
    891891    /** 0x10/0x18: Reserved for future fun. */
    892892    uint32_t            auReserved[10];
    893 } ISO9960SYSLINUXINFOTABLE;
    894 AssertCompileSize(ISO9960SYSLINUXINFOTABLE, 56);
     893} ISO9660SYSLINUXINFOTABLE;
     894AssertCompileSize(ISO9660SYSLINUXINFOTABLE, 56);
    895895/** Pointer to a syslinux boot information table.   */
    896 typedef ISO9960SYSLINUXINFOTABLE *PISO9960SYSLINUXINFOTABLE;
     896typedef ISO9660SYSLINUXINFOTABLE *PISO9660SYSLINUXINFOTABLE;
    897897/** Pointer to a const syslinux boot information table.   */
    898 typedef ISO9960SYSLINUXINFOTABLE const *PCISO9960SYSLINUXINFOTABLE;
     898typedef ISO9660SYSLINUXINFOTABLE const *PCISO9660SYSLINUXINFOTABLE;
    899899
    900900/** @} */
  • trunk/include/iprt/fsisomaker.h

    r67427 r67437  
    148148
    149149/**
     150 * Queries the configuration index of the boot catalog file object.
     151 *
     152 * The boot catalog file is created as necessary, thus this have to be a query
     153 * rather than a getter since object creation may fail.
     154 *
     155 * @returns IPRT status code.
     156 * @param   hIsoMaker           The ISO maker handle.
     157 * @param   pidxObj             Where to return the configuration index.
     158 */
     159RTDECL(int) RTFsIsoMakerQueryObjIdxForBootCatalog(RTFSISOMAKER hIsoMaker, uint32_t *pidxObj);
     160
     161/**
    150162 * Removes the specified object from the image.
    151163 *
     
    189201RTDECL(int) RTFsIsoMakerObjSetNameAndParent(RTFSISOMAKER hIsoMaker, uint32_t idxObj, uint32_t idxParentObj,
    190202                                            uint32_t fNamespaces, const char *pszName);
     203
     204/**
     205 * Enables or disable syslinux boot info table patching of a file.
     206 *
     207 * @returns IPRT status code.
     208 * @param   hIsoMaker           The ISO maker handle.
     209 * @param   idxObj              The configuration index.
     210 * @param   fEnable             Whether to enable or disable patching.
     211 */
     212RTDECL(int) RTFsIsoMakerObjEnableBootInfoTablePatching(RTFSISOMAKER hIsoMaker, uint32_t idxObj, bool fEnable);
     213
     214/**
     215 * Gets the data size of an object.
     216 *
     217 * Currently only supported on file objects.
     218 *
     219 * @returns IPRT status code.
     220 * @param   hIsoMaker           The ISO maker handle.
     221 * @param   idxObj              The configuration index.
     222 * @param   pcbData             Where to return the size.
     223 */
     224RTDECL(int) RTFsIsoMakerObjQueryDataSize(RTFSISOMAKER hIsoMaker, uint32_t idxObj, uint64_t *pcbData);
    191225
    192226/**
  • trunk/include/iprt/mangling.h

    r67427 r67437  
    924924# define RTFsIsoMakerRetain                             RT_MANGLER(RTFsIsoMakerRetain)
    925925# define RTFsIsoMakerRelease                            RT_MANGLER(RTFsIsoMakerRelease)
     926# define RTFsIsoMakerQueryObjIdxForBootCatalog          RT_MANGLER(RTFsIsoMakerQueryObjIdxForBootCatalog)
    926927# define RTFsIsoMakerSetIso9660Level                    RT_MANGLER(RTFsIsoMakerSetIso9660Level)
    927928# define RTFsIsoMakerSetJolietUcs2Level                 RT_MANGLER(RTFsIsoMakerSetJolietUcs2Level)
     
    930931# define RTFsIsoMakerSetSysAreaContent                  RT_MANGLER(RTFsIsoMakerSetSysAreaContent)
    931932# define RTFsIsoMakerGetObjIdxForPath                   RT_MANGLER(RTFsIsoMakerGetObjIdxForPath)
     933# define RTFsIsoMakerObjEnableBootInfoTablePatching     RT_MANGLER(RTFsIsoMakerObjEnableBootInfoTablePatching)
     934# define RTFsIsoMakerObjQueryDataSize                   RT_MANGLER(RTFsIsoMakerObjQueryDataSize)
    932935# define RTFsIsoMakerObjRemove                          RT_MANGLER(RTFsIsoMakerObjRemove)
    933936# define RTFsIsoMakerObjSetPath                         RT_MANGLER(RTFsIsoMakerObjSetPath)
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