[or-cvs] Functions to test nickname validity

Nick Mathewson nickm at seul.org
Wed Aug 18 04:44:27 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv22627/src/common

Modified Files:
	util.h 
Log Message:
Functions to test nickname validity

Index: util.h
===================================================================
RCS file: /home/or/cvsroot/src/common/util.h,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- util.h	17 Aug 2004 21:06:36 -0000	1.83
+++ util.h	18 Aug 2004 04:44:24 -0000	1.84
@@ -81,6 +81,8 @@
 #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);
 



More information about the tor-commits mailing list