12 |
|
|
13 |
extern RDPDR_DEVICE g_rdpdr_device[]; |
extern RDPDR_DEVICE g_rdpdr_device[]; |
14 |
|
|
15 |
PARALLEL_DEVICE * get_parallel_data(HANDLE handle) |
PARALLEL_DEVICE * |
16 |
|
get_parallel_data(HANDLE handle) |
17 |
{ |
{ |
18 |
int index; |
int index; |
19 |
|
|
49 |
pos2 = next_arg(optarg, '='); |
pos2 = next_arg(optarg, '='); |
50 |
strcpy(g_rdpdr_device[*id].name, optarg); |
strcpy(g_rdpdr_device[*id].name, optarg); |
51 |
|
|
52 |
toupper(g_rdpdr_device[*id].name); |
toupper_str(g_rdpdr_device[*id].name); |
53 |
|
|
54 |
g_rdpdr_device[*id].local_path = xmalloc(strlen(pos2) + 1); |
g_rdpdr_device[*id].local_path = xmalloc(strlen(pos2) + 1); |
55 |
strcpy(g_rdpdr_device[*id].local_path, pos2); |
strcpy(g_rdpdr_device[*id].local_path, pos2); |