uloop: add uloop_cancelling function
[project/libubox.git] / uloop.h
diff --git a/uloop.h b/uloop.h
index 2f1eb4c49e12896d11e64bb8e16c0fd8e76b0ef0..5ab9a5f1196f8525111baeca8e5880edbc32b31f 100644 (file)
--- a/uloop.h
+++ b/uloop.h
@@ -97,6 +97,8 @@ int uloop_timeout_remaining(struct uloop_timeout *timeout);
 int uloop_process_add(struct uloop_process *p);
 int uloop_process_delete(struct uloop_process *p);
 
+bool uloop_cancelling(void);
+
 static inline void uloop_end(void)
 {
        uloop_cancelled = true;