summaryrefslogtreecommitdiff
path: root/src/common/util.c
AgeCommit message (Expand)Author
2004-10-27Fix windows buildNick Mathewson
2004-10-27Use strlcpy, not strcpy.Nick Mathewson
2004-10-27Use tor_snprintf, not snprintfNick Mathewson
2004-10-27snprintf wrapper with consistant (though not C99) overflow behaviorNick Mathewson
2004-10-27Use strlcpy, not strncpyNick Mathewson
2004-10-27Replace sprintf with snprintfNick Mathewson
2004-10-26Add SysLog option to direct log messages to the system log instead of a FILE*.Nick Mathewson
2004-10-16i take back everything i've said about unit testsRoger Dingledine
2004-10-16don't assert multiple things in the same tor_assert()Roger Dingledine
2004-10-16Change interface of parse_addr_port() to return address in host order, since ...Nick Mathewson
2004-10-16Refactor parse-addr-mask-and-port-range into a separate functionNick Mathewson
2004-10-15add documentation for smartlist_join_stringsNick Mathewson
2004-10-14Basic string-join functionalityNick Mathewson
2004-10-14oh, and some more in common/Roger Dingledine
2004-10-12start the great migration from int to size_tRoger Dingledine
2004-10-12Make a bounds-checking replacement for strtol with slightly easier error-chec...Nick Mathewson
2004-10-12Better bounds checking on parsed intsNick Mathewson
2004-10-12Note byte-order on result for parse_addr_port()Nick Mathewson
2004-10-12Add functions to parse addr[:port] consistentlyNick Mathewson
2004-10-08fix compile error: move variable declarations before codeRoger Dingledine
2004-10-07Turn tor_strpartion into a swiss-army-knife function, so it can terminate or ...Nick Mathewson
2004-10-07More complete docs for crypto.c; factor out string partitioning codeNick Mathewson
2004-10-06Add a function to remove a set of characters from a stringNick Mathewson
2004-09-28make the warn message better for reading short filesRoger Dingledine
2004-09-26Make read_all distinguish between error and EOF; read_file_to_string should o...Nick Mathewson
2004-09-10LOG_ERR is for when we're going to exitRoger Dingledine
2004-09-08Some platforms have weird translations when you open files in "test" mode; ma...Nick Mathewson
2004-09-02Make split function smarter; add a strcmpstart function so we can stop bungli...Nick Mathewson
2004-08-25Define LONG_MAX and UINT_MAX when they are missingNick Mathewson
2004-08-25make the compile work (and not complain) on sunos 5.9Roger Dingledine
2004-08-24agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine
2004-08-24As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ...Nick Mathewson
2004-08-17Move string-splitting into a separate functionNick Mathewson
2004-08-17Add strmap_isemptyNick Mathewson
2004-08-16Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson
2004-08-09Add replace_file to util.[ch] to survive stupidity of windows rename callNick Mathewson
2004-08-07Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename for...Nick Mathewson
2004-08-07fencepostNick Mathewson
2004-08-07hex_encode is obsoleted by base16_encode, and never actually worked in the fi...Nick Mathewson
2004-08-04Add functions to format and parse RFC1123-style times, for HTTP protocol.Nick Mathewson
2004-08-03Fix all warnings on win32 buildNick Mathewson
2004-08-03It is possible to have struct timeval but not gettimeofday.Nick Mathewson
2004-07-23check return value of fclose while writing to disk, since it mightRoger Dingledine
2004-07-22now base16_encode() and base32_encode() can't ever failRoger Dingledine
2004-07-20When faking gettimeofday with ftime, do it right.Nick Mathewson
2004-07-16Resolve all DOCDOCs.Nick Mathewson
2004-07-15Add generic expand_filename function to handle expanding ~/Nick Mathewson
2004-07-13add is_local_IP() function to help distinguish which bandwidth "matters"Roger Dingledine
2004-07-06Yes, I did mean "else if".Nick Mathewson
2004-07-06Fix bug reported by peter palfrader: an empty address is unresolvable, but no...Nick Mathewson