Definition of DEBUG_CLIPBOARD.
Definition of rdp5_channel. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@405 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
1acb6ff29c
commit
ea00031d43
16
rdesktop.h
16
rdesktop.h
@ -42,12 +42,28 @@
|
|||||||
#define DEBUG_RDP5(args)
|
#define DEBUG_RDP5(args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WITH_DEBUG_CLIPBOARD
|
||||||
|
#define DEBUG_CLIPBOARD(args) printf args;
|
||||||
|
#else
|
||||||
|
#define DEBUG_CLIPBOARD(args)
|
||||||
|
#endif
|
||||||
|
|
||||||
#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; }
|
||||||
|
|
||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
|
|
||||||
|
/* Declared here since it uses STREAM that's declared in parse.h */
|
||||||
|
typedef struct _rdp5_channel
|
||||||
|
{
|
||||||
|
uint16 channelno;
|
||||||
|
char name[8];
|
||||||
|
uint32 channelflags;
|
||||||
|
void (*channelcallback) (STREAM, uint16);
|
||||||
|
}
|
||||||
|
rdp5_channel;
|
||||||
|
|
||||||
#ifndef MAKE_PROTO
|
#ifndef MAKE_PROTO
|
||||||
#include "proto.h"
|
#include "proto.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user