syslog-ng source
transport-mapper.h File Reference
#include "socket-options.h"
#include "transport/transport-stack.h"
#include "gsockaddr.h"
Include dependency graph for transport-mapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TransportMapper
 

Typedefs

typedef gboolean(* TransportMapperAsyncInitCB) (gpointer arg)
 

Functions

void transport_mapper_set_transport (TransportMapper *self, const gchar *transport)
 
void transport_mapper_set_address_family (TransportMapper *self, gint address_family)
 
gboolean transport_mapper_open_socket (TransportMapper *self, SocketOptions *socket_options, GSockAddr *bind_addr, GSockAddr *peer_addr, AFSocketDirection dir, int *fd)
 
gboolean transport_mapper_apply_transport_method (TransportMapper *self, GlobalConfig *cfg)
 
void transport_mapper_init_instance (TransportMapper *self, const gchar *transport)
 
void transport_mapper_free (TransportMapper *self)
 
void transport_mapper_free_method (TransportMapper *self)
 

Typedef Documentation

◆ TransportMapperAsyncInitCB

typedef gboolean(* TransportMapperAsyncInitCB) (gpointer arg)

Function Documentation

◆ transport_mapper_apply_transport_method()

gboolean transport_mapper_apply_transport_method ( TransportMapper *  self,
GlobalConfig *  cfg 
)

◆ transport_mapper_free()

void transport_mapper_free ( TransportMapper *  self)

◆ transport_mapper_free_method()

void transport_mapper_free_method ( TransportMapper *  self)

◆ transport_mapper_init_instance()

void transport_mapper_init_instance ( TransportMapper *  self,
const gchar *  transport 
)

◆ transport_mapper_open_socket()

gboolean transport_mapper_open_socket ( TransportMapper *  self,
SocketOptions *  socket_options,
GSockAddr bind_addr,
GSockAddr peer_addr,
AFSocketDirection  dir,
int *  fd 
)

◆ transport_mapper_set_address_family()

void transport_mapper_set_address_family ( TransportMapper *  self,
gint  address_family 
)

◆ transport_mapper_set_transport()

void transport_mapper_set_transport ( TransportMapper *  self,
const gchar *  transport 
)