diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-10 20:51:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-10 20:51:40 +0000 |
commit | 5445a1d653cddb7b9321c87aec6b025c7627fe1d (patch) | |
tree | 1fad42bb0b4abbda9c35eb3ff829fb84bbcb8d78 /src/libwpactrl/wpactrl_xchg_cbres_free.c | |
parent | babf43abf301d072192bda1f72a47440c354b072 (diff) | |
download | bcnm-5445a1d653cddb7b9321c87aec6b025c7627fe1d.tar.gz bcnm-5445a1d653cddb7b9321c87aec6b025c7627fe1d.tar.xz bcnm-5445a1d653cddb7b9321c87aec6b025c7627fe1d.zip |
Complete first draft of libwpactrl, with documentation
Diffstat (limited to 'src/libwpactrl/wpactrl_xchg_cbres_free.c')
-rw-r--r-- | src/libwpactrl/wpactrl_xchg_cbres_free.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libwpactrl/wpactrl_xchg_cbres_free.c b/src/libwpactrl/wpactrl_xchg_cbres_free.c new file mode 100644 index 0000000..b12a3fc --- /dev/null +++ b/src/libwpactrl/wpactrl_xchg_cbres_free.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <skalibs/stralloc.h> +#include <skalibs/genalloc.h> +#include <bcnm/wpactrl.h> + +void wpactrl_xchg_cbres_free (wpactrl_xchg_cbres_t *cr) +{ + genalloc_free(int, &cr->parsed) ; /* relies on genericity of genalloc_free */ + stralloc_free(&cr->storage) ; +} |