opentracing-c
OpenTracing C API
|
extract() carrier for a custom format. More...
#include <opentracing-c/propagation.h>
Data Fields | |
opentracing_destructible | base |
Base class member. More... | |
opentracing_propagation_error_code(* | extract )(struct opentracing_custom_carrier_reader *reader, const struct opentracing_tracer *tracer, opentracing_span_context **span_context) OPENTRACINGC_NONNULL_ALL |
Extract a span context from a custom format. More... | |
![]() | |
void(* | destroy )(struct opentracing_destructible *destructible) OPENTRACINGC_NONNULL_ALL |
Destructor to clean up any resources allocated to the instance. More... | |
extract() carrier for a custom format.
With it, the caller can decode an opentracing_span_context from entries in a custom protocol.
opentracing_destructible opentracing_custom_carrier_reader::base |
Base class member.
opentracing_propagation_error_code(* opentracing_custom_carrier_reader::extract) (struct opentracing_custom_carrier_reader *reader, const struct opentracing_tracer *tracer, opentracing_span_context **span_context) OPENTRACINGC_NONNULL_ALL |
Extract a span context from a custom format.
reader | Reader instance. | |
tracer | Tracer instance. | |
[out] | span_context | Span context pointer to return decoded span. Set to NULL on propagation failure or out of memory. |