MilterProtocolAgent
3
milter managerライブラリ

# MilterProtocolAgent

## 概要

    struct              MilterProtocolAgent;
    void                milter_protocol_agent_set_macro_context
                                                            (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context);
    void                milter_protocol_agent_set_macros    (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             const gchar *macro_name,
                                                             ...);
    void                milter_protocol_agent_set_macros_hash_table
                                                            (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             GHashTable *macros);
    void                milter_protocol_agent_set_macro     (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             const gchar *macro_name,
                                                             const gchar *macro_value);
    GHashTable *        milter_protocol_agent_get_macros    (MilterProtocolAgent *agent);
    GHashTable *        milter_protocol_agent_get_available_macros
                                                            (MilterProtocolAgent *agent);
    const gchar *       milter_protocol_agent_get_macro     (MilterProtocolAgent *agent,
                                                             const gchar *name);
    void                milter_protocol_agent_clear_macros  (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context);
    void                milter_protocol_agent_set_macros_requests
                                                            (MilterProtocolAgent *agent,
                                                             MilterMacrosRequests *requests);
    MilterMacrosRequests * milter_protocol_agent_get_macros_requests
                                                            (MilterProtocolAgent *agent);

## オブジェクト階層

      GObject
       +----MilterAgent
             +----MilterProtocolAgent
                   +----MilterClientContext
                   +----MilterServerContext

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

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

## 説明

## 詳細

### struct MilterProtocolAgent

    struct MilterProtocolAgent;

### milter_protocol_agent_set_macro_context ()

    void                milter_protocol_agent_set_macro_context
                                                            (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context);

### milter_protocol_agent_set_macros ()

    void                milter_protocol_agent_set_macros    (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             const gchar *macro_name,
                                                             ...);

### milter_protocol_agent_set_macros_hash_table ()

    void                milter_protocol_agent_set_macros_hash_table
                                                            (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             GHashTable *macros);

### milter_protocol_agent_set_macro ()

    void                milter_protocol_agent_set_macro     (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context,
                                                             const gchar *macro_name,
                                                             const gchar *macro_value);

### milter_protocol_agent_get_macros ()

    GHashTable *        milter_protocol_agent_get_macros    (MilterProtocolAgent *agent);

### milter_protocol_agent_get_available_macros ()

    GHashTable *        milter_protocol_agent_get_available_macros
                                                            (MilterProtocolAgent *agent);

### milter_protocol_agent_get_macro ()

    const gchar *       milter_protocol_agent_get_macro     (MilterProtocolAgent *agent,
                                                             const gchar *name);

### milter_protocol_agent_clear_macros ()

    void                milter_protocol_agent_clear_macros  (MilterProtocolAgent *agent,
                                                             MilterCommand macro_context);

### milter_protocol_agent_set_macros_requests ()

    void                milter_protocol_agent_set_macros_requests
                                                            (MilterProtocolAgent *agent,
                                                             MilterMacrosRequests *requests);

### milter_protocol_agent_get_macros_requests ()

    MilterMacrosRequests * milter_protocol_agent_get_macros_requests
                                                            (MilterProtocolAgent *agent);