aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
Commit message (Collapse)AuthorAge
* 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
* Add tor_realloc to mirror tor_mallocNick Mathewson2003-10-14
| | | | svn:r582
* some early bugfixesRoger Dingledine2003-10-07
| | | | | | | | | | our log() conflicts with log(3) distribute only the correct files from doc/ and src/config/ sometimes laptops go back in time. i guess that's ok for now. and bump the version number because we're live. svn:r544
* wrap strdup; prefer time() to gettimeofday()Roger Dingledine2003-10-04
| | | | svn:r538
* Make testcases run again; more sanity checking to descriptor generation.Nick Mathewson2003-10-01
| | | | svn:r532
* more cleanup and rearrangingRoger Dingledine2003-09-29
| | | | | | | still not finished integrating new dirserv stuff svn:r507
* shift read_file_to_str() into util.cRoger Dingledine2003-09-28
| | | | svn:r504
* Refactor common file code into util.c; add published to descriptorsNick Mathewson2003-09-26
| | | | svn:r487
* fix the cpuworker circ-had-vanished bug (maybe)Roger Dingledine2003-09-14
| | | | | | | still several (many) tls-related bugs outstanding. svn:r454
* implemented cpuworkersRoger Dingledine2003-08-20
| | | | | | | | | | please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402
* Tor now builds on win32.Nick Mathewson2003-08-14
| | | | svn:r400
* Attempt to make sockets code work right on windows.Nick Mathewson2003-08-14
| | | | svn:r398
* Make windows happier stillNick Mathewson2003-08-12
| | | | svn:r392
* Adopt socketpair implementation from perl. For now, always use it.Nick Mathewson2003-08-12
| | | | svn:r389
* Add abstraction for fork vs thread.Nick Mathewson2003-08-12
| | | | svn:r387
* unbork windows line endingsNick Mathewson2003-08-12
| | | | svn:r381
* Start of port to win32. Missing are:Nick Mathewson2003-08-12
| | | | | | | | | | | | | | | | - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380
* replace malloc with tor_malloc; remove broken/unused crypto_pk_set_keyRoger Dingledine2003-05-20
| | | | svn:r292
* Factor out timeval-related functions.Nick Mathewson2003-04-16
svn:r237