MilterProtocolAgent
3
milter managerライブラリ

# MilterProtocolAgent

## Functions

void | milter_protocol_agent_set_macro_context ()
void | milter_protocol_agent_set_macros ()
void | milter_protocol_agent_set_macros_hash_table ()
void | milter_protocol_agent_set_macro ()
GHashTable * | milter_protocol_agent_get_macros ()
GHashTable * | milter_protocol_agent_get_available_macros ()
const gchar * | milter_protocol_agent_get_macro ()
void | milter_protocol_agent_clear_macros ()
void | milter_protocol_agent_clear_message_related_macros ()
void | milter_protocol_agent_set_macros_requests ()
MilterMacrosRequests * | milter_protocol_agent_get_macros_requests ()

## プロパティ

MilterCommand | macro-context | Read / Write

## オブジェクト階層

        GObject
        ╰── MilterAgent
            ╰── MilterProtocolAgent
                ├── MilterClientContext
                ╰── MilterServerContext

## 説明

## Functions

### 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_clear_message_related_macros ()

    void
    milter_protocol_agent_clear_message_related_macros
                                   (MilterProtocolAgent *agent);

### 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);

## Types and Values

## プロパティ詳細

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

      “macro-context”            MilterCommand

The current macro context.

Flags: Read / Write

Default value: MILTER_COMMAND_UNKNOWN