VirtualBox

Ignore:
Timestamp:
Dec 16, 2011 10:54:38 AM (13 years ago)
Author:
vboxsync
Message:

SharedFolders: more fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/mappings.h

    r39607 r39643  
    2323typedef struct
    2424{
    25     char        *pszFolderName;
    26     PSHFLSTRING pMapName;
    27     uint32_t    cMappings;
    28     bool        fValid;
    29     bool        fHostCaseSensitive;
    30     bool        fGuestCaseSensitive;
    31     bool        fWritable;
    32     bool        fAutoMount;
     25    char        *pszFolderName;       /**< directory at the host to share with the guest */
     26    PSHFLSTRING pMapName;             /**< share name for the guest */
     27    uint32_t    cMappings;            /**< number of mappings */
     28    bool        fValid;               /**< mapping entry is used/valid */
     29    bool        fHostCaseSensitive;   /**< host file name space is case-sensitive */
     30    bool        fGuestCaseSensitive;  /**< guest file name space is case-sensitive */
     31    bool        fWritable;            /**< folder is writable for the guest */
     32    bool        fAutoMount;           /**< folder will be auto-mounted by the guest */
     33    bool        fSymlinksCreate;      /**< guest is able to create symlinks */
    3334} MAPPING;
    3435/** Pointer to a MAPPING structure. */
     
    3940bool vbsfMappingQuery(uint32_t iMapping, PMAPPING *pMapping);
    4041
    41 int vbsfMappingsAdd(PSHFLSTRING pFolderName, PSHFLSTRING pMapName, uint32_t fWritable, uint32_t fAutoMount);
     42int vbsfMappingsAdd(PSHFLSTRING pFolderName, PSHFLSTRING pMapName,
     43                    bool fWritable, bool fAutoMount, bool fCreateSymlinks);
    4244int vbsfMappingsRemove(PSHFLSTRING pMapName);
    4345
     
    4547int vbsfMappingsQueryName(PSHFLCLIENTDATA pClient, SHFLROOT root, SHFLSTRING *pString);
    4648int vbsfMappingsQueryWritable(PSHFLCLIENTDATA pClient, SHFLROOT root, bool *fWritable);
     49int vbsfMappingsQueryAutoMount(PSHFLCLIENTDATA pClient, SHFLROOT root, bool *fAutoMount);
     50int vbsfMappingsQuerySymlinksCreate(PSHFLCLIENTDATA pClient, SHFLROOT root, bool *fSymlinksCreate);
    4751
    48 int vbsfMapFolder(PSHFLCLIENTDATA pClient, PSHFLSTRING pszMapName, RTUTF16 delimiter, bool fCaseSensitive, SHFLROOT *pRoot);
     52int vbsfMapFolder(PSHFLCLIENTDATA pClient, PSHFLSTRING pszMapName, RTUTF16 delimiter,
     53                  bool fCaseSensitive, SHFLROOT *pRoot);
    4954int vbsfUnmapFolder(PSHFLCLIENTDATA pClient, SHFLROOT root);
    5055
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