1 | /** @file
|
---|
2 | *
|
---|
3 | * Shared Folders:
|
---|
4 | * Main header. Common data and function prototypes definitions.
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2006-2007 innotek GmbH
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License as published by the Free Software Foundation,
|
---|
14 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
15 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
16 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | *
|
---|
18 | * If you received this file as part of a commercial VirtualBox
|
---|
19 | * distribution, then only the terms of your commercial VirtualBox
|
---|
20 | * license agreement apply instead of the previous paragraph.
|
---|
21 | */
|
---|
22 |
|
---|
23 | #ifndef __SHFL__H
|
---|
24 | #define __SHFL__H
|
---|
25 |
|
---|
26 | #include <VBox/err.h>
|
---|
27 | #include <VBox/hgcmsvc.h>
|
---|
28 |
|
---|
29 | #define LOG_GROUP LOG_GROUP_SHARED_FOLDERS
|
---|
30 | #include <VBox/log.h>
|
---|
31 |
|
---|
32 | /**
|
---|
33 | * Shared Folders client flags.
|
---|
34 | * @{
|
---|
35 | */
|
---|
36 |
|
---|
37 | /** Client has queried mappings at least once and, therefore,
|
---|
38 | * the service can process its other requests too.
|
---|
39 | */
|
---|
40 | #define SHFL_CF_MAPPINGS_QUERIED (0x00000001)
|
---|
41 |
|
---|
42 | /** Mappings have been changed since last query. */
|
---|
43 | #define SHFL_CF_MAPPINGS_CHANGED (0x00000002)
|
---|
44 |
|
---|
45 | /** Client uses UTF8 encoding, if not set then unicode 16 bit (UCS2) is used. */
|
---|
46 | #define SHFL_CF_UTF8 (0x00000004)
|
---|
47 |
|
---|
48 | /** @} */
|
---|
49 |
|
---|
50 | typedef struct _SHFLCLIENTDATA
|
---|
51 | {
|
---|
52 | /** Client flags */
|
---|
53 | uint32_t fu32Flags;
|
---|
54 |
|
---|
55 | RTUCS2 PathDelimiter;
|
---|
56 | } SHFLCLIENTDATA;
|
---|
57 |
|
---|
58 |
|
---|
59 | #endif /* __SHFL__H */
|
---|