#include "afsocket-dest.h"#include "messages.h"#include "logwriter.h"#include "gsocket.h"#include "stats/stats-registry.h"#include "mainloop.h"#include "timeutils/misc.h"#include "hostname.h"#include "persist-state.h"#include "stats/stats-cluster-single.h"#include <string.h>#include <sys/types.h>#include <sys/socket.h>
Functions | |
| void | afsocket_kept_alive_connection_init_instance (AFSocketDestKeptAliveConnection *s, const gchar *transport, const gchar *proto, GSockAddr *dest_addr, LogWriter *writer) |
| void | afsocket_kept_alive_connection_free_method (AFSocketDestKeptAliveConnection *self) |
| gboolean | afsocket_dd_should_restore_connection_method (AFSocketDestDriver *self, AFSocketDestKeptAliveConnection *c) |
| void | afsocket_dd_set_keep_alive (LogDriver *s, gboolean enable) |
| void | afsocket_dd_stop_watches (AFSocketDestDriver *self) |
| void | afsocket_dd_connected_with_fd (gpointer s, gint fd, GSockAddr *saddr) |
| void | afsocket_dd_reconnect (AFSocketDestDriver *self) |
| gboolean | afsocket_dd_setup_addresses_method (AFSocketDestDriver *self) |
| void | afsocket_dd_restore_connection_method (AFSocketDestDriver *self, AFSocketDestKeptAliveConnection *item) |
| LogWriter * | afsocket_dd_construct_writer_method (AFSocketDestDriver *self) |
| gboolean | afsocket_dd_init (LogPipe *s) |
| void | afsocket_dd_save_connection (AFSocketDestDriver *self, AFSocketDestKeptAliveConnection *c) |
| gboolean | afsocket_dd_deinit (LogPipe *s) |
| void | afsocket_dd_free (LogPipe *s) |
| void | afsocket_dd_init_instance (AFSocketDestDriver *self, SocketOptions *socket_options, TransportMapper *transport_mapper, GlobalConfig *cfg) |
| void afsocket_dd_connected_with_fd | ( | gpointer | s, |
| gint | fd, | ||
| GSockAddr * | saddr | ||
| ) |
| LogWriter* afsocket_dd_construct_writer_method | ( | AFSocketDestDriver * | self | ) |
| gboolean afsocket_dd_deinit | ( | LogPipe * | s | ) |
| void afsocket_dd_free | ( | LogPipe * | s | ) |
| gboolean afsocket_dd_init | ( | LogPipe * | s | ) |
| void afsocket_dd_init_instance | ( | AFSocketDestDriver * | self, |
| SocketOptions * | socket_options, | ||
| TransportMapper * | transport_mapper, | ||
| GlobalConfig * | cfg | ||
| ) |
| void afsocket_dd_reconnect | ( | AFSocketDestDriver * | self | ) |
| void afsocket_dd_restore_connection_method | ( | AFSocketDestDriver * | self, |
| AFSocketDestKeptAliveConnection * | item | ||
| ) |
| void afsocket_dd_save_connection | ( | AFSocketDestDriver * | self, |
| AFSocketDestKeptAliveConnection * | c | ||
| ) |
| void afsocket_dd_set_keep_alive | ( | LogDriver * | s, |
| gboolean | enable | ||
| ) |
| gboolean afsocket_dd_setup_addresses_method | ( | AFSocketDestDriver * | self | ) |
| gboolean afsocket_dd_should_restore_connection_method | ( | AFSocketDestDriver * | self, |
| AFSocketDestKeptAliveConnection * | c | ||
| ) |
| void afsocket_dd_stop_watches | ( | AFSocketDestDriver * | self | ) |
| void afsocket_kept_alive_connection_free_method | ( | AFSocketDestKeptAliveConnection * | self | ) |
| void afsocket_kept_alive_connection_init_instance | ( | AFSocketDestKeptAliveConnection * | s, |
| const gchar * | transport, | ||
| const gchar * | proto, | ||
| GSockAddr * | dest_addr, | ||
| LogWriter * | writer | ||
| ) |