6 |
rdpsnd_process(STREAM s) |
rdpsnd_process(STREAM s) |
7 |
{ |
{ |
8 |
printf("rdpsnd_process\n"); |
printf("rdpsnd_process\n"); |
9 |
hexdump(s->p, s->end-s->p); |
hexdump(s->p, s->end - s->p); |
10 |
} |
} |
11 |
|
|
12 |
BOOL |
BOOL |
13 |
rdpsnd_init(void) |
rdpsnd_init(void) |
14 |
{ |
{ |
15 |
rdpsnd_channel = channel_register("rdpsnd", CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP, rdpsnd_process); |
rdpsnd_channel = |
16 |
|
channel_register("rdpsnd", CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP, |
17 |
|
rdpsnd_process); |
18 |
return (rdpsnd_channel != NULL); |
return (rdpsnd_channel != NULL); |
19 |
} |
} |