summaryrefslogtreecommitdiff
path: root/noncore/net/opierdesktop/rdesktop.h
Unidiff
Diffstat (limited to 'noncore/net/opierdesktop/rdesktop.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opierdesktop/rdesktop.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/noncore/net/opierdesktop/rdesktop.h b/noncore/net/opierdesktop/rdesktop.h
new file mode 100644
index 0000000..0fca123
--- a/dev/null
+++ b/noncore/net/opierdesktop/rdesktop.h
@@ -0,0 +1,66 @@
1/*
2 rdesktop: A Remote Desktop Protocol client.
3 Master include file
4 Copyright (C) Matthew Chapman 1999-2002
5
6 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
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19*/
20
21#include <stdlib.h>
22#include <stdio.h>
23#include <string.h>
24
25//#define __LITTLE_ENDIAN 1234
26//#define __BIG_ENDIAN 4321
27//#define __BYTE_ORDER __BIG_ENDIAN
28
29//#if __BYTE_ORDER == __LITTLE_ENDIAN
30#define L_ENDIAN
31#define NEED_ALIGN
32//#error le
33//#elif __BYTE_ORDER == __BIG_ENDIAN
34//#define B_ENDIAN
35//#error be
36//#else
37//#error Unknown endianness. Edit rdesktop.h.
38//#endif
39
40
41//#define B_ENDIAN
42//#define B_ENDIAN_PREFERRED
43
44#define VERSION "1.2.0"
45
46#ifdef WITH_DEBUG
47 #define DEBUG(args)printf args;
48#else
49#define DEBUG(args)
50#endif
51
52#ifdef WITH_DEBUG_KBD
53#define DEBUG_KBD(args) printf args;
54#else
55#define DEBUG_KBD(args)
56#endif
57
58#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; }
59
60#include "constants.h"
61#include "types.h"
62#include "parse.h"
63
64#ifndef MAKE_PROTO
65#include "proto.h"
66#endif