aboutsummaryrefslogtreecommitdiff
path: root/include/venti.h
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2011-11-08 09:02:31 -0500
committerRuss Cox <rsc@swtch.com>2011-11-08 09:02:31 -0500
commit4544da52005bf0af3bb05a73f4e02ce35117aae0 (patch)
treea9e3f60b9c118a578ac6d9e017979cd938a665bc /include/venti.h
parent36c242dd868672ae9c6705622ef1e7dbb84dbbac (diff)
downloadplan9port-4544da52005bf0af3bb05a73f4e02ce35117aae0.tar.gz
plan9port-4544da52005bf0af3bb05a73f4e02ce35117aae0.tar.bz2
plan9port-4544da52005bf0af3bb05a73f4e02ce35117aae0.zip
libventi: add functions reconn and redial for use with fossil
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5325046
Diffstat (limited to 'include/venti.h')
-rw-r--r--include/venti.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/venti.h b/include/venti.h
index 2861feee..632746db 100644
--- a/include/venti.h
+++ b/include/venti.h
@@ -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*);