diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-12 20:58:27 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-12 20:58:27 +0000 |
commit | 537fb82cbb3b0488535f94bbccb0899f1b6b027a (patch) | |
tree | 9687918384012548a8a3f859b4c6e3d3ad4eb8f2 /src/or/rendcommon.c | |
parent | 32c42a0ee25fec091ee3e889578ef730b2a37959 (diff) | |
download | tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.tar.gz tor-537fb82cbb3b0488535f94bbccb0899f1b6b027a.zip |
Make some functions static
svn:r1857
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index b96557d494..3260b9ff9a 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -10,6 +10,12 @@ #include "or.h" + +/** Return 0 if one and two are the same service ids, else -1 or 1 */ +int rend_cmp_service_ids(const char *one, const char *two) { + return strcasecmp(one,two); +} + /** Free the storage held by the service descriptor <b>desc</b>. */ void rend_service_descriptor_free(rend_service_descriptor_t *desc) |