diff options
author | Andre Heider <a.heider@gmail.com> | 2023-01-11 11:39:32 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-20 17:26:59 +0100 |
commit | 8ee7971c76314b44ff01385c47ac7a98edce79d9 (patch) | |
tree | 9c7f8e7ad4e774a48cb9985d0fc3d8d3f3f8f033 /include | |
parent | 81184d27633dfa65677da11e4097d619ba3210e9 (diff) | |
download | iwinfo-8ee7971c76314b44ff01385c47ac7a98edce79d9.tar.gz |
lib: add IWINFO_FREQ_FLAG_NAMES
The same as with the other defines/enums which allow consumers to
iterate over all known ones.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iwinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index c76aab7..b9a482c 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -153,6 +153,8 @@ enum iwinfo_freq_flag { #define IWINFO_FREQ_NO_IR (1 << IWINFO_FREQ_NO_IR) #define IWINFO_FREQ_INDOOR_ONLY (1 << IWINFO_FREQ_INDOOR_ONLY) +extern const char * const IWINFO_FREQ_FLAG_NAMES[IWINFO_FREQ_FLAG_COUNT]; + enum iwinfo_opmode { IWINFO_OPMODE_UNKNOWN = 0, |