This module provides support for storing key-value
pairs in a table known as a registry, backing up registries to
A registry that has previously been created with
Returns
Deletes an object from the registry. The object is not
removed from the registry, it is only marked for later
removal so that on later backups to
The object is removed from the registry after a call to
Returns
Dumps the contents of a registry to a
If
Alternatively, setting flags to
Returns
Gets the value associated with
On success, the function returns the value associated with
Gets the value associated with
On success, the function returns the value associated with
Gets the value associated with
On success, the function returns the value associated with
Gets the value associated with
On success, the function returns the value associated with
A general function for retrieving any kind of object from the registry.
The buffer pointed to by
If
On success,
Marks a registry object as dirty. This ensures that
it is included in the next backup to
Returns
Opens (creates) a registry, which initially is empty. To
close the registry later, use
Returns an empty registry on success, otherwise
Removes all objects marked for deletion. When objects
are deleted with
Returns
Changes the size of a registry.
On success, the registry is resized, all contents
rehashed, and
The contents of a
Notice that only tables of a certain format can be
restored, that is, those that have been created and backed up to
with
After the restore operation, the entire contents of the registry is marked as unmodified. Notice that this includes any objects that were modified before the restore and not overwritten by the restore.
Returns
Creates a key-value pair with the specified
Returns
Creates a key-value pair with the specified
Returns
Creates a key-value pair with the specified
Returns
Creates a key-value pair with the specified
Returns
Creates a key-value pair with the specified
If
If you wish to store an arbitrary pointer in the registry,
specify a
Returns
Returns information about an object.
In
Field
Returns
Returns information about a registry. Using information returned by this function, you can see whether the size of the registry is suitable for the amount of data it contains.
Field
On success,