summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-01 02:41:41 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-01 02:41:41 +0000
commit36ff23209bcbb438234d8c4739f6fe769d9f4ba7 (patch)
tree692e62ad89b7c3813db061c83cc8a836a681cc9e /src/or/rendcommon.c
parentd13857a3f0e7c9970cd93166459a035969751642 (diff)
downloadtor-36ff23209bcbb438234d8c4739f6fe769d9f4ba7.tar.gz
tor-36ff23209bcbb438234d8c4739f6fe769d9f4ba7.zip
let alice recognize a y.onion address and, uhm, do something
svn:r1422
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 399e5db1fa..220ed31a2a 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -244,4 +244,15 @@ int rend_cache_store(char *desc, int desc_len)
return 0;
}
+/* ==== General utility functions for rendezvous. */
+
+/* If address is of the form "y.onion" with a well-formed handle y,
+ * then put a '\0' after y and return 0.
+ * Else return -1 and change nothing.
+ */
+int rend_parse_rendezvous_address(char *address) {
+
+
+ return -1;
+}