MilterManagerLeader
3
milter managerライブラリ

# MilterManagerLeader

## Functions

GQuark | milter_manager_leader_error_quark ()
MilterManagerLeader * | milter_manager_leader_new ()
MilterManagerConfiguration * | milter_manager_leader_get_configuration ()
void | milter_manager_leader_set_launcher_channel ()
gboolean | milter_manager_leader_check_connection ()
MilterStatus | milter_manager_leader_negotiate ()
MilterStatus | milter_manager_leader_connect ()
MilterStatus | milter_manager_leader_helo ()
MilterStatus | milter_manager_leader_envelope_from ()
MilterStatus | milter_manager_leader_envelope_recipient ()
MilterStatus | milter_manager_leader_data ()
MilterStatus | milter_manager_leader_unknown ()
MilterStatus | milter_manager_leader_header ()
MilterStatus | milter_manager_leader_end_of_header ()
MilterStatus | milter_manager_leader_body ()
MilterStatus | milter_manager_leader_end_of_message ()
MilterStatus | milter_manager_leader_quit ()
MilterStatus | milter_manager_leader_abort ()
void | milter_manager_leader_timeout ()
void | milter_manager_leader_define_macro ()
guint | milter_manager_leader_get_tag ()
void | milter_manager_leader_set_tag ()
MilterManagerChildren * | milter_manager_leader_get_children ()

## プロパティ

MilterManagerChildren * | children | Read
MilterClientContext * | client-context | Read / Write
MilterManagerConfiguration * | configuration | Read / Write

## シグナル

gboolean | connection-check | Run Last

## Types and Values

#define | MILTER_MANAGER_LEADER_ERROR
enum | MilterManagerLeaderError
| MilterManagerLeader
struct | MilterManagerLeaderClass
enum | MilterManagerLeaderState

## オブジェクト階層

        GEnum
        ├── MilterManagerLeaderError
        ╰── MilterManagerLeaderState
        GObject
        ╰── MilterManagerLeader

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

MilterManagerLeader implements

## 説明

## Functions

### milter_manager_leader_error_quark ()

    GQuark
    milter_manager_leader_error_quark (void);

### milter_manager_leader_new ()

    MilterManagerLeader *
    milter_manager_leader_new (MilterManagerConfiguration *configuration,
                               MilterClientContext *client_context);

### milter_manager_leader_get_configuration ()

    MilterManagerConfiguration *
    milter_manager_leader_get_configuration
                                   (MilterManagerLeader *leader);

### milter_manager_leader_set_launcher_channel ()

    void
    milter_manager_leader_set_launcher_channel
                                   (MilterManagerLeader *leader,
                                    GIOChannel *read_channel,
                                    GIOChannel *write_channel);

### milter_manager_leader_check_connection ()

    gboolean
    milter_manager_leader_check_connection
                                   (MilterManagerLeader *leader);

### milter_manager_leader_negotiate ()

    MilterStatus
    milter_manager_leader_negotiate (MilterManagerLeader *leader,
                                     MilterOption *option,
                                     MilterMacrosRequests *macros_requests);

### milter_manager_leader_connect ()

    MilterStatus
    milter_manager_leader_connect (MilterManagerLeader *leader,
                                   const gchar *host_name,
                                   struct sockaddr *address,
                                   socklen_t address_length);

### milter_manager_leader_helo ()

    MilterStatus
    milter_manager_leader_helo (MilterManagerLeader *leader,
                                const gchar *fqdn);

### milter_manager_leader_envelope_from ()

    MilterStatus
    milter_manager_leader_envelope_from (MilterManagerLeader *leader,
                                         const gchar *from);

### milter_manager_leader_envelope_recipient ()

    MilterStatus
    milter_manager_leader_envelope_recipient
                                   (MilterManagerLeader *leader,
                                    const gchar *recipient);

### milter_manager_leader_data ()

    MilterStatus
    milter_manager_leader_data (MilterManagerLeader *leader);

### milter_manager_leader_unknown ()

    MilterStatus
    milter_manager_leader_unknown (MilterManagerLeader *leader,
                                   const gchar *command);

### milter_manager_leader_header ()

    MilterStatus
    milter_manager_leader_header (MilterManagerLeader *leader,
                                  const gchar *name,
                                  const gchar *value);

