enum lfds710_list_aso_insert_result
Jump to navigation
Jump to search
Source File
└───liblfds710 └───inc └───liblfds710 lfds710_list_addonly_singlylinked_ordered.h
Enum
enum lfds710_list_aso_insert_result { LFDS710_LIST_ASO_INSERT_RESULT_FAILURE_EXISTING_KEY, LFDS710_LIST_ASO_INSERT_RESULT_SUCCESS_OVERWRITE, LFDS710_LIST_ASO_INSERT_RESULT_SUCCESS };
Values
LFDS710_LIST_ASO_INSERT_RESULT_FAILURE_EXISTING_KEY
- If a list is initialized with LFDS710_LIST_ASO_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.
LFDS710_LIST_ASO_INSERT_RESULT_SUCCESS_OVERWRITE
- If a list is initialized with LFDS710_list_ASO_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.
LFDS710_LIST_ASO_INSERT_RESULT_SUCCESS
- This value is returned when inserting an element in a list where the key in that element is not yet present in the btree.
Notes
This enum is returned by the lfds710_list_aso_insert function.