MilterHeaders
3
milter managerライブラリ

# MilterHeaders

## 概要

    MilterHeader *      milter_header_new                   (const gchar *name,
                                                             const gchar *value);
    void                milter_header_free                  (MilterHeader *header);
    gboolean            milter_header_equal                 (gconstpointer header1,
                                                             gconstpointer header2);
    gint                milter_header_compare               (MilterHeader *header_a,
                                                             MilterHeader *header_b);
    void                milter_header_inspect               (GString *string,
                                                             gconstpointer header,
                                                             gpointer user_data);
    struct              MilterHeaders;
    MilterHeaders *     milter_headers_new                  (void);
    MilterHeaders *     milter_headers_copy                 (MilterHeaders *headers);
    const GList *       milter_headers_get_list             (MilterHeaders *headers);
    gboolean            milter_headers_add_header           (MilterHeaders *headers,
                                                             const gchar *name,
                                                             const gchar *value);
    gboolean            milter_headers_insert_header        (MilterHeaders *headers,
                                                             guint position,
                                                             const gchar *name,
                                                             const gchar *value);
    gboolean            milter_headers_change_header        (MilterHeaders *headers,
                                                             const gchar *name,
                                                             guint index,
                                                             const gchar *value);
    gboolean            milter_headers_delete_header        (MilterHeaders *headers,
                                                             const gchar *name,
                                                             guint index);
    guint               milter_headers_length               (MilterHeaders *headers);
    MilterHeader *      milter_headers_get_nth_header       (MilterHeaders *headers,
                                                             guint index);
    MilterHeader *      milter_headers_find                 (MilterHeaders *headers,
                                                             MilterHeader *header);
    MilterHeader *      milter_headers_lookup_by_name       (MilterHeaders *headers,
                                                             const gchar *name);
    gboolean            milter_headers_remove               (MilterHeaders *headers,
                                                             MilterHeader *header);
    gint                milter_headers_index_in_same_header_name
                                                            (MilterHeaders *headers,
                                                             MilterHeader *header);

## 説明

## 詳細

### milter_header_new ()

    MilterHeader *      milter_header_new                   (const gchar *name,
                                                             const gchar *value);

### milter_header_free ()

    void                milter_header_free                  (MilterHeader *header);

### milter_header_equal ()

    gboolean            milter_header_equal                 (gconstpointer header1,
                                                             gconstpointer header2);

### milter_header_compare ()

    gint                milter_header_compare               (MilterHeader *header_a,
                                                             MilterHeader *header_b);

### milter_header_inspect ()

    void                milter_header_inspect               (GString *string,
                                                             gconstpointer header,
                                                             gpointer user_data);

### struct MilterHeaders

    struct MilterHeaders {
        GObject object;
    };

### milter_headers_new ()

    MilterHeaders *     milter_headers_new                  (void);

### milter_headers_copy ()

    MilterHeaders *     milter_headers_copy                 (MilterHeaders *headers);

### milter_headers_get_list ()

    const GList *       milter_headers_get_list             (MilterHeaders *headers);

### milter_headers_add_header ()

    gboolean            milter_headers_add_header           (MilterHeaders *headers,
                                                             const gchar *name,
                                                             const gchar *value);

### milter_headers_insert_header ()

    gboolean            milter_headers_insert_header        (MilterHeaders *headers,
                                                             guint position,
                                                             const gchar *name,
                                                             const gchar *value);

### milter_headers_change_header ()

    gboolean            milter_headers_change_header        (MilterHeaders *headers,
                                                             const gchar *name,
                                                             guint index,
                                                             const gchar *value);

### milter_headers_delete_header ()

    gboolean            milter_headers_delete_header        (MilterHeaders *headers,
                                                             const gchar *name,
                                                             guint index);

### milter_headers_length ()

    guint               milter_headers_length               (MilterHeaders *headers);

### milter_headers_get_nth_header ()

    MilterHeader *      milter_headers_get_nth_header       (MilterHeaders *headers,
                                                             guint index);

### milter_headers_find ()

    MilterHeader *      milter_headers_find                 (MilterHeaders *headers,
                                                             MilterHeader *header);

### milter_headers_lookup_by_name ()

    MilterHeader *      milter_headers_lookup_by_name       (MilterHeaders *headers,
                                                             const gchar *name);

### milter_headers_remove ()

    gboolean            milter_headers_remove               (MilterHeaders *headers,
                                                             MilterHeader *header);

### milter_headers_index_in_same_header_name ()

    gint                milter_headers_index_in_same_header_name
                                                            (MilterHeaders *headers,
                                                             MilterHeader *header);