aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Collapse)AuthorAge
* Add --with-dmalloc configure optionPeter Palfrader2005-02-03
| | | | svn:r3508
* move network_init from or/main to common/compatRoger Dingledine2004-12-22
| | | | | | | | call network_init in tor-resolve.c too move tor_lookup_hostname from common/util to common/compat svn:r3203
* Fix a bug in last patch; and keep my name out of the assert() call too.Nick Mathewson2004-12-22
| | | | svn:r3200
* Workaround for brain-damaged __FILE__ handling on MSVC: keep Nick's name outNick Mathewson2004-12-22
| | | | | | | of the warning messages. svn:r3199
* Add casei versions of strcmpstart/strcmpendNick Mathewson2004-11-30
| | | | svn:r3026
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Disallow NDEBUG. It is very stupid.Nick Mathewson2004-11-29
| | | | svn:r3012
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Add function to format local time in ISO formatNick Mathewson2004-11-22
| | | | svn:r2935
* Resolve many XXXs and all DOCDOCsNick Mathewson2004-11-09
| | | | svn:r2755
* Make check_private_dir trimodal (check/create/ignore), not bimodal ↵Nick Mathewson2004-11-09
| | | | | | (create/ignore). svn:r2733
* parse_line_from_file is obsolete.Roger Dingledine2004-11-06
| | | | svn:r2693
* Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are definedNick Mathewson2004-11-05
| | | | svn:r2688
* Add code to read configuration lines from a string as well as a fileNick Mathewson2004-11-04
| | | | svn:r2676
* Add a write_bytes_to_file so we can have files with NULs in them.Nick Mathewson2004-11-03
| | | | svn:r2662
* my assert.h takes extra pains to be certain to _re-include_Roger Dingledine2004-11-03
| | | | | | | itself if you include it twice. this is dumb, but hey. svn:r2653
* Handle strlcat/strlcpy correctly on platforms that have them.Nick Mathewson2004-11-02
| | | | svn:r2647
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Split util into util (general utilities), container (smartlist and strmap), ↵Nick Mathewson2004-11-01
| | | | | | and compat (cross-platform compatability). svn:r2640
* make sure options.MaxConn can be reachedRoger Dingledine2004-11-01
| | | | svn:r2638
* Pass with -Wstrict-prototypesNick Mathewson2004-10-27
| | | | svn:r2614
* snprintf wrapper with consistant (though not C99) overflow behaviorNick Mathewson2004-10-27
| | | | svn:r2606
* Handle more errnos from accept() without closing the connection. This may ↵Nick Mathewson2004-10-24
| | | | | | fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion. svn:r2579
* Check for low _MSC_VER, not high. On windows, always use winsock.Nick Mathewson2004-10-20
| | | | svn:r2575
* add winsock if you've got it, regardless of whether you're msvRoger Dingledine2004-10-20
| | | | svn:r2573
* Refactor parse-addr-mask-and-port-range into a separate functionNick Mathewson2004-10-16
| | | | svn:r2540
* Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ↵Nick Mathewson2004-10-16
| | | | | | ptr=NULL are equivalent svn:r2536
* Oops; make sure that break; and continue; work within SMARTLIST_FOREACHNick Mathewson2004-10-15
| | | | svn:r2532
* Use token-pasting magic to make nested SMARTLIST_FOREACH work.Nick Mathewson2004-10-15
| | | | svn:r2526
* Basic string-join functionalityNick Mathewson2004-10-14
| | | | svn:r2521
* and another oneRoger Dingledine2004-10-14
| | | | svn:r2484
* ok, vim isn't the greatest editor in the worldRoger Dingledine2004-10-12
| | | | svn:r2457
* start the great migration from int to size_tRoger Dingledine2004-10-12
| | | | | | | and clean some deadweight from util.h svn:r2455
* Make a bounds-checking replacement for strtol with slightly easier ↵Nick Mathewson2004-10-12
| | | | | | error-checking in the common case svn:r2452
* Add functions to parse addr[:port] consistentlyNick Mathewson2004-10-12
| | | | svn:r2440
* Turn tor_strpartion into a swiss-army-knife function, so it can terminate or ↵Nick Mathewson2004-10-07
| | | | | | not-terminate appropriately. svn:r2429
* More complete docs for crypto.c; factor out string partitioning codeNick Mathewson2004-10-07
| | | | svn:r2427
* Make base-64-encoded DER work, including workaround for ugly openssl ↵Nick Mathewson2004-10-07
| | | | | | misfeature that makes base64 decoding fail when you strip out the newlines. svn:r2423
* Some platforms have weird translations when you open files in "test" mode; ↵Nick Mathewson2004-09-08
| | | | | | make read/write_str_to_file aware. svn:r2336
* Make split function smarter; add a strcmpstart function so we can stop ↵Nick Mathewson2004-09-02
| | | | | | bungling strcmp(x, y, strlen(y)); svn:r2325
* agree with nick: this legal-chars-in-filename stuff gets us nothingRoger Dingledine2004-08-24
| | | | svn:r2310
* As far as I can tell, CONFIG_LEGAL_FILENAME_CHARACTERS is both pointless and ↵Nick Mathewson2004-08-24
| | | | | | broken. #if it out, pending agreement from arma. This fixes a bug on win32 that rejected paths with a : in them. svn:r2309
* Workaround for oddity in cygwin autoconfNick Mathewson2004-08-19
| | | | svn:r2301
* Functions to test nickname validityNick Mathewson2004-08-18
| | | | svn:r2269
* Move string-splitting into a separate functionNick Mathewson2004-08-17
| | | | svn:r2263
* Add strmap_isemptyNick Mathewson2004-08-17
| | | | svn:r2250
* Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson2004-08-16
| | | | svn:r2243
* Add replace_file to util.[ch] to survive stupidity of windows rename callNick Mathewson2004-08-09
| | | | svn:r2208
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182