From: W.C.A. Wijngaards Date: Mon, 20 Jan 2020 11:12:27 +0000 (+0100) Subject: iolist item added. X-Git-Tag: 1.11.0rc1~120^2~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9285e10fef0a3327e11385b8f3fed7f5f7e27e30;p=thirdparty%2Funbound.git iolist item added. --- diff --git a/dnstap/dtstream.h b/dnstap/dtstream.h index 0edd219ea..41114c836 100644 --- a/dnstap/dtstream.h +++ b/dnstap/dtstream.h @@ -128,6 +128,17 @@ struct dt_io_thread { char* client_cert_file; }; +/** + * IO thread list of queues list item + * lists a worker queue that should be looked at and sent to the log server. + */ +struct dt_io_list_item { + /** next in the list of buffers to inspect */ + struct dt_io_list_item* next; + /** buffer of this worker */ + struct dt_msg_queue* queue; +}; + /* Frame Streams data transfer protocol encode for DNSTAP messages. * The protocol looks to be specified in the libfstrm library. * @@ -159,7 +170,7 @@ struct dt_io_thread { * Then, the control frame payload (of that length). with in it: * 4byte bigendian, control type (eg. START, STOP, READY, ACCEPT, FINISH). * perhaps nothing more (STOP, FINISH), but for other types maybe - * content type fields + * control fields * 4byte bigendian, the control-field-type, currently only content-type. * 4byte bigendian, length of the string for this option. * .. bytes of that string.