about summary refs log tree commit diff
path: root/src/libwpactrl/wpactrl_removenetwork.c
blob: 1c4b47d52af8cee83aa5701ccc5c57d92215919b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/uint32.h>
#include <bcnm/wpactrl.h>

wparesponse_t wpactrl_removenetwork (wpactrl_t *a, uint32_t id, tain *stamp)
{
  char buf[15 + UINT32_FMT] = "REMOVE_NETWORK " ;
  buf[15 + uint32_fmt(buf + 15, id)] = 0 ;
  return wpactrl_command(a, buf, stamp) ;
}