]> git.meshlink.io Git - meshlink/blobdiff - test/utils.h
Call fsync() on the configuration directories where appropriate.
[meshlink] / test / utils.h
index 9fb9b8d264459aac4f552e9129ee34e14552a364..a657dffad6df98305d17eb092a80584497eee8b8 100644 (file)
@@ -10,7 +10,8 @@ struct sync_flag {
        bool flag;
 };
 
-extern void set_sync_flag(struct sync_flag *s);
+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.