struct tapi_job_buffer_t
Overview
A structure to store messages read by tapi_job_receive() or tapi_job_receive_last(). More…
#include <tapi_job.h> struct tapi_job_buffer_t { // fields tapi_job_channel_t* channel; tapi_job_channel_t* filter; unsigned int dropped; bool eos; te_string data; };
Detailed Documentation
A structure to store messages read by tapi_job_receive() or tapi_job_receive_last().
Fields
tapi_job_channel_t* channel
Last message channel
tapi_job_channel_t* filter
Last message filter
unsigned int dropped
Number of dropped messages
bool eos
true
if the stream behind the filter has been closed. If eos is received and a job is not started again, the next tapi_job_receive() will time out. The stream behind the filter is re-opened when a job restarts. eos is used as a separation between runs.
te_string data
Data buffer