VirtualBox

Ignore:
Timestamp:
Apr 7, 2014 7:36:54 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93172
Message:

Storage/VD: Cleanup VD plugin handling. One shared object can now support an arbitrary number of image backends instead of just one like before

File:
1 moved

Legend:

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

    r50981 r50988  
    6666
    6767    /**
    68      * Handle of loaded plugin library, NIL_RTLDRMOD for static backends.
    69      */
    70     RTLDRMOD hPlugin;
    71 
    72     /**
    7368     * Probes the given image.
    7469     *
     
    318313
    319314} VDCACHEBACKEND;
    320 
    321 /** Pointer to VD backend. */
     315/** Pointer to VD cache backend. */
    322316typedef VDCACHEBACKEND *PVDCACHEBACKEND;
    323 
    324317/** Constant pointer to VD backend. */
    325318typedef const VDCACHEBACKEND *PCVDCACHEBACKEND;
    326319
    327 /** Initialization entry point. */
    328 typedef DECLCALLBACK(int) FNVDCACHEFORMATLOAD(PVDCACHEBACKEND *ppBackendTable);
    329 typedef FNVDCACHEFORMATLOAD *PFNVDCACHEFORMATLOAD;
    330 #define VD_CACHEFORMAT_LOAD_NAME "VDCacheFormatLoad"
    331 
    332 /** The prefix to identify Storage Plugins. */
    333 #define VD_CACHEFORMAT_PLUGIN_PREFIX "VDCache"
    334 /** The size of the prefix excluding the '\\0' terminator. */
    335 #define VD_CACHEFORMAT_PLUGIN_PREFIX_LENGTH (sizeof(VD_CACHEFORMAT_PLUGIN_PREFIX)-1)
    336 
    337320#endif
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