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

@ -335,7 +335,9 @@ struct VtConn
};
VtConn* vtconn(int infd, int outfd);
int vtreconn(VtConn*, int, int);
VtConn* vtdial(char*);
int vtredial(VtConn*, char *);
void vtfreeconn(VtConn*);
int vtsend(VtConn*, Packet*);
Packet* vtrecv(VtConn*);