MilterManagerChildren
3
milter managerライブラリ

# MilterManagerChildren

## 概要

    #define             MILTER_MANAGER_CHILDREN_ERROR
    #define             MILTER_MANAGER_CHILDREN             (obj)
    enum                MilterManagerChildrenError;
                        MilterManagerChildren;
    GQuark              milter_manager_children_error_quark (void);
    MilterManagerChildren * milter_manager_children_new     (MilterManagerConfiguration *configuration,
                                                             MilterEventLoop *event_loop);
    void                milter_manager_children_add_child   (MilterManagerChildren *children,
                                                             MilterManagerChild *child);
    guint               milter_manager_children_length      (MilterManagerChildren *children);
    GList *             milter_manager_children_get_children
                                                            (MilterManagerChildren *children);
    void                milter_manager_children_foreach     (MilterManagerChildren *children,
                                                             GFunc func,
                                                             gpointer user_data);
    gboolean            milter_manager_children_negotiate   (MilterManagerChildren *children,
                                                             MilterOption *option,
                                                             MilterMacrosRequests *macros_requests);
    gboolean            milter_manager_children_define_macro
                                                            (MilterManagerChildren *children,
                                                             MilterCommand command,
                                                             GHashTable *macro);
    gboolean            milter_manager_children_connect     (MilterManagerChildren *children,
                                                             const gchar *host_name,
                                                             struct sockaddr *address,
                                                             socklen_t address_length);
    gboolean            milter_manager_children_helo        (MilterManagerChildren *children,
                                                             const gchar *fqdn);
    gboolean            milter_manager_children_envelope_from
                                                            (MilterManagerChildren *children,
                                                             const gchar *from);
    gboolean            milter_manager_children_envelope_recipient
                                                            (MilterManagerChildren *children,
                                                             const gchar *recipient);
    gboolean            milter_manager_children_data        (MilterManagerChildren *children);
    gboolean            milter_manager_children_unknown     (MilterManagerChildren *children,
                                                             const gchar *command);
    gboolean            milter_manager_children_header      (MilterManagerChildren *children,
                                                             const gchar *name,
                                                             const gchar *value);
    gboolean            milter_manager_children_end_of_header
                                                            (MilterManagerChildren *children);
    gboolean            milter_manager_children_body        (MilterManagerChildren *children,
                                                             const gchar *chunk,
                                                             gsize size);
    gboolean            milter_manager_children_end_of_message
                                                            (MilterManagerChildren *children,
                                                             const gchar *chunk,
                                                             gsize size);
    gboolean            milter_manager_children_quit        (MilterManagerChildren *children);
    gboolean            milter_manager_children_abort       (MilterManagerChildren *children);
    void                milter_manager_children_set_retry_connect_time
                                                            (MilterManagerChildren *children,
                                                             gdouble time);
    gboolean            milter_manager_children_is_important_status
                                                            (MilterManagerChildren *children,
                                                             MilterServerContextState state,
                                                             MilterStatus status);
    void                milter_manager_children_set_status  (MilterManagerChildren *children,
                                                             MilterServerContextState state,
                                                             MilterStatus status);
    void                milter_manager_children_set_launcher_channel
                                                            (MilterManagerChildren *children,
                                                             GIOChannel *read_channel,
                                                             GIOChannel *write_channel);

## 説明

## 詳細

### MILTER_MANAGER_CHILDREN_ERROR

    #define MILTER_MANAGER_CHILDREN_ERROR           (milter_manager_children_error_quark())

### MILTER_MANAGER_CHILDREN()

    #define MILTER_MANAGER_CHILDREN(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), MILTER_TYPE_MANAGER_CHILDREN, MilterManagerChildren))

### enum MilterManagerChildrenError

    typedef enum {
        MILTER_MANAGER_CHILDREN_ERROR_MILTER_EXIT,
        MILTER_MANAGER_CHILDREN_ERROR_NO_NEGOTIATION,
        MILTER_MANAGER_CHILDREN_ERROR_NO_DEMAND_COMMAND,
        MILTER_MANAGER_CHILDREN_ERROR_NO_ALIVE_MILTER,
        MILTER_MANAGER_CHILDREN_ERROR_NO_MESSAGE_PROCESSING_MILTER
    } MilterManagerChildrenError;

