libventi: add functions reconn and redial for use with fossil

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325046
This commit is contained in:
David du Colombier 2011-11-08 09:02:31 -05:00 committed by Russ Cox
parent 36c242dd86
commit 4544da5200
4 changed files with 48 additions and 0 deletions

View file

@ -28,9 +28,15 @@ typedef struct VtConn {
VtConn* vtconn(int infd, int outfd)
.PP
.B
int vtreconn(VtConn *z, int infd, int outfd)
.PP
.B
VtConn* vtdial(char *addr)
.PP
.B
int vtredial(VtConn *z, char *addr)
.PP
.B
int vtversion(VtConn *z)
.PP
.B