352 |
error_mode, |
error_mode, |
353 |
share_mode, disposition, total_timeout, interval_timeout, flags_and_attributes = 0; |
share_mode, disposition, total_timeout, interval_timeout, flags_and_attributes = 0; |
354 |
|
|
355 |
char filename[256]; |
char filename[PATH_MAX]; |
356 |
uint8 *buffer, *pst_buf; |
uint8 *buffer, *pst_buf; |
357 |
struct stream out; |
struct stream out; |
358 |
DEVICE_FNS *fns; |
DEVICE_FNS *fns; |
929 |
} |
} |
930 |
|
|
931 |
/* Check if select() returned with one of the rdpdr file descriptors, and complete io if it did */ |
/* Check if select() returned with one of the rdpdr file descriptors, and complete io if it did */ |
932 |
void |
static void |
933 |
_rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out) |
_rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out) |
934 |
{ |
{ |
935 |
NTSTATUS status; |
NTSTATUS status; |
959 |
{ |
{ |
960 |
|
|
961 |
/* iv_timeout between 2 chars, send partial_len */ |
/* iv_timeout between 2 chars, send partial_len */ |
962 |
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length);*/ |
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length); */ |
963 |
rdpdr_send_completion(iorq->device, |
rdpdr_send_completion(iorq->device, |
964 |
iorq->id, STATUS_SUCCESS, |
iorq->id, STATUS_SUCCESS, |
965 |
iorq->partial_len, |
iorq->partial_len, |