Nick Mathewson
|
180e0a9326
Make check_private_dir trimodal (check/create/ignore), not bimodal (create/ignore).
|
vor 21 Jahren |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
vor 21 Jahren |
Roger Dingledine
|
865f341708
parse_line_from_file is obsolete.
|
vor 21 Jahren |
Nick Mathewson
|
38ed0ce5e6
Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
|
vor 21 Jahren |
Nick Mathewson
|
9d604ec615
Add code to read configuration lines from a string as well as a file
|
vor 21 Jahren |
Nick Mathewson
|
b74b72a5ce
Fix windows build
|
vor 21 Jahren |
Nick Mathewson
|
871bf904ae
Remove extraneous local
|
vor 21 Jahren |
Nick Mathewson
|
d5244e3872
Add a write_bytes_to_file so we can have files with NULs in them.
|
vor 21 Jahren |
Nick Mathewson
|
67f14032b1
Handle strlcat/strlcpy correctly on platforms that have them.
|
vor 21 Jahren |
Roger Dingledine
|
85c79ffbc7
canonicalize "src" and "dest" arg order in crypto.c (and others)
|
vor 21 Jahren |
Roger Dingledine
|
037fba7595
util.c needs ctype.h for tolower and isspace
|
vor 21 Jahren |
Nick Mathewson
|
ce79bab7f1
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
|
vor 21 Jahren |
Roger Dingledine
|
4689243242
make sure options.MaxConn can be reached
|
vor 21 Jahren |
Nick Mathewson
|
5bc0dba933
Move all util functions that need openssl into crypto.c; make non-openssl functions that util needs into util. Now openssl can be separated.
|
vor 21 Jahren |
Nick Mathewson
|
6874c39904
Fix windows build
|
vor 21 Jahren |
Nick Mathewson
|
6980929e64
Use strlcpy, not strcpy.
|
vor 21 Jahren |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
vor 21 Jahren |
Nick Mathewson
|
22dc19b590
snprintf wrapper with consistant (though not C99) overflow behavior
|
vor 21 Jahren |
Nick Mathewson
|
f67f83b1fa
Use strlcpy, not strncpy
|
vor 21 Jahren |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
vor 21 Jahren |
Nick Mathewson
|
26f3cb8652
Add SysLog option to direct log messages to the system log instead of a FILE*.
|
vor 21 Jahren |
Roger Dingledine
|
e9e9a25881
i take back everything i've said about unit tests
|
vor 21 Jahren |
Roger Dingledine
|
6d873e5743
don't assert multiple things in the same tor_assert()
|
vor 21 Jahren |
Nick Mathewson
|
47dc024f7e
Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
|
vor 21 Jahren |
Nick Mathewson
|
69d7b468b4
Refactor parse-addr-mask-and-port-range into a separate function
|
vor 21 Jahren |
Nick Mathewson
|
2fb08fe46c
add documentation for smartlist_join_strings
|
vor 21 Jahren |
Nick Mathewson
|
c5964d6738
Basic string-join functionality
|
vor 21 Jahren |
Roger Dingledine
|
5f4a390b33
oh, and some more in common/
|
vor 21 Jahren |
Roger Dingledine
|
a7d858bd6e
start the great migration from int to size_t
|
vor 21 Jahren |
Nick Mathewson
|
19da1f36c2
Make a bounds-checking replacement for strtol with slightly easier error-checking in the common case
|
vor 21 Jahren |