### milter_manager_leader_end_of_header ()

    MilterStatus
    milter_manager_leader_end_of_header (MilterManagerLeader *leader);

### milter_manager_leader_body ()

    MilterStatus
    milter_manager_leader_body (MilterManagerLeader *leader,
                                const gchar *chunk,
                                gsize size);

### milter_manager_leader_end_of_message ()

    MilterStatus
    milter_manager_leader_end_of_message (MilterManagerLeader *leader,
                                          const gchar *chunk,
                                          gsize size);

### milter_manager_leader_quit ()

    MilterStatus
    milter_manager_leader_quit (MilterManagerLeader *leader);

### milter_manager_leader_abort ()

    MilterStatus
    milter_manager_leader_abort (MilterManagerLeader *leader);

### milter_manager_leader_timeout ()

    void
    milter_manager_leader_timeout (MilterManagerLeader *leader);

### milter_manager_leader_define_macro ()

    void
    milter_manager_leader_define_macro (MilterManagerLeader *leader,
                                        MilterCommand command,
                                        GHashTable *macros);

### milter_manager_leader_get_tag ()

    guint
    milter_manager_leader_get_tag (MilterManagerLeader *leader);

### milter_manager_leader_set_tag ()

    void
    milter_manager_leader_set_tag (MilterManagerLeader *leader,
                                   guint tag);

### milter_manager_leader_get_children ()

    MilterManagerChildren *
    milter_manager_leader_get_children (MilterManagerLeader *leader);

## Types and Values

### MILTER_MANAGER_LEADER_ERROR

    #define MILTER_MANAGER_LEADER_ERROR           (milter_manager_leader_error_quark())

### enum MilterManagerLeaderError

#### Members

MILTER_MANAGER_LEADER_ERROR_INVALID_STATE |  |

### MilterManagerLeader

    typedef struct _MilterManagerLeader MilterManagerLeader;

### struct MilterManagerLeaderClass

    struct MilterManagerLeaderClass {
        GObjectClass parent_class;

        gboolean (*connection_check) (MilterManagerLeader *leader);
    };

### enum MilterManagerLeaderState

#### Members

MILTER_MANAGER_LEADER_STATE_INVALID |  |
MILTER_MANAGER_LEADER_STATE_START |  |
MILTER_MANAGER_LEADER_STATE_NEGOTIATE |  |
MILTER_MANAGER_LEADER_STATE_NEGOTIATE_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_CONNECT |  |
MILTER_MANAGER_LEADER_STATE_CONNECT_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_HELO |  |
MILTER_MANAGER_LEADER_STATE_HELO_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_ENVELOPE_FROM |  |
MILTER_MANAGER_LEADER_STATE_ENVELOPE_FROM_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_ENVELOPE_RECIPIENT |  |
MILTER_MANAGER_LEADER_STATE_ENVELOPE_RECIPIENT_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_DATA |  |
MILTER_MANAGER_LEADER_STATE_DATA_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_UNKNOWN |  |
MILTER_MANAGER_LEADER_STATE_UNKNOWN_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_HEADER |  |
MILTER_MANAGER_LEADER_STATE_HEADER_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_END_OF_HEADER |  |
MILTER_MANAGER_LEADER_STATE_END_OF_HEADER_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_BODY |  |
MILTER_MANAGER_LEADER_STATE_BODY_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_END_OF_MESSAGE |  |
MILTER_MANAGER_LEADER_STATE_END_OF_MESSAGE_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_QUIT |  |
MILTER_MANAGER_LEADER_STATE_QUIT_REPLIED |  |
MILTER_MANAGER_LEADER_STATE_ABORT |  |
MILTER_MANAGER_LEADER_STATE_ABORT_REPLIED |  |

## プロパティ詳細

### The `“children”` property

      “children”                 MilterManagerChildren *

The object manages child milters.

Flags: Read

### The `“client-context”` property

      “client-context”           MilterClientContext *

The client context of the milter leader.

Flags: Read / Write

### The `“configuration”` property

      “configuration”            MilterManagerConfiguration *

The configuration of the milter leader.

Flags: Read / Write

## シグナル詳細

### The `“connection-check”` signal

    gboolean
    user_function (MilterManagerLeader *miltermanagerleader,
                   gpointer             user_data)

Flags: Run Last