Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC https://osmocom.org/projects/osmo-hlr
Go to file
Neels Hofmeyr 32633e2b89 db: use int64_t as subscriber id
The SQLite db does not support uint64_t, and we are always binding the uint64_t
id actually as signed int64_t. Hence be consistent and actually handle it as
int64_t in the code as well.

This means that if we ever see a negative subscriber ID in the SQL database
(however unlikely), we will also see it negative in our log output.

The SQN handled in osmo_auth* is actually of unsigned type, and, unless we
store the SQN as 64bit hex string, we are forced to feed this unsigned value as
signed int64_t to the SQLite API. The upcoming db regression test for SQN in
change-id I0d870d405e2e0a830360d9ad19f0a3f9e09d8cf2 verifies that the SQN
uint64_t translates to signed int64_t and back as expected.

Change-Id: I83a47289a48ac37da0f712845d422e897a5e8171
2017-10-11 22:32:19 +02:00
contrib add basic CTRL interface tests 2017-09-28 18:52:57 +02:00
debian debian/rules: show testsuite.log when tests are failing 2017-10-11 07:10:57 +02:00
doc/examples VTY: Add hlr node and bind ip field 2017-06-01 11:31:39 +02:00
sql hlr_data.sql: Insert ki and opc instead of op to example data 2017-06-03 14:55:56 +00:00
src db: use int64_t as subscriber id 2017-10-11 22:32:19 +02:00
tests less noise: simplify db_remove_reset() 2017-10-11 22:32:19 +02:00
.gitignore gitignore: tests/package.m4 2017-10-11 20:25:29 +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 Use release helper from libosmocore 2017-08-25 18:27:28 +02:00
configure.ac add initial db_test: creating and deleting subscribers 2017-10-11 22:32:19 +02:00
git-version-gen build with autoconf/automake, add jenkins.sh script 2016-12-11 01:07:26 +01:00