milter-connection 3 milter managerライブラリ
milter-connection

## Functions

GQuark | milter_connection_error_quark ()
gboolean | milter_connection_parse_spec ()
GIOChannel * | milter_connection_listen ()
gchar * | milter_connection_address_to_spec ()

## Types and Values

#define | MILTER_CONNECTION_DEFAULT_BACKLOG
#define | MILTER_CONNECTION_ERROR
enum | MilterConnectionError

## オブジェクト階層

    GBoxed
        ╰── MilterGenericSocketAddress

## 説明

## Functions

### milter_connection_error_quark ()

    GQuark
    milter_connection_error_quark (void);

milter_connection_error_quark

### milter_connection_parse_spec ()

    gboolean
    milter_connection_parse_spec (const gchar *spec,
                                  gint *domain,
                                  struct sockaddr **address,
                                  socklen_t *address_size,
                                  GError **error);

milter_connection_parse_spec

### milter_connection_listen ()

    GIOChannel *
    milter_connection_listen (const gchar *spec,
                              gint backlog,
                              struct sockaddr **address,
                              socklen_t *address_size,
                              gboolean remove_unix_socket,
                              GError **error);

milter_connection_listen

### milter_connection_address_to_spec ()

    gchar *
    milter_connection_address_to_spec (const struct sockaddr *address);

milter_connection_address_to_spec

## Types and Values

### MILTER_CONNECTION_DEFAULT_BACKLOG

    #  define MILTER_CONNECTION_DEFAULT_BACKLOG SOMAXCONN

MILTER_CONNECTION_DEFAULT_BACKLOG

### MILTER_CONNECTION_ERROR

    #define MILTER_CONNECTION_ERROR           (milter_connection_error_quark())

MILTER_CONNECTION_ERROR

### enum MilterConnectionError

#### Members

MILTER_CONNECTION_ERROR_INVALID_FORMAT |  |
MILTER_CONNECTION_ERROR_SOCKET_FAILURE |  |
MILTER_CONNECTION_ERROR_SET_SOCKET_OPTION_FAILURE |  |
MILTER_CONNECTION_ERROR_ACCEPT_FAILURE |  |
MILTER_CONNECTION_ERROR_BIND_FAILURE |  |
MILTER_CONNECTION_ERROR_LISTEN_FAILURE |  |
MILTER_CONNECTION_ERROR_UNIX_SOCKET |  |

MilterConnectionError