Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

shflsvc.h File Reference


Detailed Description

Shared Folders: Common header for host service and guest clients. (ADD,HSvc)

Definition in file shflsvc.h.

#include <VBox/types.h>
#include <VBox/VBoxGuest2.h>
#include <VBox/VMMDev.h>
#include <VBox/hgcmsvc.h>
#include <iprt/fs.h>

Go to the source code of this file.

Classes

struct  _SHFLCREATEPARMS
struct  _SHFLDIRINFO
struct  _SHFLMAPPING
struct  _SHFLSTRING
struct  _SHFLVOLINFO
struct  _VBoxSFClose
struct  _VBoxSFCreate
struct  _VBoxSFFlush
struct  _VBoxSFInformation
struct  _VBoxSFList
struct  _VBoxSFLock
struct  _VBoxSFMapFolder
struct  _VBoxSFMapFolder_Old
struct  _VBoxSFQueryMapName
struct  _VBoxSFQueryMappings
struct  _VBoxSFRead
struct  _VBoxSFRemove
struct  _VBoxSFRename
struct  _VBoxSFUnmapFolder
struct  _VBoxSFWrite

Shared Folders strings. They can be either UTF-8 or UTF-16.

#define SHFL_CF_ACCESS_APPEND   (0x00040000)
#define SHFL_CF_ACCESS_ATTR_NONE   (0x00000000)
#define SHFL_CF_ACCESS_ATTR_READ   (0x00010000)
#define SHFL_CF_ACCESS_ATTR_READWRITE   (SHFL_CF_ACCESS_READ | SHFL_CF_ACCESS_WRITE)
#define SHFL_CF_ACCESS_ATTR_WRITE   (0x00020000)
#define SHFL_CF_ACCESS_DENYALL   (SHFL_CF_ACCESS_DENYREAD | SHFL_CF_ACCESS_DENYWRITE)
#define SHFL_CF_ACCESS_DENYNONE   (0x00000000)
#define SHFL_CF_ACCESS_DENYREAD   (0x00004000)
#define SHFL_CF_ACCESS_DENYWRITE   (0x00008000)
#define SHFL_CF_ACCESS_MASK_ATTR   (0x00030000)
#define SHFL_CF_ACCESS_MASK_DENY   (0x0000C000)
#define SHFL_CF_ACCESS_MASK_RW   (0x00003000)
#define SHFL_CF_ACCESS_NONE   (0x00000000)
#define SHFL_CF_ACCESS_READ   (0x00001000)
#define SHFL_CF_ACCESS_READWRITE   (SHFL_CF_ACCESS_READ | SHFL_CF_ACCESS_WRITE)
#define SHFL_CF_ACCESS_WRITE   (0x00002000)
#define SHFL_CF_ACT_CREATE_IF_NEW   (0x00000000)
#define SHFL_CF_ACT_FAIL_IF_EXISTS   (0x00000010)
#define SHFL_CF_ACT_FAIL_IF_NEW   (0x00000100)
#define SHFL_CF_ACT_MASK_IF_EXISTS   (0x000000F0)
#define SHFL_CF_ACT_MASK_IF_NEW   (0x00000F00)
#define SHFL_CF_ACT_OPEN_IF_EXISTS   (0x00000000)
#define SHFL_CF_ACT_OVERWRITE_IF_EXISTS   (0x00000030)
#define SHFL_CF_ACT_REPLACE_IF_EXISTS   (0x00000020)
#define SHFL_CF_DIRECTORY   (0x00000004)
#define SHFL_CF_LOOKUP   (0x00000001)
#define SHFL_CF_NONE   (0x00000000)
#define SHFL_CF_OPEN_TARGET_DIRECTORY   (0x00000002)
typedef const SHFLSTRINGPCSHFLSTRING
typedef SHFLSTRINGPSHFLSTRING
typedef struct _SHFLSTRING SHFLSTRING
 DECLINLINE (PSHFLSTRING) ShflStringInitBuffer(void *pvBuffer
 DECLINLINE (uint32_t) ShflStringSizeOfBuffer(PCSHFLSTRING pString)
#define SHFL_CPARMS_ADD_MAPPING   (3)
#define SHFL_CPARMS_CLOSE   (2)
#define SHFL_CPARMS_CREATE   (3)
#define SHFL_CPARMS_FLUSH   (2)
#define SHFL_CPARMS_INFORMATION   (5)
#define SHFL_CPARMS_LIST   (8)
#define SHFL_CPARMS_LOCK   (5)
#define SHFL_CPARMS_MAP_FOLDER   (4)
#define SHFL_CPARMS_MAP_FOLDER_OLD   (3)
#define SHFL_CPARMS_QUERY_MAP_NAME   (2)
#define SHFL_CPARMS_QUERY_MAPPINGS   (3)
#define SHFL_CPARMS_READ   (5)
#define SHFL_CPARMS_REMOVE   (3)
#define SHFL_CPARMS_REMOVE_MAPPING   (1)
#define SHFL_CPARMS_RENAME   (4)
#define SHFL_CPARMS_SET_STATUS_LED   (1)
#define SHFL_CPARMS_UNMAP_FOLDER   (1)
#define SHFL_CPARMS_WRITE   (5)
#define SHFL_INFO_FILE   (0x8)
#define SHFL_INFO_GET   (0x0)
#define SHFL_INFO_MODE_MASK   (0x1)
#define SHFL_INFO_NAME   (0x2)
#define SHFL_INFO_SET   (0x1)
#define SHFL_INFO_SIZE   (0x4)
#define SHFL_INFO_VOLUME   (0x10)
#define SHFL_LIST_NONE   0
#define SHFL_LIST_RETURN_ONE   1
#define SHFL_LOCK_CANCEL   (0x0)
#define SHFL_LOCK_ENTIRE   (0x8)
#define SHFL_LOCK_EXCLUSIVE   (0x2)
#define SHFL_LOCK_MODE_MASK   (0x3)
#define SHFL_LOCK_NOWAIT   (0x0)
#define SHFL_LOCK_PARTIAL   (0x0)
#define SHFL_LOCK_SHARED   (0x1)
#define SHFL_LOCK_WAIT   (0x4)
#define SHFL_MF_SYSTEM_LINUX   (0x00000200)
#define SHFL_MF_SYSTEM_MASK   (0x0000FF00)
#define SHFL_MF_SYSTEM_NONE   (0x00000000)
#define SHFL_MF_SYSTEM_WINDOWS   (0x00000100)
#define SHFL_MF_UCS2   (0x00000000)
#define SHFL_MF_UTF8   (0x00000001)
#define SHFL_REMOVE_DIR   (0x2)
#define SHFL_REMOVE_FILE   (0x1)
#define SHFL_RENAME_DIR   (0x2)
#define SHFL_RENAME_FILE   (0x1)
#define SHFL_RENAME_REPLACE_IF_EXISTS   (0x4)
typedef struct _VBoxSFClose VBoxSFClose
typedef struct _VBoxSFCreate VBoxSFCreate
typedef struct _VBoxSFFlush VBoxSFFlush
typedef struct _VBoxSFInformation VBoxSFInformation
typedef struct _VBoxSFList VBoxSFList
typedef struct _VBoxSFLock VBoxSFLock
typedef struct _VBoxSFMapFolder VBoxSFMapFolder
typedef struct _VBoxSFMapFolder_Old VBoxSFMapFolder_Old
typedef struct _VBoxSFQueryMapName VBoxSFQueryMapName
typedef struct _VBoxSFQueryMappings VBoxSFQueryMappings
typedef struct _VBoxSFRead VBoxSFRead
typedef struct _VBoxSFRemove VBoxSFRemove
typedef struct _VBoxSFRename VBoxSFRename
typedef struct _VBoxSFUnmapFolder VBoxSFUnmapFolder
typedef struct _VBoxSFWrite VBoxSFWrite
#define SHFL_MS_DELETED   (2)
#define SHFL_MS_NEW   (1)
typedef SHFLMAPPING * PSHFLMAPPING
typedef struct _SHFLMAPPING SHFLMAPPING

Defines

#define SHFL_HANDLE_NIL   ((SHFLHANDLE)~0LL)
#define SHFL_HANDLE_ROOT   ((SHFLHANDLE)0LL)
#define SHFL_MAX_MAPPINGS   (64)
#define SHFL_ROOT_NIL   ((SHFLROOT)~0)
Some bit flag manipulation macros.
#define BIT_FLAG(__Field, __Flag)   ((__Field) & (__Flag))
#define BIT_FLAG_CLEAR(__Field, __Flag)   ((__Field) &= ~(__Flag))
#define BIT_FLAG_SET(__Field, __Flag)   ((__Field) |= (__Flag))
#define SHFL_FN_ADD_MAPPING   (1)
#define SHFL_FN_REMOVE_MAPPING   (2)
#define SHFL_FN_SET_STATUS_LED   (3)
#define SHFL_FN_CLOSE   (4)
#define SHFL_FN_CREATE   (3)
#define SHFL_FN_FLUSH   (15)
#define SHFL_FN_INFORMATION   (9)
#define SHFL_FN_LIST   (8)
#define SHFL_FN_LOCK   (7)
#define SHFL_FN_MAP_FOLDER   (17)
#define SHFL_FN_MAP_FOLDER_OLD   (12)
#define SHFL_FN_QUERY_MAP_NAME   (2)
#define SHFL_FN_QUERY_MAPPINGS   (1)
#define SHFL_FN_READ   (5)
#define SHFL_FN_REMOVE   (11)
#define SHFL_FN_RENAME   (14)
#define SHFL_FN_SET_UTF8   (16)
#define SHFL_FN_UNMAP_FOLDER   (13)
#define SHFL_FN_WRITE   (6)

Typedefs

typedef SHFLCREATEPARMS * PSHFLCREATEPARMS
typedef struct _SHFLCREATEPARMS SHFLCREATEPARMS
typedef uint64_t SHFLHANDLE
typedef uint32_t SHFLROOT
typedef struct _SHFLDIRINFOPSHFLDIRINFO
typedef struct _SHFLVOLINFO * PSHFLVOLINFO
typedef struct _SHFLDIRINFO SHFLDIRINFO
typedef struct _SHFLVOLINFO SHFLVOLINFO


Generated by  Doxygen 1.6.0   Back to index