34 |
|
|
35 |
/* Table with information about rdpdr devices */ |
/* Table with information about rdpdr devices */ |
36 |
RDPDR_DEVICE g_rdpdr_device[RDPDR_MAX_DEVICES]; |
RDPDR_DEVICE g_rdpdr_device[RDPDR_MAX_DEVICES]; |
37 |
char * g_rdpdr_clientname = NULL; |
char *g_rdpdr_clientname = NULL; |
38 |
|
|
39 |
/* Used to store incoming io request, until they are ready to be completed */ |
/* Used to store incoming io request, until they are ready to be completed */ |
40 |
/* using a linked list ensures that they are processed in the right order, */ |
/* using a linked list ensures that they are processed in the right order, */ |
167 |
STREAM s; |
STREAM s; |
168 |
uint32 hostlen; |
uint32 hostlen; |
169 |
|
|
170 |
if (NULL == g_rdpdr_clientname) { |
if (NULL == g_rdpdr_clientname) |
171 |
g_rdpdr_clientname = hostname; |
{ |
172 |
|
g_rdpdr_clientname = hostname; |
173 |
} |
} |
174 |
hostlen = (strlen(g_rdpdr_clientname) + 1) * 2; |
hostlen = (strlen(g_rdpdr_clientname) + 1) * 2; |
175 |
|
|