MilterManagerEgg
3
milter managerライブラリ

# MilterManagerEgg

## Functions

GQuark | milter_manager_egg_error_quark ()
MilterManagerEgg * | milter_manager_egg_new ()
MilterManagerChild * | milter_manager_egg_hatch ()
void | milter_manager_egg_set_name ()
const gchar * | milter_manager_egg_get_name ()
void | milter_manager_egg_set_description ()
const gchar * | milter_manager_egg_get_description ()
void | milter_manager_egg_set_enabled ()
gboolean | milter_manager_egg_is_enabled ()
gboolean | milter_manager_egg_set_connection_spec ()
const gchar * | milter_manager_egg_get_connection_spec ()
void | milter_manager_egg_set_connection_timeout ()
gdouble | milter_manager_egg_get_connection_timeout ()
void | milter_manager_egg_set_writing_timeout ()
gdouble | milter_manager_egg_get_writing_timeout ()
void | milter_manager_egg_set_reading_timeout ()
gdouble | milter_manager_egg_get_reading_timeout ()
void | milter_manager_egg_set_end_of_message_timeout ()
gdouble | milter_manager_egg_get_end_of_message_timeout ()
void | milter_manager_egg_set_user_name ()
const gchar * | milter_manager_egg_get_user_name ()
void | milter_manager_egg_set_command ()
const gchar * | milter_manager_egg_get_command ()
void | milter_manager_egg_set_command_options ()
const gchar * | milter_manager_egg_get_command_options ()
void | milter_manager_egg_set_fallback_status ()
MilterStatus | milter_manager_egg_get_fallback_status ()
void | milter_manager_egg_set_evaluation_mode ()
gboolean | milter_manager_egg_is_evaluation_mode ()
void | milter_manager_egg_add_applicable_condition ()
const GList * | milter_manager_egg_get_applicable_conditions ()
void | milter_manager_egg_clear_applicable_conditions ()
void | milter_manager_egg_attach_applicable_conditions ()
gboolean | milter_manager_egg_merge ()
gchar * | milter_manager_egg_to_xml ()
void | milter_manager_egg_to_xml_string ()

## プロパティ

gchar * | command | Read / Write
gchar * | command-options | Read / Write
gchar * | connection-spec | Read
gdouble | connection-timeout | Read / Write
gchar * | description | Read / Write
gboolean | enabled | Read / Write
gdouble | end-of-message-timeout | Read / Write
gboolean | evaluation-mode | Read / Write
MilterStatus | fallback-status | Read / Write
gchar * | name | Read / Write
gdouble | reading-timeout | Read / Write
gchar * | user-name | Read / Write
gdouble | writing-timeout | Read / Write

## シグナル

void | hatched | Run Last
void | to-xml | Run Last

## Types and Values

#define | MILTER_MANAGER_EGG_ERROR
enum | MilterManagerEggError
| MilterManagerEgg
struct | MilterManagerEggClass

## オブジェクト階層

        GEnum
        ╰── MilterManagerEggError
        GObject
        ╰── MilterManagerEgg

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

MilterManagerEgg implements

## 説明

## Functions

### 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_set_fallback_status ()

    void
    milter_manager_egg_set_fallback_status
                                   (MilterManagerEgg *egg,
                                    MilterStatus status);

### milter_manager_egg_get_fallback_status ()

    MilterStatus
    milter_manager_egg_get_fallback_status
                                   (MilterManagerEgg *egg);

### milter_manager_egg_set_evaluation_mode ()

    void
    milter_manager_egg_set_evaluation_mode
                                   (MilterManagerEgg *egg,
                                    gboolean evaluation_mode);

### milter_manager_egg_is_evaluation_mode ()

    gboolean
    milter_manager_egg_is_evaluation_mode (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);

## Types and Values

### MILTER_MANAGER_EGG_ERROR

    #define MILTER_MANAGER_EGG_ERROR           (milter_manager_egg_error_quark())

### enum MilterManagerEggError

#### Members

MILTER_MANAGER_EGG_ERROR_INVALID |  |

### MilterManagerEgg

    typedef struct _MilterManagerEgg MilterManagerEgg;

### struct MilterManagerEggClass

    struct MilterManagerEggClass {
        GObjectClass parent_class;

        void (*hatched) (MilterManagerEgg   *egg,
                         MilterManagerChild *child);
        void (*to_xml)  (MilterManagerEgg   *egg,
                         GString            *xml,
                         guint               indent);
    };

## プロパティ詳細

### The `“command”` property

      “command”                  gchar *

The command of the milter egg.

Flags: Read / Write

デフォルト値: NULL

### The `“command-options”` property

      “command-options”          gchar *

The command options string of the milter egg.

Flags: Read / Write

デフォルト値: NULL

### The `“connection-spec”` property

      “connection-spec”          gchar *

The connection spec of the milter egg.

Flags: Read

デフォルト値: NULL

### The `“connection-timeout”` property

      “connection-timeout”       gdouble

The connection timeout of the milter egg.

Flags: Read / Write

Allowed values: >= 0

Default value: 297

### The `“description”` property

      “description”              gchar *

The description of the milter egg.

Flags: Read / Write

デフォルト値: NULL

### The `“enabled”` property

      “enabled”                  gboolean

Whether the milter egg is enabled or not.

Flags: Read / Write

デフォルト値: TRUE

### The `“end-of-message-timeout”` property

      “end-of-message-timeout”   gdouble

The end-of-message timeout of the milter egg.

Flags: Read / Write

Allowed values: >= 0

Default value: 297

### The `“evaluation-mode”` property

      “evaluation-mode”          gboolean

Whether the milter's result is ignored or not.

Flags: Read / Write

Default value: FALSE

### The `“fallback-status”` property

      “fallback-status”          MilterStatus

Fallback status on error.

Flags: Read / Write

Default value: MILTER_STATUS_ACCEPT

### The `“name”` property

      “name”                     gchar *

The name of the milter egg.

Flags: Read / Write

デフォルト値: NULL

### The `“reading-timeout”` property

      “reading-timeout”          gdouble

The reading timeout of the milter egg.

Flags: Read / Write

Allowed values: >= 0

Default value: 7

### The `“user-name”` property

      “user-name”                gchar *

The user name of a egged milter.

Flags: Read / Write

デフォルト値: NULL

### The `“writing-timeout”` property

      “writing-timeout”          gdouble

The writing timeout of the milter egg.

Flags: Read / Write

Allowed values: >= 0

Default value: 7

## シグナル詳細

### The `“hatched”` signal

    void
    user_function (MilterManagerEgg   *miltermanageregg,
                   MilterManagerChild *arg1,
                   gpointer            user_data)

Flags: Run Last

### The `“to-xml”` signal

    void
    user_function (MilterManagerEgg *miltermanageregg,
                   gpointer          arg1,
                   guint             arg2,
                   gpointer          user_data)

Flags: Run Last