enum lfds700_list_aos_existing_key

From liblfds.org
Jump to navigation Jump to search

Source File

└───liblfds700
    └───inc
        └───liblfds700
                lfds700_list_addonly_ordered_singlylinked.h

Enum

enum lfds700_list_aos_existing_key
{
  LFDS700_LIST_AOS_EXISTING_KEY_OVERWRITE,
  LFDS700_LIST_AOS_EXISTING_KEY_FAIL
};

Values

LFDS700_LIST_AOS_EXISTING_KEY_OVERWRITE

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

LFDS700_LIST_AOS_EXISTING_KEY_FAIL

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

Notes

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

See Also