aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-08-18 04:44:24 +0000
committerNick Mathewson <nickm@torproject.org>2004-08-18 04:44:24 +0000
commit86980cf6e232dd30de59bec2c32e0a85c81eb1d2 (patch)
tree68b23af0d396f5b063638b3e9c4f50a33a4473b0 /src/common/util.h
parentadccf3aea6ef7d33bd5cfcd322d5168b2c12415b (diff)
downloadtor-86980cf6e232dd30de59bec2c32e0a85c81eb1d2.tar
tor-86980cf6e232dd30de59bec2c32e0a85c81eb1d2.tar.gz
Functions to test nickname validity
svn:r2269
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 05a41db18..3554b3673 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -81,6 +81,8 @@ struct timeval {
#define CONFIG_LEGAL_FILENAME_CHARACTERS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_/ "
#endif
+#define HEX_CHARACTERS "0123456789ABCDEFabcdef"
+
size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);