.TH "globus_types.h" 3 "Sat Nov 8 2014" "Version 15.26" "globus_common" \" -*- nroff -*- .ad l .nh .SH NAME globus_types.h \- .PP Common Primitive Types\&. .SH SYNOPSIS .br .PP \fC#include 'globus_config\&.h'\fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br .SS "Macros" .in +1c .ti -1c .RI "#define \fBGLOBUS_TRUE\fP 1" .br .RI "\fITrue value for globus_bool_t\&. \fP" .ti -1c .RI "#define \fBGLOBUS_FALSE\fP 0" .br .RI "\fIFalse value for globus_bool_t\&. \fP" .ti -1c .RI "#define \fBGLOBUS_NULL\fP NULL" .br .RI "\fINULL value\&. \fP" .ti -1c .RI "#define \fBGLOBUS_SUCCESS\fP 0" .br .RI "\fIGeneric success result .PP Most Globus API functions return this value to indicate success, or some error constant or globus_result_t to indicate an error\&. \fP" .ti -1c .RI "#define \fBGLOBUS_FAILURE\fP -1" .br .RI "\fIGeneric failure result .PP Some Globus API functions without good error handling return this value to indicate some undetermined error occurred\&. \fP" .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef size_t \fBglobus_size_t\fP" .br .RI "\fIStandard size of memory object .PP The globus_size_t is the size of a memory object\&. It is identical to size_t in all cases and doesn't need to be used ever\&. \fP" .ti -1c .RI "typedef socklen_t \fBglobus_socklen_t\fP" .br .RI "\fISize of a socket length parameter\&. \fP" .ti -1c .RI "typedef unsigned char \fBglobus_byte_t\fP" .br .RI "\fIUnsigned byte datatype .PP This is used for byte-addressable arrays of arbitrary data which is not subject to sign extension\&. \fP" .ti -1c .RI "typedef int \fBglobus_bool_t\fP" .br .RI "\fIBoolean type\&. \fP" .ti -1c .RI "typedef uint32_t \fBglobus_result_t\fP" .br .in -1c .SH "Detailed Description" .PP Common Primitive Types\&. Defines the macros and typedefs common to all globus_common components\&. .SH "Macro Definition Documentation" .PP .SS "#define GLOBUS_NULL NULL" .PP NULL value\&. From back long ago before NULL was standardized? No reason to use this on any modern system\&. .SH "Author" .PP Generated automatically by Doxygen for globus_common from the source code\&.