summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-02 22:23:15 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-02 22:23:15 +0000
commitf34e6da3e75ad5b681c68e6c0a50d65d4566f9cf (patch)
tree7605e90bef7b67ea957030cc7404161bd723b738 /src/or/rendcommon.c
parent4cb21bab4811090ca7f39bd422eed5184c58e5bf (diff)
downloadtor-f34e6da3e75ad5b681c68e6c0a50d65d4566f9cf.tar.gz
tor-f34e6da3e75ad5b681c68e6c0a50d65d4566f9cf.zip
now circuit_get_newest returns an appropriate circ for your purpose
connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 63c9abbe05..3b1d8fc453 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -121,6 +121,10 @@ int rend_get_service_id(crypto_pk_env_t *pk, char *out)
return 0;
}
+int rend_cmp_service_ids(char *one, char *two) {
+ return strcasecmp(one,two);
+}
+
/* ==== Rendezvous service descriptor cache. */
#define REND_CACHE_MAX_AGE 24*60*60
#define REND_CACHE_MAX_SKEW 60*60