MilterWriter
3
milter managerライブラリ

# MilterWriter

## 概要

    #define             MILTER_WRITER_ERROR
    enum                MilterWriterError;
    struct              MilterWriter;
    GQuark              milter_writer_error_quark           (void);
    MilterWriter *      milter_writer_io_channel_new        (GIOChannel *channel);
    gboolean            milter_writer_write                 (MilterWriter *writer,
                                                             const gchar *chunk,
                                                             gsize chunk_size,
                                                             GError **error);
    gboolean            milter_writer_flush                 (MilterWriter *writer,
                                                             GError **error);
    void                milter_writer_start                 (MilterWriter *writer,
                                                             MilterEventLoop *loop);
    gboolean            milter_writer_is_watching           (MilterWriter *writer);
    void                milter_writer_shutdown              (MilterWriter *writer);

## 説明

## 詳細

### MILTER_WRITER_ERROR

    #define MILTER_WRITER_ERROR           (milter_writer_error_quark())

### enum MilterWriterError

    typedef enum {
        MILTER_WRITER_ERROR_NO_CHANNEL,
        MILTER_WRITER_ERROR_IO_ERROR,
        MILTER_WRITER_ERROR_NOT_READY
    } MilterWriterError;

### struct MilterWriter

    struct MilterWriter {
        GObject object;
    };

### milter_writer_error_quark ()

    GQuark              milter_writer_error_quark           (void);

### milter_writer_io_channel_new ()

    MilterWriter *      milter_writer_io_channel_new        (GIOChannel *channel);

### milter_writer_write ()

    gboolean            milter_writer_write                 (MilterWriter *writer,
                                                             const gchar *chunk,
                                                             gsize chunk_size,
                                                             GError **error);

### milter_writer_flush ()

    gboolean            milter_writer_flush                 (MilterWriter *writer,
                                                             GError **error);

### milter_writer_start ()

    void                milter_writer_start                 (MilterWriter *writer,
                                                             MilterEventLoop *loop);

### milter_writer_is_watching ()

    gboolean            milter_writer_is_watching           (MilterWriter *writer);

### milter_writer_shutdown ()

    void                milter_writer_shutdown              (MilterWriter *writer);