X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Finvitation.h;fp=src%2Finvitation.h;h=c637fa9c7f528f80d8e80343afeda696782982ed;hp=e176c4da1e388233805c71a413c7436e0d4e687f;hb=4c6a9a9611442f958c3049a566ac4369653978e9;hpb=517dc91e4bf0e64d513cfd23dd2e25c303557f2a diff --git a/src/invitation.h b/src/invitation.h index e176c4da..c637fa9c 100644 --- 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