summaryrefslogtreecommitdiffstats
path: root/src/db.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-30src/db.c: integrate SQLite3 with talloc allocatorVadim Yanitskiy1-0/+11
2019-05-13db_hlr.c: add db_subscr_exists_by_msisdn()Vadim Yanitskiy1-0/+1
2019-05-13db_hlr.c: add db_subscr_exists_by_imsi()Oliver Smith1-0/+1
2019-05-13db_hlr.c: db_subscr_create(): add flags argumentOliver Smith1-1/+1
2019-01-24Add IMEI column to subscriber tableOliver Smith1-1/+47
2018-12-07store a timestamp of the last location update seen from a subscriberStefan Sperling1-3/+57
2018-12-04add database schema versioning to the HLR databaseStefan Sperling1-13/+99
2018-12-02implement removal of MSISDNNeels Hofmeyr1-0/+1
2018-07-30src/db.c: don't ignore the result of db_bootstrap()Vadim Yanitskiy1-4/+9
2018-07-30src/db.c: fix: make sure the database is properly closedVadim Yanitskiy1-1/+10
2017-11-21db_test: don't verify SQLite issued error messages, they might changeNeels Hofmeyr1-4/+6
2017-11-11cosmetic: add comment on ignored return valueNeels Hofmeyr1-0/+2
2017-10-28automatically create db tables on osmo-hlr invocationNeels Hofmeyr1-0/+32
2017-10-11code undup: use db_bind_text() in db_get_auth_data()Neels Hofmeyr1-1/+1
2017-10-11fix db_update_sqn(): reset stmt in all error casesNeels Hofmeyr1-1/+1
2017-10-11add db_subscr_update_aud_by_id(), complete db_subscr_delete_by_id()Neels Hofmeyr1-0/+8
2017-10-11refactor db_subscr_purgeNeels Hofmeyr1-2/+2
2017-10-11refactor db_subscr_lu()Neels Hofmeyr1-2/+2
2017-10-11refactor db_subscr_ps() to db_subscr_nam()Neels Hofmeyr1-2/+2
2017-10-11add db_subscr_get_by_msisdn() and db_subscr_get_by_id()Neels Hofmeyr1-1/+18
2017-10-11less noise: simplify db_remove_reset()Neels Hofmeyr1-13/+3
2017-10-11add db_subscr_create(), db_subscr_delete(), db_subscr_update_msisdn_by_imsi()Neels Hofmeyr1-0/+3
2017-10-11add db_bind_int() and db_bind_int64()Neels Hofmeyr1-0/+44
2017-10-11cosmetic: don't log about missing SQLite log cbNeels Hofmeyr1-3/+11
2017-10-11cosmetic: log: "SQLite" with capital LNeels Hofmeyr1-4/+4
2017-10-10cosmetic: multi-line DB_STMT_AUC_BY_IMSINeels Hofmeyr1-1/+6
2017-10-10cosmetic: refactor db_bind_imsi() as db_bind_text()Neels Hofmeyr1-5/+14
2017-10-10cosmetic: prepend DB_STMT_ to enum stmt_idx entriesNeels Hofmeyr1-9/+9
2017-03-16UMTS AKA: implement SQN increment according to SEQ and INDNeels Hofmeyr1-1/+1
2017-02-21Add routines to update nam_psMax1-0/+2
2017-02-20Fix compiler's warning about printf securityMax1-1/+1
2017-02-20db: move duplicated code into helper functionsMax1-0/+31
2017-02-01main: add option parsing with db file and default optionsNeels Hofmeyr1-0/+1
2016-06-10fix PURGE_MS sqlite3 accessHarald Welte1-0/+2
2016-05-03db: Use Write-Ahead Logging mode of SQLite3Harald Welte1-0/+6
2016-05-03Major update; Code now supports SAI, LU and ISD transactionsHarald Welte1-2/+3
2016-04-28initial import of osmo-gsup-hlr code so farHarald Welte1-0/+121