20 |
|
|
21 |
#include <X11/Xlib.h> |
#include <X11/Xlib.h> |
22 |
#include <X11/Xatom.h> |
#include <X11/Xatom.h> |
23 |
|
#include <sys/time.h> |
24 |
|
#include <sys/types.h> |
25 |
|
#include <unistd.h> |
26 |
#include "rdesktop.h" |
#include "rdesktop.h" |
27 |
|
|
28 |
extern BOOL encryption; |
extern BOOL encryption; |
83 |
cliprdr_send_format_announce(void) |
cliprdr_send_format_announce(void) |
84 |
{ |
{ |
85 |
STREAM s; |
STREAM s; |
|
|
|
|
DEBUG_CLIPBOARD(("Sending (empty) format announce\n")); |
|
86 |
int number_of_formats = 1; |
int number_of_formats = 1; |
87 |
|
DEBUG_CLIPBOARD(("Sending (empty) format announce\n")); |
88 |
s = sec_init(encryption ? SEC_ENCRYPT : 0, number_of_formats * 36 + 12 + 4 + 4); |
s = sec_init(encryption ? SEC_ENCRYPT : 0, number_of_formats * 36 + 12 + 4 + 4); |
89 |
out_uint32_le(s, number_of_formats * 36 + 12); |
out_uint32_le(s, number_of_formats * 36 + 12); |
90 |
out_uint32_le(s, 0x13); |
out_uint32_le(s, 0x13); |