summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard_common.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-10-29 20:12:24 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-10-29 20:12:24 -0700
commit6e25a5e60011ceddd995bb82c896839de126a6b7 (patch)
treea747d00c7bad7d345cbe1e1ac349b0c13759dfb5 /sesman/chansrv/clipboard_common.h
parent159e240845afae8e491469f413af3fb529ef4678 (diff)
downloadxrdp-proprietary-6e25a5e60011ceddd995bb82c896839de126a6b7.tar.gz
xrdp-proprietary-6e25a5e60011ceddd995bb82c896839de126a6b7.zip
chansrv: work on clipboard
Diffstat (limited to 'sesman/chansrv/clipboard_common.h')
-rw-r--r--sesman/chansrv/clipboard_common.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sesman/chansrv/clipboard_common.h b/sesman/chansrv/clipboard_common.h
index 0424c368..4c72a3b5 100644
--- a/sesman/chansrv/clipboard_common.h
+++ b/sesman/chansrv/clipboard_common.h
@@ -80,8 +80,12 @@
#define CB_FD_WRITESTIME 0x00000020
#define CB_FD_PROGRESSUI 0x00004000
-#define CB_FILE_ATTRIBUTE_ARCHIVE 0x00000020;
-#define CB_FILE_ATTRIBUTE_NORMAL 0x00000080;
+#define CB_FILE_ATTRIBUTE_READONLY 0x00000001
+#define CB_FILE_ATTRIBUTE_HIDDEN 0x00000002
+#define CB_FILE_ATTRIBUTE_SYSTEM 0x00000004
+#define CB_FILE_ATTRIBUTE_DIRECTORY 0x00000010
+#define CB_FILE_ATTRIBUTE_ARCHIVE 0x00000020
+#define CB_FILE_ATTRIBUTE_NORMAL 0x00000080
struct clip_s2c /* server to client, pasting from linux app to mstsc */
{
@@ -108,4 +112,9 @@ struct clip_c2s /* client to server, pasting from mstsc to linux app */
Time clip_time;
};
+int APP_CC
+clipboard_out_unicode(struct stream *s, char *text, int num_chars);
+int APP_CC
+clipboard_in_unicode(struct stream *s, char *text, int *num_chars);
+
#endif