MilterMacrosRequests 3 milter managerライブラリ
MilterMacrosRequests

## Functions

void | (*MilterMacrosRequestFunc) ()
MilterMacrosRequests * | milter_macros_requests_new ()
void | milter_macros_requests_set_symbols ()
void | milter_macros_requests_set_symbols_va_list ()
void | milter_macros_requests_set_symbols_string_array ()
GList * | milter_macros_requests_get_symbols ()
void | milter_macros_requests_merge ()
void | milter_macros_requests_foreach ()

## プロパティ

gpointer | symbols-table | Read / Write

## オブジェクト階層

    GObject
        ╰── MilterMacrosRequests

## 説明

## Functions

### MilterMacrosRequestFunc ()

    void
    (*MilterMacrosRequestFunc) (MilterCommand command,
                                GList *symbols,
                                gpointer user_data);

It is called with each requested macro command and its symbols pair, together with the user_data parameter which is passed to `milter_macros_requests_foreach()` and so on.

#### Parameters

command | A target command. |
symbols | A requested symbols for command . | [element-type utf8]
user_data | User data passed to `milter_macros_requests_foreach()`. |

MilterMacrosRequestFunc

### milter_macros_requests_new ()

    MilterMacrosRequests *
    milter_macros_requests_new (void);

milter_macros_requests_new

### milter_macros_requests_set_symbols ()

    void
    milter_macros_requests_set_symbols (MilterMacrosRequests *requests,
                                        MilterCommand command,
                                        const gchar *first_symbol,
                                        ...);

milter_macros_requests_set_symbols

### milter_macros_requests_set_symbols_va_list ()

    void
    milter_macros_requests_set_symbols_va_list
                                   (MilterMacrosRequests *requests,
                                    MilterCommand command,
                                    const gchar *first_symbol,
                                    va_list args);

milter_macros_requests_set_symbols_va_list

### milter_macros_requests_set_symbols_string_array ()

    void
    milter_macros_requests_set_symbols_string_array
                                   (MilterMacrosRequests *requests,
                                    MilterCommand command,
                                    const gchar **strings);

milter_macros_requests_set_symbols_string_array

### milter_macros_requests_get_symbols ()

    GList *
    milter_macros_requests_get_symbols (MilterMacrosRequests *requests,
                                        MilterCommand command);

#### Parameters

requests | A MilterMacrosRequests. |
command | A MilterCommand. |

#### Returns

The symbols of the requests.

[transfer none][element-type utf8]

milter_macros_requests_get_symbols

### milter_macros_requests_merge ()

    void
    milter_macros_requests_merge (MilterMacrosRequests *dest,
                                  MilterMacrosRequests *src);

milter_macros_requests_merge

### milter_macros_requests_foreach ()

    void
    milter_macros_requests_foreach (MilterMacrosRequests *requests,
                                    MilterMacrosRequestFunc func,
                                    gpointer user_data);

Calls the given function fore each of the requested macro name/value pairs in the requests .

#### Parameters

requests | A MilterMacrosRequests. |
func | The function to call for each requested macro name/value pair. | [scope call]
user_data | User data to pass to the function. |

milter_macros_requests_foreach

## プロパティ詳細

### The `“symbols-table”` property

    “symbols-table”            gpointer

The GHashTable stored macro requests symbols in.

Owner: MilterMacrosRequests

Flags: Read / Write

MilterMacrosRequests:symbols-table