MilterManagerEgg
3
milter managerライブラリ

# MilterManagerEgg

## 概要

    #define             MILTER_MANAGER_EGG_ERROR
    #define             MILTER_MANAGER_EGG                  (obj)
    enum                MilterManagerEggError;
                        MilterManagerEgg;
    GQuark              milter_manager_egg_error_quark      (void);
    MilterManagerEgg *  milter_manager_egg_new              (const gchar *name);
    MilterManagerChild * milter_manager_egg_hatch           (MilterManagerEgg *egg);
    void                milter_manager_egg_set_name         (MilterManagerEgg *egg,
                                                             const gchar *name);
    const gchar *       milter_manager_egg_get_name         (MilterManagerEgg *egg);
    void                milter_manager_egg_set_description  (MilterManagerEgg *egg,
                                                             const gchar *description);
    const gchar *       milter_manager_egg_get_description  (MilterManagerEgg *egg);
    void                milter_manager_egg_set_enabled      (MilterManagerEgg *egg,
                                                             gboolean enabled);
    gboolean            milter_manager_egg_is_enabled       (MilterManagerEgg *egg);
    gboolean            milter_manager_egg_set_connection_spec
                                                            (MilterManagerEgg *egg,
                                                             const gchar *connection_spec,
                                                             GError **error);
    const gchar *       milter_manager_egg_get_connection_spec
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_set_connection_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble connection_timeout);
    gdouble             milter_manager_egg_get_connection_timeout
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_set_writing_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble writing_timeout);
    gdouble             milter_manager_egg_get_writing_timeout
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_set_reading_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble reading_timeout);
    gdouble             milter_manager_egg_get_reading_timeout
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_set_end_of_message_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble end_of_message_timeout);
    gdouble             milter_manager_egg_get_end_of_message_timeout
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_set_user_name    (MilterManagerEgg *egg,
                                                             const gchar *user_name);
    const gchar *       milter_manager_egg_get_user_name    (MilterManagerEgg *egg);
    void                milter_manager_egg_set_command      (MilterManagerEgg *egg,
                                                             const gchar *command);
    const gchar *       milter_manager_egg_get_command      (MilterManagerEgg *egg);
    void                milter_manager_egg_set_command_options
                                                            (MilterManagerEgg *egg,
                                                             const gchar *command_options);
    const gchar *       milter_manager_egg_get_command_options
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_add_applicable_condition
                                                            (MilterManagerEgg *egg,
                                                             MilterManagerApplicableCondition *condition);
    const GList *       milter_manager_egg_get_applicable_conditions
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_clear_applicable_conditions
                                                            (MilterManagerEgg *egg);
    void                milter_manager_egg_attach_applicable_conditions
                                                            (MilterManagerEgg *egg,
                                                             MilterManagerChild *child,
                                                             MilterManagerChildren *children,
                                                             MilterClientContext *context);
    gboolean            milter_manager_egg_merge            (MilterManagerEgg *egg,
                                                             MilterManagerEgg *other_egg,
                                                             GError **error);
    gchar *             milter_manager_egg_to_xml           (MilterManagerEgg *egg);
    void                milter_manager_egg_to_xml_string    (MilterManagerEgg *egg,
                                                             GString *string,
                                                             guint indent);

## 説明

## 詳細

### MILTER_MANAGER_EGG_ERROR

    #define MILTER_MANAGER_EGG_ERROR           (milter_manager_egg_error_quark())

### MILTER_MANAGER_EGG()

    #define MILTER_MANAGER_EGG(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), MILTER_TYPE_MANAGER_EGG, MilterManagerEgg))

### enum MilterManagerEggError

    typedef enum {
        MILTER_MANAGER_EGG_ERROR_INVALID
    } MilterManagerEggError;

### MilterManagerEgg

    typedef struct {
        GObject object;
    } MilterManagerEgg;

### milter_manager_egg_error_quark ()

    GQuark              milter_manager_egg_error_quark      (void);

### milter_manager_egg_new ()

    MilterManagerEgg *  milter_manager_egg_new              (const gchar *name);

### milter_manager_egg_hatch ()

    MilterManagerChild * milter_manager_egg_hatch           (MilterManagerEgg *egg);

