registry

registry

C library

registry

Library summary

Store and back up key-value pairs.

Description

This module provides support for storing key-value pairs in a table known as a registry, backing up registries to Mnesia in an atomic manner, and later restoring the contents of a registry from Mnesia.

Exports

int ei_reg_close(reg)

Types:

ei_reg *reg;

A registry that has previously been created with ei_reg_open() is closed, and all the objects it contains are freed.

reg is the registry to close.

Returns 0.

int ei_reg_delete(reg,key)

Types:

ei_reg *reg;
const char *key;

Deletes an object from the registry. The object is not removed from the registry, it is o