1 |
/* |
/* |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Master include file |
Master include file |
4 |
Copyright (C) Matthew Chapman 1999-2002 |
Copyright (C) Matthew Chapman 1999-2004 |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
21 |
#include <stdlib.h> |
#include <stdlib.h> |
22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
#include <string.h> |
#include <string.h> |
24 |
|
#include <dirent.h> |
25 |
|
|
26 |
#define VERSION "1.3.0" |
#define VERSION "1.3.1" |
27 |
|
|
28 |
#ifdef WITH_DEBUG |
#ifdef WITH_DEBUG |
29 |
#define DEBUG(args) printf args; |
#define DEBUG(args) printf args; |
50 |
#endif |
#endif |
51 |
|
|
52 |
#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; } |
53 |
|
|
54 |
#ifndef MIN |
#ifndef MIN |
55 |
#define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
#define MIN(x,y) (((x) < (y)) ? (x) : (y)) |
56 |
#endif |
#endif |
57 |
|
|
58 |
#ifndef MAX |
#ifndef MAX |
59 |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
#define MAX(x,y) (((x) > (y)) ? (x) : (y)) |
60 |
#endif |
#endif |