### milter_manager_egg_set_name ()

    void                milter_manager_egg_set_name         (MilterManagerEgg *egg,
                                                             const gchar *name);

### milter_manager_egg_get_name ()

    const gchar *       milter_manager_egg_get_name         (MilterManagerEgg *egg);

### milter_manager_egg_set_description ()

    void                milter_manager_egg_set_description  (MilterManagerEgg *egg,
                                                             const gchar *description);

### milter_manager_egg_get_description ()

    const gchar *       milter_manager_egg_get_description  (MilterManagerEgg *egg);

### milter_manager_egg_set_enabled ()

    void                milter_manager_egg_set_enabled      (MilterManagerEgg *egg,
                                                             gboolean enabled);

### milter_manager_egg_is_enabled ()

    gboolean            milter_manager_egg_is_enabled       (MilterManagerEgg *egg);

### milter_manager_egg_set_connection_spec ()

    gboolean            milter_manager_egg_set_connection_spec
                                                            (MilterManagerEgg *egg,
                                                             const gchar *connection_spec,
                                                             GError **error);

### milter_manager_egg_get_connection_spec ()

    const gchar *       milter_manager_egg_get_connection_spec
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_set_connection_timeout ()

    void                milter_manager_egg_set_connection_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble connection_timeout);

### milter_manager_egg_get_connection_timeout ()

    gdouble             milter_manager_egg_get_connection_timeout
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_set_writing_timeout ()

    void                milter_manager_egg_set_writing_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble writing_timeout);

### milter_manager_egg_get_writing_timeout ()

    gdouble             milter_manager_egg_get_writing_timeout
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_set_reading_timeout ()

    void                milter_manager_egg_set_reading_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble reading_timeout);

### milter_manager_egg_get_reading_timeout ()

    gdouble             milter_manager_egg_get_reading_timeout
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_set_end_of_message_timeout ()

    void                milter_manager_egg_set_end_of_message_timeout
                                                            (MilterManagerEgg *egg,
                                                             gdouble end_of_message_timeout);

### milter_manager_egg_get_end_of_message_timeout ()

    gdouble             milter_manager_egg_get_end_of_message_timeout
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_set_user_name ()

    void                milter_manager_egg_set_user_name    (MilterManagerEgg *egg,
                                                             const gchar *user_name);

### milter_manager_egg_get_user_name ()

    const gchar *       milter_manager_egg_get_user_name    (MilterManagerEgg *egg);

### milter_manager_egg_set_command ()

    void                milter_manager_egg_set_command      (MilterManagerEgg *egg,
                                                             const gchar *command);

### milter_manager_egg_get_command ()

    const gchar *       milter_manager_egg_get_command      (MilterManagerEgg *egg);

### milter_manager_egg_set_command_options ()

    void                milter_manager_egg_set_command_options
                                                            (MilterManagerEgg *egg,
                                                             const gchar *command_options);

### milter_manager_egg_get_command_options ()

    const gchar *       milter_manager_egg_get_command_options
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_add_applicable_condition ()

    void                milter_manager_egg_add_applicable_condition
                                                            (MilterManagerEgg *egg,
                                                             MilterManagerApplicableCondition *condition);

### milter_manager_egg_get_applicable_conditions ()

    const GList *       milter_manager_egg_get_applicable_conditions
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_clear_applicable_conditions ()

    void                milter_manager_egg_clear_applicable_conditions
                                                            (MilterManagerEgg *egg);

### milter_manager_egg_attach_applicable_conditions ()

    void                milter_manager_egg_attach_applicable_conditions
                                                            (MilterManagerEgg *egg,
                                                             MilterManagerChild *child,
                                                             MilterManagerChildren *children,
                                                             MilterClientContext *context);

### milter_manager_egg_merge ()

    gboolean            milter_manager_egg_merge            (MilterManagerEgg *egg,
                                                             MilterManagerEgg *other_egg,
                                                             GError **error);

### milter_manager_egg_to_xml ()

    gchar *             milter_manager_egg_to_xml           (MilterManagerEgg *egg);

### milter_manager_egg_to_xml_string ()

    void                milter_manager_egg_to_xml_string    (MilterManagerEgg *egg,
                                                             GString *string,
                                                             guint indent);