enum tapi_cfg_key_mode

Overview

Key replacement modes. More…

#include <tapi_cfg_key.h>

enum tapi_cfg_key_mode {
    TAPI_CFG_KEY_MODE_NEW,
    TAPI_CFG_KEY_MODE_REUSE,
    TAPI_CFG_KEY_MODE_REPLACE,
};

Detailed Documentation

Key replacement modes.

If a key does not exist, it is always created.

Enum Values

TAPI_CFG_KEY_MODE_NEW

Add a new key, fail if a key exists

TAPI_CFG_KEY_MODE_REUSE

Reuse an exisiting key if parameters are the same

TAPI_CFG_KEY_MODE_REPLACE

Replace an existing key if necessary