1/*
2 * Copyright 2018, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _FBSD_COMPAT_SYS__CALLOUT_H_
6#define _FBSD_COMPAT_SYS__CALLOUT_H_
7
8
9#include <util/list.h>
10#include <sys/queue.h>
11#include <sys/_mutex.h>
12
13
14struct callout {
15	struct list_link	c_link;
16	bigtime_t			c_due;
17
18	void *				c_arg;
19	void				(*c_func)(void *);
20	struct mtx *		c_mtx;
21	int					c_flags;
22};
23
24
25#endif /* _FBSD_COMPAT_SYS__CALLOUT_H_ */
26