Skip to content

File tlm_sink.h

File List > inc > stream > tlm_sink.h

Go to the documentation of this file

#ifndef TLM_SINK_H
#define TLM_SINK_H

#include "dp_tlm/dp_tlm_core.h"

#ifdef __cplusplus
extern "C"
{
#endif

  typedef struct dp_tlm_sink dp_tlm_sink_t;

  dp_tlm_sink_t *dp_tlm_sink_open (const char *endpoint);

  int dp_tlm_sink_pump (dp_tlm_sink_t *sink, dp_tlm_t *tlm);

  uint64_t dp_tlm_sink_sent (const dp_tlm_sink_t *sink);

  void dp_tlm_sink_close (dp_tlm_sink_t *sink);

#ifdef __cplusplus
}
#endif

#endif /* TLM_SINK_H */