]> git.meshlink.io Git - meshlink/blobdiff - test/utils.h
Add condition check in auto connect for blacklisted nodes
[meshlink] / test / utils.h
index 27bb38c3fe9e20a8abae834c1d802d941daee2a2..a657dffad6df98305d17eb092a80584497eee8b8 100644 (file)
@@ -11,6 +11,7 @@ struct sync_flag {
 };
 
 extern void set_sync_flag(struct sync_flag *s, bool value);
+extern bool check_sync_flag(struct sync_flag *s);
 extern bool wait_sync_flag(struct sync_flag *s, int seconds);
 
 /// Create a pair of meshlink instances that are already joined together.