1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @brief Header containing timer specific declarations for the
9  * Zephyr OS layer of the Wi-Fi driver.
10  */
11 #ifndef __TIMER_H__
12 #define __TIMER_H__
13 
14 struct timer_list {
15 	void (*function)(unsigned long data);
16 	unsigned long data;
17 	struct k_work_delayable work;
18 };
19 
20 void init_timer(struct timer_list *timer);
21 
22 void mod_timer(struct timer_list *timer, int msec);
23 
24 void del_timer_sync(struct timer_list *timer);
25 
26 #endif /* __TIMER_H__ */
27