LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
common_definitions.h
Go to the documentation of this file.
1 
7 #ifndef __COMMON_DEFINITIONS__
8 #define __COMMON_DEFINITIONS__
9 
11 #define ABUSED_VERSION "0.0.3"
12 
13 /* PORTABILITY */
14 #ifndef TRUE
15 
16 #define TRUE (1==1)
17 
18 #define FALSE (!TRUE)
19 #endif
20 
22 #define INVALID_SOCKET -1
23 
24 #define SOCKET_ERROR -1
25 
26 #ifndef SIOCGARP
27 
28  #define SIOCGARP SIOCARPIPLL
29 #endif
30 
32 typedef int SOCKET;
34 typedef int BOOL;
35 
36 #endif /* __COMMON_DEFINITIONS__ */
int SOCKET
int BOOL