Extract core part of smartlist code into its own library.
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.
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- Makefile.am 4 additions, 2 deletionsMakefile.am
- src/include.am 1 addition, 0 deletionssrc/include.am
- src/lib/container/.may_include 1 addition, 0 deletionssrc/lib/container/.may_include
- src/lib/container/smartlist.c 0 additions, 290 deletionssrc/lib/container/smartlist.c
- src/lib/container/smartlist.h 3 additions, 204 deletionssrc/lib/container/smartlist.h
- src/lib/log/.may_include 1 addition, 1 deletionsrc/lib/log/.may_include
- src/lib/log/torlog.c 4 additions, 2 deletionssrc/lib/log/torlog.c
- src/lib/log/util_bug.c 2 additions, 1 deletionsrc/lib/log/util_bug.c
- src/lib/smartlist_core/.may_include 7 additions, 0 deletionssrc/lib/smartlist_core/.may_include
- src/lib/smartlist_core/include.am 21 additions, 0 deletionssrc/lib/smartlist_core/include.am
- src/lib/smartlist_core/smartlist_core.c 237 additions, 0 deletionssrc/lib/smartlist_core/smartlist_core.c
- src/lib/smartlist_core/smartlist_core.h 95 additions, 0 deletionssrc/lib/smartlist_core/smartlist_core.h
- src/lib/smartlist_core/smartlist_foreach.h 128 additions, 0 deletionssrc/lib/smartlist_core/smartlist_foreach.h
- src/lib/smartlist_core/smartlist_split.c 89 additions, 0 deletionssrc/lib/smartlist_core/smartlist_split.c
- src/lib/smartlist_core/smartlist_split.h 15 additions, 0 deletionssrc/lib/smartlist_core/smartlist_split.h
Loading
Please register or sign in to comment