MilterManagerChildren 3 milter managerライブラリ
MilterManagerChildren

## Functions

GQuark | milter_manager_children_error_quark ()
MilterManagerChildren * | milter_manager_children_new ()
void | milter_manager_children_add_child ()
guint | milter_manager_children_length ()
GList * | milter_manager_children_get_children ()
void | (*MilterManagerChildFunc) ()
void | milter_manager_children_foreach ()
gboolean | milter_manager_children_negotiate ()
gboolean | milter_manager_children_define_macro ()
gboolean | milter_manager_children_connect ()
gboolean | milter_manager_children_helo ()
gboolean | milter_manager_children_envelope_from ()
gboolean | milter_manager_children_envelope_recipient ()
gboolean | milter_manager_children_data ()
gboolean | milter_manager_children_unknown ()
gboolean | milter_manager_children_header ()
gboolean | milter_manager_children_end_of_header ()
gboolean | milter_manager_children_body ()
gboolean | milter_manager_children_end_of_message ()
gboolean | milter_manager_children_quit ()
gboolean | milter_manager_children_abort ()
void | milter_manager_children_set_retry_connect_time ()
gboolean | milter_manager_children_is_important_status ()
void | milter_manager_children_set_status ()
MilterServerContextState | milter_manager_children_get_processing_state ()
void | milter_manager_children_set_launcher_channel ()
guint | milter_manager_children_get_tag ()
void | milter_manager_children_set_tag ()
gboolean | milter_manager_children_get_smtp_client_address ()
MilterOption * | milter_manager_children_get_option ()
gboolean | milter_manager_children_is_waiting_reply ()

## プロパティ

MilterManagerConfiguration * | configuration | Read / Write / Construct Only
MilterEventLoop * | event-loop | Read / Write / Construct Only
guint | tag | Read

## Types and Values

#define | MILTER_MANAGER_CHILDREN_ERROR
enum | MilterManagerChildrenError
| MilterManagerChildren
struct | MilterManagerChildrenClass

## オブジェクト階層

    GObject
        ╰── MilterManagerChildren

## 実装されたインターフェイス

MilterManagerChildren implements

## 説明

## Functions

### milter_manager_children_error_quark ()

    GQuark
    milter_manager_children_error_quark (void);

milter_manager_children_error_quark

### milter_manager_children_new ()

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

milter_manager_children_new

### milter_manager_children_add_child ()

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

milter_manager_children_add_child

### milter_manager_children_length ()

    guint
    milter_manager_children_length (MilterManagerChildren *children);

milter_manager_children_length

### milter_manager_children_get_children ()

    GList *
    milter_manager_children_get_children (MilterManagerChildren *children);

#### Parameters

children | A MilterManagerChildren. |

#### Returns

A list of MilterManagerChild.

[transfer none][element-type MilterManagerChild]

milter_manager_children_get_children

### MilterManagerChildFunc ()

    void
    (*MilterManagerChildFunc) (MilterManagerChild *child,
                               gpointer user_data);

It is called with each MilterManagerChild in MilterManagerChildren, together with the user_data parameter which is passed to `milter_manager_children_foreach()`.

#### Parameters

child | A MilterManagerChild. |
user_data | User data passed to `milter_manager_children_foreach()`. |

MilterManagerChildFunc

### milter_manager_children_foreach ()

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

A wrapper for `g_list_foreach()`.

#### Parameters

children | A MilterManagerChildren. |
func | The function to call for each MilterManagerChild in children . | [scope call]
user_data | User data to pass to the function. |

milter_manager_children_foreach

### milter_manager_children_negotiate ()

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

milter_manager_children_negotiate

### milter_manager_children_define_macro ()

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

milter_manager_children_define_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_connect

### milter_manager_children_helo ()

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

milter_manager_children_helo

### milter_manager_children_envelope_from ()

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

milter_manager_children_envelope_from

### milter_manager_children_envelope_recipient ()

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

milter_manager_children_envelope_recipient

### milter_manager_children_data ()

    gboolean
    milter_manager_children_data (MilterManagerChildren *children);

milter_manager_children_data

### milter_manager_children_unknown ()

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

milter_manager_children_unknown

### milter_manager_children_header ()

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

milter_manager_children_header

### milter_manager_children_end_of_header ()

    gboolean
    milter_manager_children_end_of_header (MilterManagerChildren *children);

milter_manager_children_end_of_header

### milter_manager_children_body ()

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

milter_manager_children_body

### milter_manager_children_end_of_message ()

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

milter_manager_children_end_of_message

### milter_manager_children_quit ()

    gboolean
    milter_manager_children_quit (MilterManagerChildren *children);

milter_manager_children_quit

### milter_manager_children_abort ()

    gboolean
    milter_manager_children_abort (MilterManagerChildren *children);

milter_manager_children_abort

### milter_manager_children_set_retry_connect_time ()

    void
    milter_manager_children_set_retry_connect_time
                                   (MilterManagerChildren *children,
                                    gdouble time);

milter_manager_children_set_retry_connect_time

### milter_manager_children_is_important_status ()

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

milter_manager_children_is_important_status

### milter_manager_children_set_status ()

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

milter_manager_children_set_status

### milter_manager_children_get_processing_state ()

    MilterServerContextState
    milter_manager_children_get_processing_state
                                   (MilterManagerChildren *children);

milter_manager_children_get_processing_state

### milter_manager_children_set_launcher_channel ()

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

milter_manager_children_set_launcher_channel

### milter_manager_children_get_tag ()

    guint
    milter_manager_children_get_tag (MilterManagerChildren *children);

milter_manager_children_get_tag

### milter_manager_children_set_tag ()

    void
    milter_manager_children_set_tag (MilterManagerChildren *children,
                                     guint tag);

milter_manager_children_set_tag

### milter_manager_children_get_smtp_client_address ()

    gboolean
    milter_manager_children_get_smtp_client_address
                                   (MilterManagerChildren *children,
                                    struct sockaddr **address,
                                    socklen_t *address_length);

milter_manager_children_get_smtp_client_address

### milter_manager_children_get_option ()

    MilterOption *
    milter_manager_children_get_option (MilterManagerChildren *children);

#### Parameters

children | A MilterManagerChildren. |

#### Returns

The MilterOption of children .

[transfer none]

milter_manager_children_get_option

### milter_manager_children_is_waiting_reply ()

    gboolean
    milter_manager_children_is_waiting_reply
                                   (MilterManagerChildren *children);

milter_manager_children_is_waiting_reply

## Types and Values

### MILTER_MANAGER_CHILDREN_ERROR

    #define MILTER_MANAGER_CHILDREN_ERROR           (milter_manager_children_error_quark())

MILTER_MANAGER_CHILDREN_ERROR

### enum MilterManagerChildrenError

#### Members

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 _MilterManagerChildren MilterManagerChildren;

MilterManagerChildren

### struct MilterManagerChildrenClass

    struct MilterManagerChildrenClass {
        GObjectClass parent_class;
    };

MilterManagerChildrenClass

## プロパティ詳細

### The `“configuration”` property

    “configuration”            MilterManagerConfiguration *

The configuration of the milter controller.

Owner: MilterManagerChildren

Flags: Read / Write / Construct Only

MilterManagerChildren:configuration

### The `“event-loop”` property

    “event-loop”               MilterEventLoop *

The event loop of the milter controller.

Owner: MilterManagerChildren

Flags: Read / Write / Construct Only

MilterManagerChildren:event-loop

### The `“tag”` property

    “tag”                      guint

The tag of the agent.

Owner: MilterManagerChildren

Flags: Read

デフォルト値: 0

MilterManagerChildren:tag