globus_common  17.6
Macros | Typedefs
globus_types.h File Reference

Common Primitive Types. More...

#include "globus_config.h"
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
Include dependency graph for globus_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GLOBUS_TRUE   1
 True value for globus_bool_t.
 
#define GLOBUS_FALSE   0
 False value for globus_bool_t.
 
#define GLOBUS_NULL   NULL
 NULL value. More...
 
#define GLOBUS_SUCCESS   0
 Generic success result. More...
 
#define GLOBUS_FAILURE   -1
 Generic failure result. More...
 

Typedefs

typedef size_t globus_size_t
 Standard size of memory object. More...
 
typedef socklen_t globus_socklen_t
 Size of a socket length parameter. More...
 
typedef unsigned char globus_byte_t
 Unsigned byte datatype. More...
 
typedef int globus_bool_t
 Boolean type. More...
 
typedef uint32_t globus_result_t
 

Detailed Description

Common Primitive Types.

Defines the macros and typedefs common to all globus_common components.

Macro Definition Documentation

◆ GLOBUS_NULL

#define GLOBUS_NULL   NULL

NULL value.

From back long ago before NULL was standardized? No reason to use this on any modern system.