aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container
AgeCommit message (Collapse)Author
2018-08-29Merge branch 'ticket25573-034' into ticket25573-masterMike Perry
2018-07-21Make entry_guards_update_primary() shorterrl1987
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-05Move handles.h to src/lib/containerNick Mathewson
There might be a better place for it in the long run, but this is the best we can think of for now.
2018-07-05Include compat_string.h in smartlist.cNick Mathewson
We need this for strcasecmp on (some) Windows build environments. Fix from Gisle Vanem.
2018-07-01File-level documentation for some of src/lib.Nick Mathewson
2018-06-28Fix a bogus n in a commentNick Mathewson
2018-06-28Move buffers into containerNick Mathewson
Split the network-only and compression-only parts of buffers into the appropriate modules.
2018-06-27Merge branch 'ticket26494'Nick Mathewson
2018-06-26Refactor bloom filter logic not to be digest-specific.Nick Mathewson
Now the address-set code and the digest-set code share the same backend. Closes ticket 26510
2018-06-26Extract core part of smartlist code into its own library.Nick Mathewson
The smartlist_core library now contains only the parts of smartlists that are needed for the logging library. This resolves the circularity between "container" and "log". The "containers" library still uses the logging code, and has the higher-level smartlist functions.
2018-06-26Fix comments in lib/container/*.cNick Mathewson
2018-06-22Update the micro-revision.i dependencies, and add a stdlib.hNick Mathewson
2018-06-22A pair of missing includes.Nick Mathewson
2018-06-22Move util_bug into libtor-logNick Mathewson
2018-06-22Remove the util_bug.h include from smartlist.h.Nick Mathewson
This change makes a whole bunch of things in torlog.c break, since apparently I did not find all the fd dependencies.
2018-06-22Extract simple integer math into its own moduleNick Mathewson
2018-06-22Move smartlist_add_{v,}asprintf into smartlist.[ch]Nick Mathewson
Now that I know that "strings" nests below "container", I know this is safe.
2018-06-22Extract key string manipulation functions into a new library.Nick Mathewson
2018-06-22Update permissible includesNick Mathewson
2018-06-22Expunge container.hNick Mathewson
2018-06-22Extract smartlist.h from container.hNick Mathewson
2018-06-22Remove map from container.hNick Mathewson
2018-06-22Remove bloom filters, order statistics, and bitarrays from container.hNick Mathewson
2018-06-22Remove container->crypto dependencyNick Mathewson
Containers were using crypto_digest.h, just to see the value of DIGEST_LEN. Moved those constants into a new defs module.
2018-06-22Move STRUCT_VAR_P to compat_compiler.Nick Mathewson
2018-06-22Split container.c based on container types, and minimize includesNick Mathewson
Minimizing includes revealed other places includes were necessary.
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-22Refactor container into a library.Nick Mathewson