Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2021-11-04 13:26:41 +0300
committerStijn Tintel <stijn@linux-ipv6.be>2021-11-04 14:05:24 +0300
commit3344157381505e343b334e2eb6c60c9d3318e5bb (patch)
tree74ca3e30aa81600f7d9e6e7da6caaf4fa9070f6c /uloop.h
parent123e976f3d012b310ac223a54b7ef5213107e33d (diff)
uloop: add uloop_timeout_remaining64
This uses the same return type as tv_diff so we don't need to check for integer overflow. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Jo-Philipp Wich <jo@mein.io> Acked-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'uloop.h')
-rw-r--r--uloop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uloop.h b/uloop.h
index 36084f5..7ac345e 100644
--- a/uloop.h
+++ b/uloop.h
@@ -93,6 +93,7 @@ int uloop_timeout_add(struct uloop_timeout *timeout);
int uloop_timeout_set(struct uloop_timeout *timeout, int msecs);
int uloop_timeout_cancel(struct uloop_timeout *timeout);
int uloop_timeout_remaining(struct uloop_timeout *timeout);
+int64_t uloop_timeout_remaining64(struct uloop_timeout *timeout);
int uloop_process_add(struct uloop_process *p);
int uloop_process_delete(struct uloop_process *p);