unbound 0.1
fast_reload_printq Struct Reference

Fast reload printout queue. More...

#include <remote.h>

Data Fields

struct fast_reload_printq * prev
 if this item is in a list, the previous and next
struct fast_reload_printq * next
int in_list
 if this item is in a list, it is true.
struct config_strlist_head * to_print
 list of strings to printout
char * client_item
 the current item to print.
int client_len
 The length, strlen, of the client_item, that has to be sent.
int client_byte_count
 The number of bytes sent of client_item.
struct comm_point * client_cp
 the comm point for the client connection, the remote control client.
struct remote_stream remote
 the remote control connection to print output to.
struct worker * worker
 the worker that the event is added in

Detailed Description

Fast reload printout queue.

Contains a list of strings, that need to be printed over the file descriptor.

Field Documentation

◆ prev

struct fast_reload_printq* fast_reload_printq::prev

if this item is in a list, the previous and next

Referenced by fr_printq_list_insert(), and fr_printq_list_remove().

◆ in_list

int fast_reload_printq::in_list

if this item is in a list, it is true.

Referenced by fr_printq_list_insert(), fr_printq_list_remove(), and fr_printq_remove().

◆ to_print

struct config_strlist_head* fast_reload_printq::to_print

◆ client_item

char* fast_reload_printq::client_item

the current item to print.

It is malloced. NULL if none.

Referenced by fr_client_pickup_next_item(), fr_client_send_item_fd(), and fr_printq_empty().

◆ client_len

int fast_reload_printq::client_len

The length, strlen, of the client_item, that has to be sent.

Referenced by fr_client_pickup_next_item(), fr_client_send_item(), and fr_client_send_item_fd().

◆ client_byte_count

int fast_reload_printq::client_byte_count

The number of bytes sent of client_item.

Referenced by fr_client_pickup_next_item(), fr_client_send_item(), and fr_client_send_item_fd().

◆ client_cp

struct comm_point* fast_reload_printq::client_cp

the comm point for the client connection, the remote control client.

Referenced by fast_reload_thread_start(), fr_client_send_item_fd(), fr_main_perform_printout(), fr_printq_create(), and fr_printq_delete().

◆ remote

struct remote_stream fast_reload_printq::remote

the remote control connection to print output to.

Referenced by fast_reload_thread_start(), fr_client_send_item(), fr_client_send_item_fd(), and fr_printq_delete().

◆ worker

struct worker* fast_reload_printq::worker

the worker that the event is added in

Referenced by fr_printq_create(), fr_printq_list_remove(), and fr_printq_remove().


The documentation for this struct was generated from the following file: