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_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...
 

Typedefs

typedef int rcutils_ret_t
 

Macro Definition Documentation

#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.

#define RCUTILS_RET_INVALID_ARGUMENT   11

Invalid argument return code.

#define RCUTILS_RET_NOT_ENOUGH_SPACE   12

Not enough storage to do operation.

#define RCUTILS_RET_STRING_MAP_ALREADY_INIT   30

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

#define RCUTILS_RET_STRING_MAP_INVALID   31

Given string map is invalid, perhaps not initialized yet.

#define RCUTILS_RET_STRING_KEY_NOT_FOUND   32

Given key not found in given string map.

Typedef Documentation

typedef int rcutils_ret_t