uloop: export the cancelled flag
[project/libubox.git] / uloop.h
diff --git a/uloop.h b/uloop.h
index 10a117f..2b02e18 100644 (file)
--- a/uloop.h
+++ b/uloop.h
@@ -62,6 +62,8 @@ struct uloop_timeout
        bool pending;
 };
 
+extern bool uloop_cancelled;
+
 int uloop_fd_add(struct uloop_fd *sock, unsigned int flags);
 int uloop_fd_delete(struct uloop_fd *sock);