22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
#include <string.h> |
#include <string.h> |
24 |
|
|
25 |
#define VERSION "1.2-cvs" |
#define VERSION "1.2.0" |
26 |
|
|
27 |
#ifdef WITH_DEBUG |
#ifdef WITH_DEBUG |
28 |
#define DEBUG(args) printf args; |
#define DEBUG(args) printf args; |
36 |
#define DEBUG_KBD(args) |
#define DEBUG_KBD(args) |
37 |
#endif |
#endif |
38 |
|
|
39 |
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; } |
#ifdef WITH_DEBUG_RDP5 |
40 |
|
#define DEBUG_RDP5(args) printf args; |
41 |
|
#else |
42 |
|
#define DEBUG_RDP5(args) |
43 |
|
#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; } |
52 |
|
#define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
53 |
|
|
54 |
|
#include "parse.h" |
55 |
#include "constants.h" |
#include "constants.h" |
56 |
#include "types.h" |
#include "types.h" |
|
#include "parse.h" |
|
57 |
|
|
58 |
#ifndef MAKE_PROTO |
#ifndef MAKE_PROTO |
59 |
#include "proto.h" |
#include "proto.h" |