aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Collapse)AuthorAge
* Move code to check for zero digests into util.cNick Mathewson2005-11-30
| | | | svn:r5468
* tor_assert had a misleading commentRoger Dingledine2005-11-01
| | | | svn:r5338
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Efficiency hack: call tor_fix_source_file late, not early. Add "BUG" ↵Nick Mathewson2005-10-25
| | | | | | domain. Domains are now bitmasks... just in case. Make some err msgs non-general. svn:r5309
* Start dividing log messages into logging domains. No, LD_ is not the best ↵Nick Mathewson2005-10-18
| | | | | | of identifiers. src/or has not been converted yet. Domains dont do anything yet. svn:r5284
* Inline key smartlist functions; use fast versions by default.Nick Mathewson2005-10-18
| | | | svn:r5265
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Reorganize some quick-and-dirty code to find out what openssl stuff is ↵Nick Mathewson2005-10-03
| | | | | | leaking, using dmalloc. svn:r5178
* even better function start checks; give dmalloc a chance of working.Nick Mathewson2005-09-30
| | | | svn:r5162
* Add a bunch more warnings to out warning suite; resolve them; pack structs a ↵Nick Mathewson2005-09-29
| | | | | | little better. svn:r5150
* Two new functions like write_bytes_to_file: one takes a list of byte-and-len ↵Nick Mathewson2005-09-13
| | | | | | structs; one appends. svn:r5024
* add strupper functionNick Mathewson2005-09-08
| | | | svn:r4934
* Add directory listing functions to util.[ch]. Watch the features creep!Nick Mathewson2005-09-03
| | | | svn:r4906
* add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()Roger Dingledine2005-08-26
| | | | svn:r4838
* Make clients regenerate their keys when their IP address changes.Nick Mathewson2005-08-03
| | | | svn:r4688
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* bugfix: chdir to your datadirectory at the *end* of theRoger Dingledine2005-04-06
| | | | | | | | | | daemonize process, not the beginning. this was a problem because the first time you run tor, if your datadir isn't there, and you have runasdaemon set to 1, it will try to chdir to it before it tries to create it. oops. svn:r4033
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* 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