ec_config_option_slot_from_capability

March 26, 2020 Contributors

Name

ec_config_option_slot_from_capability — Determine an option identifier from a capability

Synopsis

#include "ec_config.h"

| int **ec_config_option_slot_from_capability** ( | capability); |   |

char * <var class="pdparam">capability</var>;

Description

A capability is a fully qualified option name such as: config.Global:dkim_sign.all_headers.

Parameters

capability

The fully qualified option name.

Return Values

On success this function returns an option slot. On failure it returns -1.

Threading

It is legal to call this function in any thread.

See Also

ec_config_register_option