CCF
Loading...
Searching...
No Matches
Namespaces | Macros | Enumerations
grpc_status.h File Reference
#include "ccf/http_consts.h"
#include "ccf/http_header_map.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  ccf
 
namespace  ccf::grpc
 

Macros

#define GRPC_STATUS_MAP(XX)
 
#define XX(num, name, string)   GRPC_STATUS_##name = num,
 
#define XX(num, name, string)
 

Enumerations

enum  grpc_status
 

Macro Definition Documentation

◆ GRPC_STATUS_MAP

#define GRPC_STATUS_MAP (   XX)
Value:
XX(0, OK, "Ok") \
XX(1, CANCELLED, "Cancelled") \
XX(2, UNKNOWN, "Unknown") \
XX(3, INVALID_ARGUMENT, "Invalid Argument") \
XX(4, DEADLINE_EXCEEDED, "Deadline Exceeded") \
XX(5, NOT_FOUND, "Not Found") \
XX(6, ALREADY_EXISTS, "Already Exists") \
XX(7, PERMISSION_DENIED, "Permission Denied") \
XX(8, RESOURCE_EXHAUSTED, "Resource Exhausted") \
XX(9, FAILED_PRECONDITION, "Failed Precondition") \
XX(10, ABORTED, "Aborted") \
XX(11, OUT_OF_RANGE, "Out Of Range") \
XX(12, UNIMPLEMENTED, "Unimplemented") \
XX(13, INTERNAL, "Internal") \
XX(14, UNAVAILABLE, "Unavailable") \
XX(15, DATA_LOSS, "Data Loss") \
XX(16, UNAUTHENTICATED, "Unauthenticated")
@ OK
Definition enclave_interface_types.h:10
#define XX(num, name, string)
Definition grpc_status.h:31

◆ XX [1/2]

#define XX (   num,
  name,
  string 
)    GRPC_STATUS_##name = num,

◆ XX [2/2]

#define XX (   num,
  name,
  string 
)
Value:
case GRPC_STATUS_##name: \
return string;

Enumeration Type Documentation

◆ grpc_status