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

Go to the source code of this file.

Classes

struct  SocketOptions
 

Enumerations

enum  AFSocketDirection { AFSOCKET_DIR_RECV = 0x01 , AFSOCKET_DIR_SEND = 0x02 }
 

Functions

gboolean socket_options_setup_socket_method (SocketOptions *self, gint fd, GSockAddr *bind_addr, AFSocketDirection dir)
 
gboolean socket_options_setup_peer_socket_method (SocketOptions *self, gint fd, GSockAddr *bind_addr)
 
void socket_options_init_instance (SocketOptions *self)
 
SocketOptions * socket_options_new (void)
 

Enumeration Type Documentation

◆ AFSocketDirection

Enumerator
AFSOCKET_DIR_RECV 
AFSOCKET_DIR_SEND 

Function Documentation

◆ socket_options_init_instance()

void socket_options_init_instance ( SocketOptions *  self)

◆ socket_options_new()

SocketOptions* socket_options_new ( void  )

◆ socket_options_setup_peer_socket_method()

gboolean socket_options_setup_peer_socket_method ( SocketOptions *  self,
gint  fd,
GSockAddr bind_addr 
)

◆ socket_options_setup_socket_method()

gboolean socket_options_setup_socket_method ( SocketOptions *  self,
gint  fd,
GSockAddr bind_addr,
AFSocketDirection  dir 
)