aboutsummaryrefslogtreecommitdiff
path: root/src/lib/encoding
AgeCommit message (Collapse)Author
2018-12-14Add a function to provide an upper bound on base64 decoded lengthNick Mathewson
2018-12-12Add code to parse K=V lines into config_line_t format.Nick Mathewson
Closes ticket 28755
2018-11-06Include sys/time.h in timers.c and time_fmt.cKris Katterjohn
This fixes compilation on OpenBSD. Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
2018-09-13Merge remote-tracking branch 'UntoSten/inform-about-conf-includes'Nick Mathewson
2018-08-21Add rudimentary support for PEM-encoding, since NSS doesn't do that.Nick Mathewson
2018-08-17Inform users about configuration file and directory includesUnto Sten
This patch makes it clearer to users what settings Tor daemon is actually using. I think it is pretty important.
2018-07-10Rename tm_cvt to time_to_tmNick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-10Rename util_malloc to malloc.Nick Mathewson
2018-07-09Fix some lingering windows compilation issues from Jenkins.Nick Mathewson
These were caused by the recent refactoring.
2018-07-01File-level documentation for some of src/lib.Nick Mathewson
2018-07-01Tabify all of the .am files.Nick Mathewson
2018-06-28Move string_is_key_value to lib/encodingNick Mathewson
2018-06-27Move confline.c to lib/encoding: it is about encoding key-value pairsNick Mathewson
Also, move "unescape_string()" to encoding too, since it's about encoding data as C strings.
2018-06-27Move hex_str to binascii.cNick Mathewson
2018-06-27Extract time encoding functions into lib/encodingNick Mathewson
2018-06-27Move util_format into a new libtor-encoding libraryNick Mathewson
libtor-encoding is about various ways to transform data to and from character sequences.