summaryrefslogtreecommitdiff
path: root/src/app_stats.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-19make the atom functions not use global stateTimo Teräs1-3/+1
This greatly helps with memory management on applications that may want to daemonize and open/close database several times. Also the lifetime and "owner" of memory for all data is now explicitly bound to owning struct apk_database, which might be helpful when writing language bindings. As side effect, the interned "atoms" are unique only within what apk_database, so comparing packages from different apk_database may not work as expected. Fixes #10697
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2020-02-14rename all applets sources to app_*.cTimo Teräs1-0/+64