GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/gpr/useful.h"
Data Structures | |
struct | status_string_entry |
Functions | |
bool | grpc_status_code_from_string (const char *status_str, grpc_status_code *status) |
If status_str is a valid status string, sets status to the corresponding status value and returns true. More... | |
const char * | grpc_status_code_to_string (grpc_status_code status) |
Returns the string form of status, or "UNKNOWN" if invalid. More... | |
bool | grpc_status_code_from_int (int status_int, grpc_status_code *status) |
bool grpc_status_code_from_int | ( | int | status_int, |
grpc_status_code * | status | ||
) |
bool grpc_status_code_from_string | ( | const char * | status_str, |
grpc_status_code * | status | ||
) |
If status_str is a valid status string, sets status to the corresponding status value and returns true.
const char* grpc_status_code_to_string | ( | grpc_status_code | status | ) |
Returns the string form of status, or "UNKNOWN" if invalid.