### MilterManagerChildren

    typedef struct {
        GObject object;
    } MilterManagerChildren;

### milter_manager_children_error_quark ()

    GQuark              milter_manager_children_error_quark (void);

### milter_manager_children_new ()

    MilterManagerChildren * milter_manager_children_new     (MilterManagerConfiguration *configuration,
                                                             MilterEventLoop *event_loop);

### milter_manager_children_add_child ()

    void                milter_manager_children_add_child   (MilterManagerChildren *children,
                                                             MilterManagerChild *child);

### milter_manager_children_length ()

    guint               milter_manager_children_length      (MilterManagerChildren *children);

### milter_manager_children_get_children ()

    GList *             milter_manager_children_get_children
                                                            (MilterManagerChildren *children);

### milter_manager_children_foreach ()

    void                milter_manager_children_foreach     (MilterManagerChildren *children,
                                                             GFunc func,
                                                             gpointer user_data);

### milter_manager_children_negotiate ()

    gboolean            milter_manager_children_negotiate   (MilterManagerChildren *children,
                                                             MilterOption *option,
                                                             MilterMacrosRequests *macros_requests);

### milter_manager_children_define_macro ()

    gboolean            milter_manager_children_define_macro
                                                            (MilterManagerChildren *children,
                                                             MilterCommand command,
                                                             GHashTable *macro);

### milter_manager_children_connect ()

    gboolean            milter_manager_children_connect     (MilterManagerChildren *children,
                                                             const gchar *host_name,
                                                             struct sockaddr *address,
                                                             socklen_t address_length);

### milter_manager_children_helo ()

    gboolean            milter_manager_children_helo        (MilterManagerChildren *children,
                                                             const gchar *fqdn);

### milter_manager_children_envelope_from ()

    gboolean            milter_manager_children_envelope_from
                                                            (MilterManagerChildren *children,
                                                             const gchar *from);

### milter_manager_children_envelope_recipient ()

    gboolean            milter_manager_children_envelope_recipient
                                                            (MilterManagerChildren *children,
                                                             const gchar *recipient);

### milter_manager_children_data ()

    gboolean            milter_manager_children_data        (MilterManagerChildren *children);

### milter_manager_children_unknown ()

    gboolean            milter_manager_children_unknown     (MilterManagerChildren *children,
                                                             const gchar *command);

### milter_manager_children_header ()

    gboolean            milter_manager_children_header      (MilterManagerChildren *children,
                                                             const gchar *name,
                                                             const gchar *value);

### milter_manager_children_end_of_header ()

    gboolean            milter_manager_children_end_of_header
                                                            (MilterManagerChildren *children);

### milter_manager_children_body ()

    gboolean            milter_manager_children_body        (MilterManagerChildren *children,
                                                             const gchar *chunk,
                                                             gsize size);

### milter_manager_children_end_of_message ()

    gboolean            milter_manager_children_end_of_message
                                                            (MilterManagerChildren *children,
                                                             const gchar *chunk,
                                                             gsize size);

### milter_manager_children_quit ()

    gboolean            milter_manager_children_quit        (MilterManagerChildren *children);

### milter_manager_children_abort ()

    gboolean            milter_manager_children_abort       (MilterManagerChildren *children);

### milter_manager_children_set_retry_connect_time ()

    void                milter_manager_children_set_retry_connect_time
                                                            (MilterManagerChildren *children,
                                                             gdouble time);

### milter_manager_children_is_important_status ()

    gboolean            milter_manager_children_is_important_status
                                                            (MilterManagerChildren *children,
                                                             MilterServerContextState state,
                                                             MilterStatus status);

### milter_manager_children_set_status ()

    void                milter_manager_children_set_status  (MilterManagerChildren *children,
                                                             MilterServerContextState state,
                                                             MilterStatus status);

### milter_manager_children_set_launcher_channel ()

    void                milter_manager_children_set_launcher_channel
                                                            (MilterManagerChildren *children,
                                                             GIOChannel *read_channel,
                                                             GIOChannel *write_channel);