MilterAgent 3 milter managerライブラリ
MilterAgent

## Functions

#define | MILTER_AGENT_ERROR
GQuark | milter_agent_error_quark ()
MilterEncoder * | milter_agent_get_encoder ()
MilterDecoder * | milter_agent_get_decoder ()
void | milter_agent_set_writer ()
void | milter_agent_set_reader ()
gboolean | milter_agent_write_packet ()
gboolean | milter_agent_flush ()
gboolean | milter_agent_start ()
void | milter_agent_shutdown ()

## Types and Values

enum | MilterAgentError
struct | MilterAgent

## オブジェクト階層

        GObject
        ╰── MilterAgent
            ╰── MilterProtocolAgent

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

MilterAgentはMilterErrorEmittableとMilterFinishedEmittableを実装しています。

## 説明

## Functions

### MILTER_AGENT_ERROR

    #define MILTER_AGENT_ERROR           (milter_agent_error_quark())

MILTER_AGENT_ERROR

### milter_agent_error_quark ()

    GQuark
    milter_agent_error_quark (void);

#### Returns

milter_agent_error_quark

### milter_agent_get_encoder ()

    MilterEncoder *
    milter_agent_get_encoder (MilterAgent *agent);

#### Returns

milter_agent_get_encoder

### milter_agent_get_decoder ()

    MilterDecoder *
    milter_agent_get_decoder (MilterAgent *agent);

#### Returns

milter_agent_get_decoder

### milter_agent_set_writer ()

    void
    milter_agent_set_writer (MilterAgent *agent,
                             MilterWriter *writer);

milter_agent_set_writer

### milter_agent_set_reader ()

    void
    milter_agent_set_reader (MilterAgent *agent,
                             MilterReader *reader);

milter_agent_set_reader

### milter_agent_write_packet ()

    gboolean
    milter_agent_write_packet (MilterAgent *agent,
                               const char *packet,
                               gsize packet_size,
                               GError **error);

#### Returns

milter_agent_write_packet

### milter_agent_flush ()

    gboolean
    milter_agent_flush (MilterAgent *agent,
                        GError **error);

#### Returns

milter_agent_flush

### milter_agent_start ()

    gboolean
    milter_agent_start (MilterAgent *agent,
                        GError **error);

#### Returns

milter_agent_start

### milter_agent_shutdown ()

    void
    milter_agent_shutdown (MilterAgent *agent);

milter_agent_shutdown

## Types and Values

### enum MilterAgentError

#### Members

MILTER_AGENT_ERROR_IO_ERROR |  |
MILTER_AGENT_ERROR_DECODE_ERROR |  |
MILTER_AGENT_ERROR_NO_EVENT_LOOP_ERROR |  |

MilterAgentError

### struct MilterAgent

    struct MilterAgent;

MilterAgent