]> git.meshlink.io Git - meshlink/commit
Add utility functions to create paired MeshLink instances.
authorGuus Sliepen <guus@meshlink.io>
Sun, 13 Aug 2017 21:07:25 +0000 (23:07 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 13 Aug 2017 21:07:25 +0000 (23:07 +0200)
commit6bf3ea32f0afa91f1fed494542e873ca6abca9c9
treebed4580418d08e86b4e6adaa61569cdf7e21df97
parent27af20f16848236ff1a4a0f748fa8ed083130b55
Add utility functions to create paired MeshLink instances.

This also adds a start_meshlink_pair() function which starts the two instances
and waits for them to establish a connection with each other. A condition
variable is used to avoid having to poll.
test/utils.c [new file with mode: 0644]
test/utils.h [new file with mode: 0644]