summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-11-27 04:28:32 +0000
committerdlg <dlg@openbsd.org>2013-11-27 04:28:32 +0000
commit1697ea25319307d409778fe0474580a85b933c55 (patch)
treeb6ad240fd4beb7810aa4f782bd5fd62596daac0b /lib
parentuse a macro when testing for an ich8 family mac type (diff)
downloadwireguard-openbsd-1697ea25319307d409778fe0474580a85b933c55.tar.xz
wireguard-openbsd-1697ea25319307d409778fe0474580a85b933c55.zip
make timeout_add and its wrappers return whether the timeout was scheduled
in this call by returning 1, or a previous call by returning 0. this makes it easy to refcount the stuff we're scheduling a timeout for, and brings the api in line with what task_add(9) provides. ok mpi@ matthew@ mikeb@ guenther@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions