summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-12 23:33:47 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-12 23:33:47 +0000
commita5bfe845096b13f676c57cfbebb9409bacbfa124 (patch)
tree6e3a13d210c91af6b5eb5874ddb7642b95465341 /src/or/rendclient.c
parentf4ff5a75c141b671432cd1b9a9a0e102ca872562 (diff)
downloadtor-a5bfe845096b13f676c57cfbebb9409bacbfa124.tar.gz
tor-a5bfe845096b13f676c57cfbebb9409bacbfa124.zip
ACK/NAK INTRODUCE1 requests. (We do no useful processing on them yet)
svn:r1597
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index aa32ead26f..18edb0e18d 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -137,6 +137,22 @@ rend_client_rendcirc_is_open(circuit_t *circ)
connection_ap_attach_pending();
}
+/* Called when get an ACK or a NAK for a REND_INTRODUCE1 cell.
+ */
+int
+rend_client_introduction_acked(circuit_t *introcirc,
+ const char *request, int request_len)
+{
+ if (request_len == 0) {
+ /* It's an ACK; the introduction point relayed our introduction request. */
+ /* XXXX writeme */
+ } else {
+ /* It's a NAK; the introduction point didn't relay our request. */
+ /* XXXX writeme */
+ }
+ return 0;
+}
+
/* Called when we receive a RENDEZVOUS_ESTABLISHED cell; changes the state of
* the circuit to C_REND_READY.
*/