enum lfds710_btree_au_existing_key

From liblfds.org
Jump to navigation Jump to search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_btree_addonly_unbalanced.h

Enum

enum lfds710_btree_au_existing_key
{
  LFDS710_BTREE_AU_EXISTING_KEY_OVERWRITE,
  LFDS710_BTREE_AU_EXISTING_KEY_FAIL
};

Values

LFDS710_BTREE_AU_EXISTING_KEY_OVERWRITE

Indicates that if when inserting a new element into a btree, the key in the new element is already present in the btree, that the value of the new element should be written into the existing element.

LFDS710_BTREE_AU_EXISTING_KEY_FAIL

Indicates that if when inserting a new element into a btree, the key in the new element is already present in the btree, the insert should fail.

Notes

This enum is passed to the lfds710_btree_au_init_valid_on_current_logical_core function, to indicte how the btree should behave when attempting to insert keys which already exist.

See Also