opentracing-c
OpenTracing C API
Typedefs
tracer_factory.h File Reference
#include <opentracing-c/config.h>
#include <opentracing-c/common.h>
#include <opentracing-c/tracer.h>
Include dependency graph for tracer_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef opentracing_bool(* opentracing_tracer_factory) (const char *config, opentracing_tracer **tracer, char *error_buffer, int error_buffer_length)
 opentracing_tracer_factory interface to encapsulate vendor tracing libraries. More...
 

Typedef Documentation

◆ opentracing_tracer_factory

typedef opentracing_bool(* opentracing_tracer_factory) (const char *config, opentracing_tracer **tracer, char *error_buffer, int error_buffer_length)

opentracing_tracer_factory interface to encapsulate vendor tracing libraries.

Parameters
configConfiguration string to pass to tracer.
[out]tracerStorage for new tracer instance pointer.
[out]error_bufferBuffer for potential error message.
error_buffer_lengthLength of error_buffer.
Returns
opentracing_true on success, opentracing_false otherwise.