diff options
Diffstat (limited to 'usr/iscsi_timer.h')
-rw-r--r-- | usr/iscsi_timer.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/usr/iscsi_timer.h b/usr/iscsi_timer.h new file mode 100644 index 0000000..13e8368 --- /dev/null +++ b/usr/iscsi_timer.h @@ -0,0 +1,28 @@ +/* + * iSCSI timer + * + * Copyright (C) 2002 Cisco Systems, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * See the file COPYING included with this distribution for more details. + */ +#ifndef ISCSI_TIMER_H +#define ISCSI_TIMER_H + +struct timeval; + +extern void iscsi_timer_clear(struct timeval *timer); +extern void iscsi_timer_set(struct timeval *timer, int seconds); +extern int iscsi_timer_expired(struct timeval *timer); +extern int iscsi_timer_msecs_until(struct timeval *timer); + +#endif |