42 |
#define DEBUG_RDP5(args) |
#define DEBUG_RDP5(args) |
43 |
#endif |
#endif |
44 |
|
|
45 |
|
#ifdef WITH_DEBUG_CLIPBOARD |
46 |
|
#define DEBUG_CLIPBOARD(args) printf args; |
47 |
|
#else |
48 |
|
#define DEBUG_CLIPBOARD(args) |
49 |
|
#endif |
50 |
|
|
51 |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
52 |
|
|
53 |
#include "constants.h" |
#include "constants.h" |
54 |
#include "types.h" |
#include "types.h" |
55 |
#include "parse.h" |
#include "parse.h" |
56 |
|
|
57 |
|
/* Declared here since it uses STREAM that's declared in parse.h */ |
58 |
|
typedef struct _rdp5_channel |
59 |
|
{ |
60 |
|
uint16 channelno; |
61 |
|
char name[8]; |
62 |
|
uint32 channelflags; |
63 |
|
void (*channelcallback) (STREAM, uint16); |
64 |
|
} |
65 |
|
rdp5_channel; |
66 |
|
|
67 |
#ifndef MAKE_PROTO |
#ifndef MAKE_PROTO |
68 |
#include "proto.h" |
#include "proto.h" |
69 |
#endif |
#endif |