Maps annotation entry names to ids using the annotation_names table.
The annotation_names table contains an (id,name) map for all known annotations, and the annotations table refers to it by id. This class provides lookup functions by id and name.
Records that an annotation entry with the given name and id exists. After this call, id( name ) returns id, and name( id ) returns name.
Returns the id of the annotation entry with the given name, or 0 if the entry is not known.
Returns the largest known id for an annotation name. May be 0 if the annotation_names table has not yet been loaded.
Returns the annotation entry name with the given id, or an empty string if the name is not known.
This function reloads the annotation_names table and notifies the owner when that is finished.
Discards any annotation names that have been created by calling add() rather than being loaded from the database.
This function must be called once from main() to set up and load the flag_names table.
This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.