enum lfds711_list_aso_existing_key

From liblfds.org
Revision as of 18:11, 16 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_list_addonly_singlylinked_ordered.h

Enum

enum lfds711_list_aso_existing_key
{
  LFDS711_LIST_ASO_EXISTING_KEY_OVERWRITE,
  LFDS711_LIST_ASO_EXISTING_KEY_FAIL
};

Values

LFDS711_LIST_ASO_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.

LFDS711_LIST_ASO_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 lfds711_list_aso_init_valid_on_current_logical_core function, to indicte how the list should behave when attempting to insert keys which already exist.

See Also