Difference between revisions of "r7.1.1:Enum lfds711 btree au insert result"
Jump to navigation
Jump to search
m (1 revision imported) |
(No difference)
|
Latest revision as of 18:11, 16 February 2017
Source File
└───liblfds711 └───inc └───liblfds711 lfds711_btree_addonly_unbalanced.h
Enum
enum lfds711_btree_au_insert_result { LFDS711_BTREE_AU_INSERT_RESULT_FAILURE_EXISTING_KEY, LFDS711_BTREE_AU_INSERT_RESULT_SUCCESS_OVERWRITE, LFDS711_BTREE_AU_INSERT_RESULT_SUCCESS };
Values
LFDS711_BTREE_AU_INSERT_RESULT_FAILURE_EXISTING_KEY
- If a btree is initialized with LFDS711_BTREE_AU_EXISTING_KEY_FAIL then this value can be returned when attempting to insert a new element, and it occurs when an attempt is made to insert in that tree an element with a key which is already present in the tree.
LFDS711_BTREE_AU_INSERT_RESULT_SUCCESS_OVERWRITE
- If a btree is initialized with LFDS711_BTREE_AU_EXISTING_KEY_OVERWRITE then this value can be returned when attempting to insert a new element, and it occurs when an attempt is made to insert in that tree an element with a key which is already present in the tree.
LFDS711_BTREE_AU_INSERT_RESULT_SUCCESS
- This value is returned when inserting an element in a btree where the key in that element is not yet present in the btree.
Notes
This enum is returned by the lfds711_btree_au_insert function.