summaryrefslogtreecommitdiff
path: root/src/common/util.h
AgeCommit message (Expand)Author
2004-12-22move network_init from or/main to common/compatRoger Dingledine
2004-12-22Fix a bug in last patch; and keep my name out of the assert() call too.Nick Mathewson
2004-12-22Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name outNick Mathewson
2004-11-30Add casei versions of strcmpstart/strcmpendNick Mathewson
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of every...Nick Mathewson
2004-11-29Disallow NDEBUG. It is very stupid.Nick Mathewson
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
2004-11-22Add function to format local time in ISO formatNick Mathewson
2004-11-09Resolve many XXXs and all DOCDOCsNick Mathewson
2004-11-09Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ig...Nick Mathewson
2004-11-06parse_line_from_file is obsolete.Roger Dingledine
2004-11-05Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are definedNick Mathewson
2004-11-04Add code to read configuration lines from a string as well as a fileNick Mathewson
2004-11-03Add a write_bytes_to_file so we can have files with NULs in them.Nick Mathewson
2004-11-03my assert.h takes extra pains to be certain to _re-include_Roger Dingledine
2004-11-02Handle strlcat/strlcpy correctly on platforms that have them.Nick Mathewson
2004-11-02canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine
2004-11-01Split util into util (general utilities), container (smartlist and strmap), a...Nick Mathewson
2004-11-01make sure options.MaxConn can be reachedRoger Dingledine
2004-10-27Pass with -Wstrict-prototypesNick Mathewson
2004-10-27snprintf wrapper with consistant (though not C99) overflow behaviorNick Mathewson
2004-10-24Handle more errnos from accept() without closing the connection. This may fi...Nick Mathewson
2004-10-20Check for low _MSC_VER, not high. On windows, always use winsock.Nick Mathewson
2004-10-20add winsock if you've got it, regardless of whether you're msvRoger Dingledine
2004-10-16Refactor parse-addr-mask-and-port-range into a separate functionNick Mathewson
2004-10-16Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=N...Nick Mathewson
2004-10-15Oops; make sure that break; and continue; work within SMARTLIST_FOREACHNick Mathewson
2004-10-15Use token-pasting magic to make nested SMARTLIST_FOREACH work.Nick Mathewson
2004-10-14Basic string-join functionalityNick Mathewson
2004-10-14and another oneRoger Dingledine
2004-10-12ok, vim isn't the greatest editor in the worldRoger 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-12Add functions to parse addr[:port] consistentlyNick Mathewson
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-07Make base-64-encoded DER work, including workaround for ugly openssl misfeatu...Nick Mathewson
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-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-19Workaround for oddity in cygwin autoconfNick Mathewson
2004-08-18Functions to test nickname validityNick 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-07hex_encode is obsoleted by base16_encode, and never actually worked in the fi...Nick Mathewson