projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add timeouts to 'tinc join'
[tinc]
/
src
/
invitation.h
diff --git
a/src/invitation.h
b/src/invitation.h
index
e176c4d
..
c637fa9
100644
(file)
--- a/
src/invitation.h
+++ b/
src/invitation.h
@@
-23,4
+23,8
@@
int cmd_invite(int argc, char *argv[]);
int cmd_join(int argc, char *argv[]);
+// Wait until data can be read from socket, or a timeout occurs.
+// true if socket is ready, false on timeout.
+bool wait_socket_recv(int fd);
+
#endif