VirtualBox

Changeset 54835 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 18, 2015 3:44:17 PM (10 years ago)
Author:
vboxsync
Message:

Encryption: Add a way to retrieve the encryption settings without providing the password. Returns only the used cipher and the password ID

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vd-filter-backend.h

    r50991 r54835  
    5858     * @returns VBox status code.
    5959     * @param   pVDIfsDisk      Pointer to the per-disk VD interface list.
     60     * @param   fFlags          Subset of VD_FILTER_FLAGS_*.
    6061     * @param   pVDIfsFilter    Pointer to the per-filter VD interface list.
    6162     * @param   ppvBackendData  Opaque state data for this filter instance.
    6263     */
    63     DECLR3CALLBACKMEMBER(int, pfnCreate, (PVDINTERFACE pVDIfsDisk,
     64    DECLR3CALLBACKMEMBER(int, pfnCreate, (PVDINTERFACE pVDIfsDisk, uint32_t fFlags,
    6465                                          PVDINTERFACE pVDIfsFilter,
    6566                                          void **ppvBackendData));
  • trunk/include/VBox/vd.h

    r54624 r54835  
    249249/** The filter is applied during reads. */
    250250#define VD_FILTER_FLAGS_READ  RT_BIT(1)
     251/** Open the filter in info mode. */
     252#define VD_FILTER_FLAGS_INFO  RT_BIT(2)
    251253/** Default set of filter flags. */
    252254#define VD_FILTER_FLAGS_DEFAULT (VD_FILTER_FLAGS_WRITE | VD_FILTER_FLAGS_READ)
    253255/** Mask of valid flags. */
    254 #define VD_FILTER_FLAGS_MASK    (VD_FILTER_FLAGS_WRITE | VD_FILTER_FLAGS_READ)
     256#define VD_FILTER_FLAGS_MASK    (VD_FILTER_FLAGS_WRITE | VD_FILTER_FLAGS_READ | VD_FILTER_FLAGS_INFO)
    255257/** @} */
    256258
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