diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-08 15:37:38 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-02-10 19:11:50 +0100 |
commit | 3228fcbe9a48121032634272bc63f83793047baf (patch) | |
tree | 69f079c8cd77c4bdc1c9622025f253eeb9903285 /RELICENSE.md | |
parent | 6cb728e977cb4980ccc78d3441274dca0573cc45 (diff) |
supplicant: define wpas_state_string_to_enum() via NM_UTILS_STRING_TABLE_LOOKUP_DEFINE()
We frequently have code that converts a string to number/enum.
Use a preferred implementation via the NM_UTILS_STRING_TABLE_LOOKUP_DEFINE()
macro.
Also, this does binary search, so in most cases it's (slightly) faster.
Diffstat (limited to 'RELICENSE.md')
0 files changed, 0 insertions, 0 deletions