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