syslog-ng source
ControlConnection Struct Reference

#include <control-connection.h>

Collaboration diagram for ControlConnection:

Public Attributes

GAtomicCounter ref_cnt
 
GQueue * response_batches
 
GMutex response_batches_lock
 
struct iv_event evt_response_added
 
gboolean waiting_for_output
 
gboolean watches_are_running
 
GString * input_buffer
 
GString * output_buffer
 
gsize pos
 
ControlServer * server
 
gboolean(* get_attached_fds )(ControlConnection *self, gint *fds, gsize *num_fds)
 
gboolean(* run_command )(ControlConnection *self, ControlCommand *command_desc, GString *command_string)
 
int(* read )(ControlConnection *self, gpointer buffer, gsize size)
 
int(* write )(ControlConnection *self, gpointer buffer, gsize size)
 
void(* handle_input )(gpointer s)
 
void(* handle_output )(gpointer s)
 
void(* free_fn )(ControlConnection *self)
 
struct {
   void(*   start_watches )(ControlConnection *self)
 
   void(*   update_watches )(ControlConnection *self)
 
   void(*   stop_watches )(ControlConnection *self)
 
events
 

Member Data Documentation

◆ 

struct { ... } ControlConnection::events

◆ evt_response_added

struct iv_event ControlConnection::evt_response_added

◆ free_fn

void(* ControlConnection::free_fn) (ControlConnection *self)

◆ get_attached_fds

gboolean(* ControlConnection::get_attached_fds) (ControlConnection *self, gint *fds, gsize *num_fds)

◆ handle_input

void(* ControlConnection::handle_input) (gpointer s)

◆ handle_output

void(* ControlConnection::handle_output) (gpointer s)

◆ input_buffer

GString* ControlConnection::input_buffer

◆ output_buffer

GString* ControlConnection::output_buffer

◆ pos

gsize ControlConnection::pos

◆ read

int(* ControlConnection::read) (ControlConnection *self, gpointer buffer, gsize size)

◆ ref_cnt

GAtomicCounter ControlConnection::ref_cnt

◆ response_batches

GQueue* ControlConnection::response_batches

◆ response_batches_lock

GMutex ControlConnection::response_batches_lock

◆ run_command

gboolean(* ControlConnection::run_command) (ControlConnection *self, ControlCommand *command_desc, GString *command_string)

◆ server

ControlServer* ControlConnection::server

◆ start_watches

void(* ControlConnection::start_watches) (ControlConnection *self)

◆ stop_watches

void(* ControlConnection::stop_watches) (ControlConnection *self)

◆ update_watches

void(* ControlConnection::update_watches) (ControlConnection *self)

◆ waiting_for_output

gboolean ControlConnection::waiting_for_output

◆ watches_are_running

gboolean ControlConnection::watches_are_running

◆ write

int(* ControlConnection::write) (ControlConnection *self, gpointer buffer, gsize size)

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