/[rdesktop]/sourceforge.net/trunk/rdesktop/cliprdr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/cliprdr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1200 by astrand, Mon Nov 14 14:46:16 2005 UTC revision 1201 by ossman_, Mon Mar 27 08:24:41 2006 UTC
# Line 60  cliprdr_send_simple_native_format_announ Line 60  cliprdr_send_simple_native_format_announ
60  {  {
61          uint8 buffer[36];          uint8 buffer[36];
62    
63            DEBUG_CLIPBOARD(("cliprdr_send_simple_native_format_announce\n"));
64    
65          buf_out_uint32(buffer, format);          buf_out_uint32(buffer, format);
66          memset(buffer + 4, 0, sizeof(buffer) - 4);      /* description */          memset(buffer + 4, 0, sizeof(buffer) - 4);      /* description */
67          cliprdr_send_native_format_announce(buffer, sizeof(buffer));          cliprdr_send_native_format_announce(buffer, sizeof(buffer));
# Line 72  cliprdr_send_simple_native_format_announ Line 74  cliprdr_send_simple_native_format_announ
74  void  void
75  cliprdr_send_native_format_announce(uint8 * formats_data, uint32 formats_data_length)  cliprdr_send_native_format_announce(uint8 * formats_data, uint32 formats_data_length)
76  {  {
77            DEBUG_CLIPBOARD(("cliprdr_send_native_format_announce\n"));
78          cliprdr_send_packet(CLIPRDR_FORMAT_ANNOUNCE, CLIPRDR_REQUEST, formats_data,          cliprdr_send_packet(CLIPRDR_FORMAT_ANNOUNCE, CLIPRDR_REQUEST, formats_data,
79                              formats_data_length);                              formats_data_length);
80  }  }
# Line 81  cliprdr_send_data_request(uint32 format) Line 84  cliprdr_send_data_request(uint32 format)
84  {  {
85          uint8 buffer[4];          uint8 buffer[4];
86    
87            DEBUG_CLIPBOARD(("cliprdr_send_data_request\n"));
88          buf_out_uint32(buffer, format);          buf_out_uint32(buffer, format);
89          cliprdr_send_packet(CLIPRDR_DATA_REQUEST, CLIPRDR_REQUEST, buffer, sizeof(buffer));          cliprdr_send_packet(CLIPRDR_DATA_REQUEST, CLIPRDR_REQUEST, buffer, sizeof(buffer));
90  }  }
# Line 88  cliprdr_send_data_request(uint32 format) Line 92  cliprdr_send_data_request(uint32 format)
92  void  void
93  cliprdr_send_data(uint8 * data, uint32 length)  cliprdr_send_data(uint8 * data, uint32 length)
94  {  {
95            DEBUG_CLIPBOARD(("cliprdr_send_data\n"));
96          cliprdr_send_packet(CLIPRDR_DATA_RESPONSE, CLIPRDR_RESPONSE, data, length);          cliprdr_send_packet(CLIPRDR_DATA_RESPONSE, CLIPRDR_RESPONSE, data, length);
97  }  }
98    

Legend:
Removed from v.1200  
changed lines
  Added in v.1201

  ViewVC Help
Powered by ViewVC 1.1.26