opentracing-c
OpenTracing C API
|
The inject carrier for the opentracing_propagation_format_text_map. More...
#include <opentracing-c/propagation.h>
Data Fields | |
opentracing_destructible | base |
Base class member. More... | |
opentracing_propagation_error_code(* | set )(struct opentracing_text_map_writer *writer, const char *key, const char *value) OPENTRACINGC_NONNULL(1) |
Set a key:value pair to the carrier. More... | |
![]() | |
void(* | destroy )(struct opentracing_destructible *destructible) OPENTRACINGC_NONNULL_ALL |
Destructor to clean up any resources allocated to the instance. More... | |
The inject carrier for the opentracing_propagation_format_text_map.
With it, the caller can encode a span context for propagation as entries in a map of strings.
opentracing_destructible opentracing_text_map_writer::base |
Base class member.
opentracing_propagation_error_code(* opentracing_text_map_writer::set) (struct opentracing_text_map_writer *writer, const char *key, const char *value) OPENTRACINGC_NONNULL(1) |
Set a key:value pair to the carrier.
Multiple calls to set() for the same key leads to undefined behavior.
writer | Writer instance. |
key | String key. |
value | String value. |