9 #if !defined(GLOBUS_TYPES_H)
10 #define GLOBUS_TYPES_H 1
17 #if (!defined(_WIN32)) || (defined(__CYGWIN__) || defined(__MINGW32__))
18 #include <sys/types.h>
21 #if defined(_WIN32) && !defined(__CYGWIN__)
25 #include <sys/socket.h>
35 #if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
41 typedef long globus_ssize_t;
43 typedef ssize_t globus_ssize_t;
59 unsigned long iov_len;
85 typedef int64_t globus_off_t;
86 #define GLOBUS_OFF_T_FORMAT PRId64
97 #define GLOBUS_FALSE 0
104 #define GLOBUS_NULL NULL
111 #define GLOBUS_SUCCESS 0
118 #define GLOBUS_FAILURE -1
Globus Platform Configuration.
int globus_bool_t
Boolean type.
Definition: globus_types.h:78
socklen_t globus_socklen_t
Size of a socket length parameter.
Definition: globus_types.h:53
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:33
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:70
uint32_t globus_result_t
Definition: globus_types.h:84