aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/smartlist.c
AgeCommit message (Collapse)Author
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2020-05-19Doxygen: fix unbalanced groups.Nick Mathewson
Closes ticket 34255.
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-09-04smartlist_pqueue: use ptrdiff_t instead of int for offsets.Nick Mathewson
This is technically correct, but should not matter in practice, since we don't use this on any structs whose size exceeds INT_MAX.
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-08-29Merge branch 'ticket25573-034' into ticket25573-masterMike Perry
2018-07-21Make entry_guards_update_primary() shorterrl1987
2018-07-10Rename util_malloc to malloc.Nick Mathewson
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-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-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-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-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.