/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpdr.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/rdpdr.c

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

revision 747 by astrand, Mon Aug 9 13:50:41 2004 UTC revision 776 by jsorg71, Sat Oct 2 01:30:33 2004 UTC
# Line 65  extern FILEINFO g_fileinfo[]; Line 65  extern FILEINFO g_fileinfo[];
65  static VCHANNEL *rdpdr_channel;  static VCHANNEL *rdpdr_channel;
66    
67  /* If select() times out, the request for the device with handle g_min_timeout_fd is aborted */  /* If select() times out, the request for the device with handle g_min_timeout_fd is aborted */
68  HANDLE g_min_timeout_fd;  NTHANDLE g_min_timeout_fd;
69  uint32 g_num_devices;  uint32 g_num_devices;
70    
71  /* Table with information about rdpdr devices */  /* Table with information about rdpdr devices */
# Line 90  struct async_iorequest *g_iorequest; Line 90  struct async_iorequest *g_iorequest;
90    
91  /* Return device_id for a given handle */  /* Return device_id for a given handle */
92  int  int
93  get_device_index(HANDLE handle)  get_device_index(NTHANDLE handle)
94  {  {
95          int i;          int i;
96          for (i = 0; i < RDPDR_MAX_DEVICES; i++)          for (i = 0; i < RDPDR_MAX_DEVICES; i++)
# Line 940  rdpdr_check_fds(fd_set * rfds, fd_set * Line 940  rdpdr_check_fds(fd_set * rfds, fd_set *
940                                                  /* only delete link if all data has been transfered */                                                  /* only delete link if all data has been transfered */
941                                                  /* or if result was 0 and status success - EOF      */                                                  /* or if result was 0 and status success - EOF      */
942                                                  if ((iorq->partial_len == iorq->length) ||                                                  if ((iorq->partial_len == iorq->length) ||
943                                                      (result == 0))                                                      (g_rdpdr_device[iorq->device].device_type ==
944                                                         DEVICE_TYPE_SERIAL) || (result == 0))
945                                                  {                                                  {
946  #if WITH_DEBUG_RDP5  #if WITH_DEBUG_RDP5
947                                                          DEBUG(("RDPDR: AIO total %u bytes read of %u\n", iorq->partial_len, iorq->length));                                                          DEBUG(("RDPDR: AIO total %u bytes read of %u\n", iorq->partial_len, iorq->length));

Legend:
Removed from v.747  
changed lines
  Added in v.776

  ViewVC Help
Powered by ViewVC 1.1.26