24 #if !defined(GLOBUS_TYPES_H)
25 #define GLOBUS_TYPES_H 1
32 #if (!defined(_WIN32)) || (defined(__CYGWIN__) || defined(__MINGW32__))
33 #include <sys/types.h>
36 #if defined(_WIN32) && !defined(__CYGWIN__)
40 #include <sys/socket.h>
50 #if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
56 typedef long globus_ssize_t;
58 typedef ssize_t globus_ssize_t;
74 unsigned long iov_len;
100 typedef int64_t globus_off_t;
101 #define GLOBUS_OFF_T_FORMAT PRId64
107 #define GLOBUS_TRUE 1
112 #define GLOBUS_FALSE 0
119 #define GLOBUS_NULL NULL
126 #define GLOBUS_SUCCESS 0
133 #define GLOBUS_FAILURE -1
Globus Platform Configuration.
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
socklen_t globus_socklen_t
Size of a socket length parameter.
Definition: globus_types.h:68
size_t globus_size_t
Standard size of memory objectThe globus_size_t is the size of a memory object. It is identical to si...
Definition: globus_types.h:48
unsigned char globus_byte_t
Unsigned byte datatypeThis is used for byte-addressable arrays of arbitrary data which is not subject...
Definition: globus_types.h:85
uint32_t globus_result_t
Definition: globus_types.h:99