Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC https://osmocom.org/projects/osmo-hlr
Go to file
Vadim Yanitskiy 8cdecdd54f src/db.c: WIP: integrate SQLite3 with talloc allocator
The current version of this commit enables a custom memory
allocator for SQLite3 via SQLITE_CONFIG_MALLOC. If OsmoHLR is
compiled with ENABLE_TALLOC macro, talloc is used. Otherwise
the default malloc/realloc/free are used.

There are lots of debug messages for each call. They are helpful
for comparison heap usage footprints between both talloc & malloc.

NOTE: SQLite3 version 3.8.2 fails (at least) to init the database
with talloc, and there is some big difference in heap usage
footprint compared to malloc. At the same time, with the recent
SQLite3 version 3.24.0, both heap usage footprints are identical,
and OsmoHLR works fine...

Change-Id: Icfe67ed0f063b63e6794f9516da3003d01cf20a7
2018-07-31 22:52:30 +07:00
contrib jenkins.sh: use --enable-werror configure flag, not CFLAGS 2018-03-05 20:54:54 +01:00
debian sql/Makefile: Create empty /var/lib/osmocom directory at install time 2018-07-02 17:47:24 +02:00
doc USSD: Add support for internal USSD handlers 2018-07-30 17:43:10 +02:00
include gsup_client: rename gsup_client_* to osmo_gsup_client_* 2018-07-30 13:07:08 +00:00
sql sql/Makefile: Create empty /var/lib/osmocom directory at install time 2018-07-02 17:47:24 +02:00
src src/db.c: WIP: integrate SQLite3 with talloc allocator 2018-07-31 22:52:30 +07:00
tests tests/Makefile.am: also remove temporary sqlite files 2018-07-30 16:37:27 +00:00
.gitignore Update .gitignore: ignore osmo-euse-demo 2018-07-31 06:52:16 +00:00
.gitreview Add gerrit settings 2016-12-21 10:35:38 +01:00
COPYING add COPYING file with AGPLv3 license text 2016-11-11 10:17:06 +01:00
Makefile.am import gsup_client.c as new libosmo-gsup-client 2018-07-30 13:07:08 +00:00
configure.ac import gsup_client.c as new libosmo-gsup-client 2018-07-30 13:07:08 +00:00
git-version-gen build with autoconf/automake, add jenkins.sh script 2016-12-11 01:07:26 +01:00
libosmo-gsup-client.pc.in import gsup_client.c as new libosmo-gsup-client 2018-07-30 13:07:08 +00:00