VirtualBox

Changeset 50991 in vbox for trunk/include


Ignore:
Timestamp:
Apr 8, 2014 10:45:31 AM (11 years ago)
Author:
vboxsync
Message:

Storage: Add support for filter plugins

Location:
trunk/include/VBox
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vd.h

    r48878 r50991  
    569569
    570570/**
     571 * Adds a filter to the disk.
     572 *
     573 * @returns VBox status code.
     574 * @param   pDisk           Pointer to the HDD container which should use the filter.
     575 * @param   pszFilter       Name of the filter backend to use (case insensitive).
     576 * @param   pVDIfsFilter    Pointer to the per-filter VD interface list.
     577 */
     578VBOXDDU_DECL(int) VDFilterAdd(PVBOXHDD pDisk, const char *pszFilter,
     579                              PVDINTERFACE pVDIfsFilter);
     580
     581/**
    571582 * Creates and opens a new base image file.
    572583 *
     
    829840
    830841/**
     842 * Removes the last added filter in the HDD container.
     843 *
     844 * @return  VBox status code.
     845 * @retval  VERR_VD_NOT_OPENED if no filter is present for the disk.
     846 * @param   pDisk           Pointer to HDD container.
     847 */
     848VBOXDDU_DECL(int) VDFilterRemove(PVBOXHDD pDisk);
     849
     850/**
    831851 * Closes the currently opened cache image file in HDD container.
    832852 *
     
    845865 */
    846866VBOXDDU_DECL(int) VDCloseAll(PVBOXHDD pDisk);
     867
     868/**
     869 * Removes all filters of the given HDD container.
     870 *
     871 * @return  VBox status code.
     872 * @param   pDisk           Pointer to HDD container.
     873 */
     874VBOXDDU_DECL(int) VDFilterRemoveAll(PVBOXHDD pDisk);
    847875
    848876/**
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