blob: 01907eaebe7e0fa9853958b4072c6081934dfc3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* ISC license. */
#include <errno.h>
#include <skalibs/tai.h>
#include <bcnm/wpactrl.h>
int wpactrl_xchg_timeout (wpactrl_xchg_t *dt, tain_t const *stamp)
{
if (!tain_less(stamp, &dt->deadline))
{
dt->status = ETIMEDOUT ;
return 1 ;
}
else return 0 ;
}
|