eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 82f873a025c05b1cc528881035ecea514a1051ff
parent bb604b92f18c8afb3c43b600d63cc76d7573bd2a
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri,  5 Aug 2022 09:27:59 -0500

util: Allow scan_freq_set to be autodestructed

Diffstat:
Msrc/util.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/util.h b/src/util.h @@ -25,6 +25,7 @@ #include <stdint.h> #include <unistd.h> +#include <ell/cleanup.h> #define ___PASTE(a, b) a ## b #define __PASTE(a, b) ___PASTE(a, b) @@ -124,4 +125,6 @@ bool scan_freq_set_isempty(const struct scan_freq_set *set); uint32_t *scan_freq_set_to_fixed_array(const struct scan_freq_set *set, size_t *len_out); +DEFINE_CLEANUP_FUNC(scan_freq_set_free); + #endif /* __UTIL_H */