[OpenWrt Wiki] libubox
https://openwrt.org/docs/techref/libubox20.02.2018 · Timeout structure should be initialized with just the callback and pending=false (timeout= {.cb=cb_func} does the work), and added to uloop using uloop_timeout_set (), do not use the other _add () function because then you will need to set up the time yourself calling time.h functions. _set () uses _add () internally. TBDN: Process management part
GitHub - yubo/libubox: C utility functions for OpenWrt ...
https://github.com/yubo/libubox07.11.2017 · Timeout structure should be initialized with just the callback and pending=false (timeout= {.cb=cb_func} does the work), and added to uloop using uloop_timeout_set (), do not use the other _add () function because then you will need to set up the time yourself calling time.h functions. _set () uses _add () internally. TBDN: Process management part