|
|
@ -358,8 +358,9 @@ typedef struct grpc_op { |
|
|
|
/** Propagate deadline */ |
|
|
|
/** Propagate deadline */ |
|
|
|
#define GRPC_PROPAGATE_DEADLINE ((gpr_uint32)1) |
|
|
|
#define GRPC_PROPAGATE_DEADLINE ((gpr_uint32)1) |
|
|
|
/** Propagate census context */ |
|
|
|
/** Propagate census context */ |
|
|
|
#define GRPC_PROPAGATE_STATS_CONTEXT ((gpr_uint32)2) |
|
|
|
#define GRPC_PROPAGATE_CENSUS_STATS_CONTEXT ((gpr_uint32)2) |
|
|
|
#define GRPC_PROPAGATE_TRACING_CONTEXT ((gpr_uint32)4) |
|
|
|
#define GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT ((gpr_uint32)4) |
|
|
|
|
|
|
|
/** Propagate cancellation */ |
|
|
|
#define GRPC_PROPAGATE_CANCELLATION ((gpr_uint32)8) |
|
|
|
#define GRPC_PROPAGATE_CANCELLATION ((gpr_uint32)8) |
|
|
|
|
|
|
|
|
|
|
|
/* Default propagation mask: clients of the core API are encouraged to encode
|
|
|
|
/* Default propagation mask: clients of the core API are encouraged to encode
|
|
|
@ -369,8 +370,8 @@ typedef struct grpc_op { |
|
|
|
propagation types that are default inherited or not. */ |
|
|
|
propagation types that are default inherited or not. */ |
|
|
|
#define GRPC_PROPAGATE_DEFAULTS \ |
|
|
|
#define GRPC_PROPAGATE_DEFAULTS \ |
|
|
|
((gpr_uint32)((0xffff | GRPC_PROPAGATE_DEADLINE | \
|
|
|
|
((gpr_uint32)((0xffff | GRPC_PROPAGATE_DEADLINE | \
|
|
|
|
GRPC_PROPAGATE_STATS_CONTEXT | \
|
|
|
|
GRPC_PROPAGATE_CENSUS_STATS_CONTEXT | \
|
|
|
|
GRPC_PROPAGATE_TRACING_CONTEXT))) |
|
|
|
GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT))) |
|
|
|
|
|
|
|
|
|
|
|
/** Initialize the grpc library.
|
|
|
|
/** Initialize the grpc library.
|
|
|
|
|
|
|
|
|
|
|
|