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:
parent
36c242dd86
commit
4544da5200
4 changed files with 48 additions and 0 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue