Remove whitespace, update email addresses and URLs.
[kodak.git] / global.h
1 //+----------------------------------------------------------------------------
2 //
3 // File:     global.h
4 //
5 // Module:   
6 //
7 // Synopsis: 
8 //
9 // Author:       sgasch
10 //
11 // Created    4 Jun 1999
12 //
13 //+----------------------------------------------------------------------------
14
15 #ifndef _GLOBAL
16 #define _GLOBAL
17
18 #include <stdlib.h>
19 #include <stdio.h>
20 #include <limits.h>
21
22 extern char g_szCameraSerialPort[PATH_MAX + 1];
23 extern int g_iMaxAttempts;
24 extern int g_iSpeed;
25
26 #ifndef FAILURE
27 #define FAILURE -1
28 #endif
29
30 #define false 0
31 #define true 1
32
33 #ifndef DWORD
34 typedef unsigned int DWORD;
35 #endif
36
37 #ifndef ULONG
38 typedef unsigned long ULONG;
39 #endif
40
41 #ifndef BOOL
42 typedef int BOOL;
43 #endif
44
45 #ifndef TRUE
46 #define TRUE 1
47 #endif
48
49 #ifndef FALSE
50 #define FALSE 0
51 #endif
52
53 #ifndef VOID
54 typedef void VOID;
55 #endif
56
57 #ifndef CHAR
58 typedef unsigned char CHAR;
59 #endif
60
61 #ifndef UCHAR
62 typedef unsigned char UCHAR;
63 #endif
64
65 #ifndef BYTE
66 typedef unsigned char BYTE;
67 #endif
68
69 #ifndef HANDLE
70 typedef int HANDLE;
71 #endif
72
73 #define IN
74 #define OUT
75 #define INOUT
76
77 #endif _GLOBAL