Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-msc
/
002fb01faa5c19820c7dfedffc4f768f1b9145b9
/
src
/
libmsc
/
db.c
570b4c8
libmsc/db.c: get rid of hard-coded SMS expiry threshold
by Vadim Yanitskiy
· 5 years ago
0d13e83
libmsc/db.c: warn user about SMS text truncation
by Vadim Yanitskiy
· 5 years ago
ea24bb5
libmsc/db.c: introduce and use parse_sm_ud_from_result()
by Vadim Yanitskiy
· 5 years ago
ad585d8
libmsc/db.c: fix potential integer overflow
by Vadim Yanitskiy
· 5 years ago
7f97d67
db: Fix call to mempcy with NULL src ptr
by Pau Espin Pedrol
· 5 years ago
9d61db7
libmsc/db.c: fix storing SMS with empty TP-User-Data
by Vadim Yanitskiy
· 5 years ago
e1e7247
Introduce initial unit test for db_sms_* API
by Vadim Yanitskiy
· 5 years ago
b10ec6a
remove msc specific db counters
by Alexander Couzens
· 5 years ago
baccf3a
libmsc/db.c: print info about database name and libdbi version
by Vadim Yanitskiy
· 5 years ago
7c5346c
vlr_subscr: use osmo_use_count
by Neels Hofmeyr
· 6 years ago
0cd761c
libmsc/db.c: cosmetic: mark missing breaks in switch as intended
by Vadim Yanitskiy
· 6 years ago
98f7467
Wrap osmo_strlcpy() calls
by Max
· 7 years ago
14e0517
Delete expired SMS automatically.
by Stefan Sperling
· 7 years ago
87cba1f
Add a VTY command which deletes all expired SMS.
by Stefan Sperling
· 7 years ago
3b26f34
Fix value of stored SMS validity time.
by Stefan Sperling
· 7 years ago
d494162
Store/retrieve SMS validity time in the SMS datebase
by Stefan Sperling
· 7 years ago
6ba2d5a
Delete SMS from the database once they were sent successfully
by Stefan Sperling
· 7 years ago
832046d
Improve an error message in db_init().
by Stefan Sperling
· 7 years ago
753c15d
Migrate from OpenSSL to osmo_get_rand_id()
by Max
· 7 years ago
c22e54d
libmsc: db.c: Replace dbi APIs marked as deprecated
by Pau Espin Pedrol
· 7 years ago
db82729
sms.db: silence libdbi warnings on out-of-range index
by Neels Hofmeyr
· 7 years ago
50d0900
sms db: properly quote MSISDN in various SQL queries
by Neels Hofmeyr
· 7 years ago
f6704f1
sms db: don't attempt to query pending SMS for unset MSISDN
by Neels Hofmeyr
· 7 years ago
9084396
rename include/openbsc to include/osmocom/msc
by Neels Hofmeyr
· 7 years ago
c601adc
libmsc: Use actual delivery time in delivery reports.
by Keith
· 7 years ago
f113bcd
libmsc: Remove comment not applying anymore
by Pau Espin Pedrol
· 7 years ago
9891dae
libmsc: update database to accomodate SMS status-report fields
by Pablo Neira Ayuso
· 7 years ago
2483f1b
Use libvlr in libmsc (large refactoring)
by Harald Welte
· 8 years ago
29b9206
move openbsc/* to repos root
by Neels Hofmeyr
· 7 years ago
[Renamed from openbsc/src/libmsc/db.c]
7590ff3
fix subscriber random extension allocation range
by Neels Hofmeyr
· 7 years ago
f480b35
libmsc/update_db_revision_3(): free memleaking db result
by Alexander Couzens
· 8 years ago
93bafb6
cosmetic: use osmo_strlcpy() everywhere
by Neels Hofmeyr
· 8 years ago
96df077
libmsc/db: avoid subscr->name without terminating NULL char
by Harald Welte
· 8 years ago
e6052c4
Make random MSISDN assignment optional
by Max
· 8 years ago
0fcd2e2
Make random extension range configurable
by Max
· 8 years ago
307e406
tweak db debug log: log TMSI as hex
by Neels Hofmeyr
· 8 years ago
a8d8e93
db.c: implemented incremental migration
by Vadim Yanitskiy
· 8 years ago
d3fa84d
use new libosmocore gsm_23_003.h for IMEI/IMSI length
by Harald Welte
· 8 years ago
121e9a4
Start to use struct osmo_auth_vector from gsm_auth_tuple
by Harald Welte
· 8 years ago
adb8675
db: If creating a subscriber in the db fails, return NULL
by Holger Hans Peter Freyther
· 8 years ago
2826df5
subscr: Make db_create_subscriber fail on duplicates
by Holger Hans Peter Freyther
· 8 years ago
3ad0346
Revert "move to hex TMSI representation"
by Harald Welte
· 8 years ago
044fbe6
move to hex TMSI representation
by Vadim Yanitskiy
· 8 years ago
f9f4490
db: Avoid undefined behavior when copying cm2/cm3 from the db
by Holger Hans Peter Freyther
· 9 years ago
2aedfbd
libmsc: Use RAND_bytes to generate a token
by Daniel Willmann
· 9 years ago
cdeb815
libmsc: Use RAND_bytes when choosing a tmsi
by Daniel Willmann
· 9 years ago
5c06e40
use non-vararg functions if possible
by Max
· 9 years ago
7ffa7b0
nitb: Fix IMSI/IMEI buffer handling (Coverity)
by Jacob Erlbeck
· 9 years ago
1e30a28
msc: Add and use gsm_subscriber_group
by Jacob Erlbeck
· 10 years ago
c7548a1
DB: produce a backtrace in case of a DB error
by Harald Welte
· 10 years ago
b115cb6
db: Use ulonglong to access the database for sqlite3
by Holger Hans Peter Freyther
· 10 years ago
f242e7a
db: Fix fall-out with the subscriber removal in the subscriber deletion code
by Holger Hans Peter Freyther
· 10 years ago
6114401
db: Add testcase for the db migration.
by Holger Hans Peter Freyther
· 11 years ago
e7cc9aa
sms: Add code to migrate the database to the new schema
by Holger Hans Peter Freyther
· 11 years ago
ca7ed2d
sms: Do not store received id in the SMS database.
by Alexander Chemeris
· 11 years ago
ca3c256
sms: Kill the sms->sender and use addr/ton/npi throughout the code
by Holger Hans Peter Freyther
· 11 years ago
d883db0
nitb/ctrl: Implement a command to list all active subscribers
by Holger Hans Peter Freyther
· 10 years ago
2d99eeb
nitb/ctrl: Implement creating and deleting subscribers
by Holger Hans Peter Freyther
· 10 years ago
1e77e3d
db,sms: Rename db_sms_mark_sent() to db_sms_mark_delivered()
by Alexander Chemeris
· 11 years ago
7e20f64
db: Remove the german from the log message
by Alexander Chemeris
· 11 years ago
900394a
db: Avoid crash we have seen with the dbi code when reading a SMS
by Holger Hans Peter Freyther
· 11 years ago
c9763a3
db: Fetch the authorized key using ulonglong
by Kevin Redon
· 11 years ago
7634ec1
db: Remove the struct gsm_network from the database layer
by Holger Hans Peter Freyther
· 11 years ago
8c16928
Fix typo ',' -> ';' at the end of a line.
by Alexander Chemeris
· 11 years ago
c63f6f1
expiration: Allow to disable the periodic location updating procedure
by Holger Hans Peter Freyther
· 11 years ago
5ecbc93
misc: Fix compilation warnings
by Holger Hans Peter Freyther
· 11 years ago
e885951
db: Fix an issue with the memset
by Holger Hans Peter Freyther
· 11 years ago
bfbdeec
libmsc: Track and update the location update expiry
by Jan Luebbe
· 12 years ago
c0de14d
SMPP: add small utility program 'smpp_mirror'
by Harald Welte
· 12 years ago
5e80cc4
libmsc/db: Fix max value of ainfo->a3a8_ki_len in db_get_authinfo_for_subscr
by Sylvain Munaut
· 12 years ago
d1476bc
db: use ANSI (void) function declarations
by Harald Welte
· 13 years ago
2c5f4c6
db: fix Smatch warnings
by Harald Welte
· 13 years ago
c0d17f2
src: use namespace prefix osmo_* for misc utils
by Pablo Neira Ayuso
· 13 years ago
dfb342c
src: use namespace prefix osmo_counter*
by Pablo Neira Ayuso
· 13 years ago
c42ad8b
misc: Move from u_int to uint types of stdint.h
by Holger Hans Peter Freyther
· 13 years ago
136f453
src: use new library libosmogsm and new path to headers in libosmocore
by Pablo Neira Ayuso
· 13 years ago
89579b4
prefix sub-directories containing libraries with 'lib'
by Harald Welte
· 14 years ago
[Renamed from openbsc/src/msc/db.c]
31c00f7
re-structure the OpenBSC directory layout
by Harald Welte
· 14 years ago
[Renamed from openbsc/src/db.c]
f4152d1
misc: Remove unused variable from the db.
by Holger Hans Peter Freyther
· 14 years ago
624e89d
[db] Fix double-quoting in libdbi backend
by Harald Welte
· 14 years ago
9af6ddf
License change: We are now AGPLv3+ instead of GPLv2+
by Harald Welte
· 14 years ago
f64a20f
db: Quote the IMEI string before passing it into the database.
by Holger Hans Peter Freyther
· 14 years ago
019d016
[db] Properly quote name and extension for SQL access
by Harald Welte
· 14 years ago
73b878a
db: Introduce a limit in delivery attempts for the SMS search
by Holger Hans Peter Freyther
· 14 years ago
812dad0
db: Add method to load a SMS by id.
by Holger Hans Peter Freyther
· 14 years ago
abd0cac
subscr: Add a VTY command to update the subscriber from the database.
by Holger Hans Peter Freyther
· 14 years ago
28dcbc5
misc: Remove gsm_subscriber.h from the db.h file
by Holger Hans Peter Freyther
· 14 years ago
c5faf66
misc: Reorder includes, move osmocore to the end
by Holger Hans Peter Freyther
· 14 years ago
adb6e1c
janitor: Move the * to the variable name
by Holger Hans Peter Freyther
· 14 years ago
7a7d364
db.c: Fix some SQL queries for ambiguous column names
by Sylvain Munaut
· 14 years ago
adea4f1
db: Use proper %llu for subscriber ID in format string.
by Sylvain Munaut
· 14 years ago
31ac307
db: Fix typo in sync_lastauthtuples SQL UPDATE stmt
by Sylvain Munaut
· 14 years ago
92b2ff5
db: Change naming convention for auth info functions
by Sylvain Munaut
· 14 years ago
10bf812
db: Use subscriber_id as primary key for AuthKeys/AuthLastTuples
by Sylvain Munaut
· 14 years ago
c614a6a
db: Rename AuthTuples to AuthLastTuples
by Sylvain Munaut
· 14 years ago
d94d6a0
DB: don't use reserved "index" word in SQL table field name
by Harald Welte
· 14 years ago
c191986
[GPRS] NS: more rate counters for BLOCK / DEAD count
by Harald Welte
· 14 years ago
f2b4cd7
[GPRS] NS: Start to use rate_ctr_group code from libosmocore
by Harald Welte
· 14 years ago
ceb072d
db: Fix aliasing warning by casting the signed char to a struct
by Holger Hans Peter Freyther
· 14 years ago
acf8a0c
[misc] Remove whitespace from the end of the line.
by Holger Hans Peter Freyther
· 14 years ago
Next »