blob: 4a7af1be5babc78634b9b7701e35922c271d2ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <errno.h>
#include <bcnm/wpactrl.h>
void wpactrl_xchg_init (wpactrl_xchg_t *dt, wpactrl_xchgitem_t const *tab, unsigned int n, tain const *limit, void *aux)
{
dt->tab = tab ;
dt->n = n ;
dt->i = 0 ;
dt->deadline = *limit ;
dt->status = ECONNABORTED ;
dt->aux = aux ;
}
|