rcutils  master
C API providing common utilities and data structures.
Macros | Typedefs
rcutils_ret.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RCUTILS_RET_OK   0
 
#define RCUTILS_RET_WARN   1
 
#define RCUTILS_RET_ERROR   2
 
#define RCUTILS_RET_BAD_ALLOC   10
 Failed to allocate memory return code. More...
 
#define RCUTILS_RET_INVALID_ARGUMENT   11
 Invalid argument return code. More...
 
#define RCUTILS_RET_NOT_ENOUGH_SPACE   12
 Not enough storage to do operation. More...
 
#define RCUTILS_RET_NOT_INITIALIZED   13
 Resource is not initialized. More...
 
#define RCUTILS_RET_NOT_FOUND   14
 Resource for request not found. More...
 
#define RCUTILS_RET_STRING_MAP_ALREADY_INIT   30
 Given string map was either already initialized or was not zero initialized. More...
 
#define RCUTILS_RET_STRING_MAP_INVALID   31
 Given string map is invalid, perhaps not initialized yet. More...
 
#define RCUTILS_RET_STRING_KEY_NOT_FOUND   32
 Given key not found in given string map. More...
 
#define RCUTILS_RET_LOGGING_SEVERITY_MAP_INVALID   40
 Internal severity map for logger thresholds is invalid. More...
 
#define RCUTILS_RET_LOGGING_SEVERITY_STRING_INVALID   41
 String representation of a severity is invalid. More...
 
#define RCUTILS_RET_HASH_MAP_NO_MORE_ENTRIES   50
 There are no more entires beyond the last one in the map. More...
 

Typedefs

typedef int rcutils_ret_t
 

Macro Definition Documentation

◆ RCUTILS_RET_OK

#define RCUTILS_RET_OK   0

◆ RCUTILS_RET_WARN

#define RCUTILS_RET_WARN   1

◆ RCUTILS_RET_ERROR

#define RCUTILS_RET_ERROR   2

◆ RCUTILS_RET_BAD_ALLOC

#define RCUTILS_RET_BAD_ALLOC   10

Failed to allocate memory return code.

◆ RCUTILS_RET_INVALID_ARGUMENT

#define RCUTILS_RET_INVALID_ARGUMENT   11

Invalid argument return code.

◆ RCUTILS_RET_NOT_ENOUGH_SPACE

#define RCUTILS_RET_NOT_ENOUGH_SPACE   12

Not enough storage to do operation.

◆ RCUTILS_RET_NOT_INITIALIZED

#define RCUTILS_RET_NOT_INITIALIZED   13

Resource is not initialized.

◆ RCUTILS_RET_NOT_FOUND

#define RCUTILS_RET_NOT_FOUND   14

Resource for request not found.

◆ RCUTILS_RET_STRING_MAP_ALREADY_INIT

#define RCUTILS_RET_STRING_MAP_ALREADY_INIT   30

Given string map was either already initialized or was not zero initialized.

◆ RCUTILS_RET_STRING_MAP_INVALID

#define RCUTILS_RET_STRING_MAP_INVALID   31

Given string map is invalid, perhaps not initialized yet.

◆ RCUTILS_RET_STRING_KEY_NOT_FOUND

#define RCUTILS_RET_STRING_KEY_NOT_FOUND   32

Given key not found in given string map.

◆ RCUTILS_RET_LOGGING_SEVERITY_MAP_INVALID

#define RCUTILS_RET_LOGGING_SEVERITY_MAP_INVALID   40

Internal severity map for logger thresholds is invalid.

◆ RCUTILS_RET_LOGGING_SEVERITY_STRING_INVALID

#define RCUTILS_RET_LOGGING_SEVERITY_STRING_INVALID   41

String representation of a severity is invalid.

◆ RCUTILS_RET_HASH_MAP_NO_MORE_ENTRIES

#define RCUTILS_RET_HASH_MAP_NO_MORE_ENTRIES   50

There are no more entires beyond the last one in the map.

Typedef Documentation

◆ rcutils_ret_t

typedef int rcutils_ret_t