UCC 1.0
Unified Collective Communications
ucc_status.h
1
9#ifndef UCC_STATUS_H_
10#define UCC_STATUS_H_
11
12#ifdef __cplusplus
13# define BEGIN_C_DECLS extern "C" {
14# define END_C_DECLS }
15#else
16# define BEGIN_C_DECLS
17# define END_C_DECLS
18#endif
19
20BEGIN_C_DECLS
26typedef enum {
27 /* Operation completed successfully */
28 UCC_OK = 0,
29
34 /* Error status codes */
45
51const char *ucc_status_string(ucc_status_t status);
52
53END_C_DECLS
54#endif
const char * ucc_status_string(ucc_status_t status)
Routine to convert status code to string.
ucc_status_t
Status codes for the UCC operations.
Definition: ucc_status.h:26
@ UCC_ERR_NOT_IMPLEMENTED
Definition: ucc_status.h:36
@ UCC_INPROGRESS
Definition: ucc_status.h:30
@ UCC_ERR_LAST
Definition: ucc_status.h:43
@ UCC_ERR_NO_MESSAGE
Definition: ucc_status.h:40
@ UCC_OPERATION_INITIALIZED
Definition: ucc_status.h:32
@ UCC_OK
Definition: ucc_status.h:28
@ UCC_ERR_NOT_FOUND
Definition: ucc_status.h:41
@ UCC_ERR_TIMED_OUT
Definition: ucc_status.h:42
@ UCC_ERR_INVALID_PARAM
Definition: ucc_status.h:37
@ UCC_ERR_NO_MEMORY
Definition: ucc_status.h:38
@ UCC_ERR_NO_RESOURCE
Definition: ucc_status.h:39
@ UCC_ERR_NOT_SUPPORTED
Definition: ucc_status.h:35