enum lfds700_list_aos_insert_result
Jump to navigation
Jump to search
Source File
└───liblfds700 └───inc └───liblfds700 lfds700_list_addonly_ordered_singlylinked.h
Enum
enum lfds700_list_aos_insert_result { LFDS700_LIST_AOS_INSERT_RESULT_FAILURE_EXISTING_KEY, LFDS700_LIST_AOS_INSERT_RESULT_SUCCESS_OVERWRITE, LFDS700_LIST_AOS_INSERT_RESULT_SUCCESS };
Values
LFDS700_LIST_AOS_INSERT_RESULT_FAILURE_EXISTING_KEY
- If a list is initialized with LFDS700_LIST_AOS_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 list an element with a key which is already present in the list.
LFDS700_LIST_AOS_INSERT_RESULT_SUCCESS_OVERWRITE
- If a list is initialized with LFDS700_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 list an element with a key which is already present in the tree.
LFDS700_LIST_AOS_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 lfds700_list_aos_insert function.