aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Collapse)AuthorAge
* Resolve some XXXsNick Mathewson2004-05-18
| | | | svn:r1889
* doxygen markup for common/*.hRoger Dingledine2004-05-10
| | | | svn:r1840
* Add doxygen markup for util and buffersNick Mathewson2004-05-07
| | | | svn:r1820
* tor_assert(), not assert()Nick Mathewson2004-05-02
| | | | svn:r1777
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* some cosmetic fixesRoger Dingledine2004-04-29
| | | | svn:r1747
* Oops -- the Windows function is closesocket, not socketcloseNick Mathewson2004-04-28
| | | | svn:r1746
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* Remove IVs from cipher code, since AES-ctr has none.Nick Mathewson2004-04-28
| | | | svn:r1742
* nick, is this what you meant?Roger Dingledine2004-04-28
| | | | svn:r1740
* Make Tor build on win32 with VC6 without warnings.Nick Mathewson2004-04-28
| | | | svn:r1739
* Workarounds for a couple of pieces of windows strangeness.Nick Mathewson2004-04-28
| | | | svn:r1734
* Add a tor_assert macro that logs failed assertions.Nick Mathewson2004-04-25
| | | | svn:r1695
* Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't needNick Mathewson2004-04-07
| | | | | | | to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533
* Put ourself in router list; act accordingly.Nick Mathewson2004-04-07
| | | | svn:r1521
* router_choose_random_node wants a smartlist of routers, not of nicknames.Nick Mathewson2004-04-06
| | | | svn:r1510
* Continue attack on magic numbers; use new crypto wrappers where possibleNick Mathewson2004-04-06
| | | | svn:r1504
* Remove the last tab in non-contributed codeNick Mathewson2004-04-06
| | | | svn:r1503
* Make it build on linuxNick Mathewson2004-04-03
| | | | svn:r1468
* Make "common" no longer depend on or.hNick Mathewson2004-04-03
| | | | svn:r1466
* Handle rendezvous relay cellsNick Mathewson2004-04-03
| | | | svn:r1464
* Hide smartlist internalsNick Mathewson2004-04-03
| | | | svn:r1451
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* Implement rennd_services_initNick Mathewson2004-04-02
| | | | svn:r1443
* Parse and generate service descriptorsNick Mathewson2004-03-31
| | | | svn:r1403
* Make smartlist Do What Arma Expects.Nick Mathewson2004-03-30
| | | | svn:r1401
* Remove maximum-size field from smartlistsNick Mathewson2004-03-30
| | | | svn:r1397
* Make smartlists start small and grow as needed.Nick Mathewson2004-03-30
| | | | svn:r1394
* Add an autoconf test for whether unaligned int access is permitted.Nick Mathewson2004-03-21
| | | | | | | | It works on macos, and works correctly when I twiddle the test code to generate a spurious segfault. Will it work anywhere else? svn:r1329
* Add macros and functions to wrap memcpy/alignment logic.Nick Mathewson2004-03-21
| | | | svn:r1326
* Add initial history-tracking backend code for reputation module. Not called ↵Nick Mathewson2004-03-20
| | | | | | or tested yet. svn:r1310
* Add some wrappers around SPLAY_* for the common map-from-string-to-X case.Nick Mathewson2004-03-19
| | | | | | | | It will probably be less blindingly fast than using SPLAY_* directly, but only slightly so. svn:r1306
* Include strlcpy and strlcat where not available, so our string ops can be ↵Nick Mathewson2004-03-17
| | | | | | less error-prone. svn:r1289
* teach us to recognize internal IPsRoger Dingledine2004-03-14
| | | | svn:r1271
* Make all the other read/writes into recv/sends, except when they shouldn't be.Nick Mathewson2004-03-11
| | | | svn:r1260
* Make tor build on windows again. More work still neededNick Mathewson2004-03-09
| | | | svn:r1247
* bugfix: stop trying to write to a stderr that may not be thereRoger Dingledine2004-02-28
| | | | | | | also, tell start_daemon our desired cwd svn:r1170
* Integrate new daemon code, adapted from submission by christian grothoffNick Mathewson2004-01-03
| | | | svn:r969
* clean tabs, trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r952
* make it compileRoger Dingledine2003-12-14
| | | | svn:r923
* extend smartlist with _remove() and _subtract()Roger Dingledine2003-12-14
| | | | svn:r922
* extend smartlist with a few smarter operationsRoger Dingledine2003-12-13
| | | | svn:r910
* add a 'smartlist' building block that picks random elements from a listRoger Dingledine2003-12-13
| | | | svn:r897
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* add a tor_malloc_zero wrapper: tor_malloc and memset 0Roger Dingledine2003-11-18
| | | | svn:r836
* break out the string manipulation routinesRoger Dingledine2003-11-12
| | | | svn:r804
* - fixed a bug in the id switching code -- setgid has to happen beforeSteven Hazel2003-10-22
| | | | | | | | | | | | | | | setuid, because after we setuid we don't have the priviledges we need to setgid anymore, duh. merged switch_user() and switch_group() into switch_id(), since that code has to be wound together. - return -1 from switch_id() if it's not defined to do anything else. - moved daemoinize(), write_pidfile(), and switch_id() from main.c to util.c svn:r656
* introduce new tor_free() macroRoger Dingledine2003-10-21
| | | | svn:r643
* include our own timegm() impl, since it's not portableRoger Dingledine2003-10-20
| | | | svn:r635