--- sourceforge.net/trunk/rdesktop/rdesktop.h 2003/06/06 10:43:01 406 +++ sourceforge.net/trunk/rdesktop/rdesktop.h 2003/10/31 04:29:57 536 @@ -22,7 +22,7 @@ #include #include -#define VERSION "1.2.0" +#define VERSION "1.3.0" #ifdef WITH_DEBUG #define DEBUG(args) printf args; @@ -48,21 +48,17 @@ #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; } +#ifndef MIN +#define MIN(x,y) (((x) < (y)) ? (x) : (y)) +#endif +#ifndef MAX +#define MAX(x,y) (((x) > (y)) ? (x) : (y)) +#endif +#include "parse.h" #include "constants.h" #include "types.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 #include "proto.h"