Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-msc
/
c513ded578b239b578d2f0e17d00a4a421951ff8
/
openbsc
/
src
/
libmsc
/
db.c
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
· 14 years ago
136f453
src: use new library libosmogsm and new path to headers in libosmocore
by Pablo Neira Ayuso
· 14 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
· 15 years ago
acf8a0c
[misc] Remove whitespace from the end of the line.
by Holger Hans Peter Freyther
· 15 years ago
b464fb4
db: Fix a bug where no pending SMS were found
by Holger Hans Peter Freyther
· 15 years ago
dfe6c7d
split 'libosmocore' from openbsc codebase
by Harald Welte
· 15 years ago
062d5ef
db: Add methods to set auth{info,tuple} for a subscriber
by Sylvain Munaut
· 15 years ago
e1cb4de
db: Fix bad size comparison when retrieving Ki
by Sylvain Munaut
· 15 years ago
70881b7
db: Add issued/use_count/key_seq fields to AuthTuples
by Sylvain Munaut
· 15 years ago
77d334a
db: Fix type of algorithm_id (NUMERIC -> INTEGER)
by Sylvain Munaut
· 15 years ago
deebb11
db: Fix missing commas in AuthTuples table creation
by Sylvain Munaut
· 15 years ago
441e483
[db] A new subscriber is an INFO event, not NOTICE
by Harald Welte (local)
· 15 years ago
1f3ecd4
'classmark1' is not an integer field in the database
by Harald Welte (local)
· 15 years ago
ae1f159
Converrt the database later to use DEBUGP/LOGP instead of stderr
by Harald Welte
· 15 years ago
0b906d0
db: coding style cleanup
by Harald Welte
· 15 years ago
09f7ad0
fix merge artefact from db.c
by Harald Welte
· 15 years ago
3606cc5
[authentication] Code for retrieving authentication data from SQL DB
by Harald Welte
· 15 years ago
f9a43c4
fix sql table creation for 'Counters' table
by Harald Welte
· 15 years ago
ffa55a4
statistics: Introduce 'struct counter' instead of using unsigned long
by Harald Welte
· 15 years ago
ff1f19e
Implement a better sending of pending SMS
by Sylvain Munaut
· 15 years ago
d5778fc
[db] Fix queries for unsent SMS
by Sylvain Munaut
· 15 years ago
4669f3d
fix compile warning in db.c
by Harald Welte
· 15 years ago
d409be7
change some identifiers from u_int64_t to unsigned long long
by Harald Welte
· 15 years ago
2657abf
[db] Fix compile warnings in db.c
by Holger Hans Peter Freyther
· 15 years ago
2223025
[tmsi] Make the tmsi a 4 octet number
by Holger Hans Peter Freyther
· 15 years ago
55726d7
Use correct capitalization on SQL statements
by Harald Welte
· 15 years ago
ee4410a
actual code running at end of har2009
by Harald Welte (local)
· 15 years ago
026531e
store all APDU's received from the MS in the database
by Harald Welte (local)
· 15 years ago
db552c5
don't try to deliver sms to a subscriber that's not registered
by Harald Welte (local)
· 15 years ago
3feef25
fix token allocation sql strings
by Harald Welte (local)
· 15 years ago
f0b4cef
fix random extension generation
by Jan Luebbe
· 15 years ago
9eca37f
fix problems with tmsi uniqueness in the subscriber table
by Jan Luebbe
· 15 years ago
1da59ed
fix a wrong format specifier
by Jan Luebbe
· 15 years ago
ebcce2a
allocate an extension when creating the subscriber
by Jan Luebbe
· 15 years ago
31bef49
token support in the DB
by Jan Luebbe
· 15 years ago
b0dfc31
flag new subscriber structs in memory and send a signal
by Jan Luebbe
· 15 years ago
850326e
db.c: Move the schema revision check after creating the tables
by Holger Hans Peter Freyther
· 15 years ago
966de68
db: Fix warning about truncating the size
by Holger Hans Peter Freyther
· 15 years ago
34e9749
misc: Add prototypes to header files, include more header files
by Holger Hans Peter Freyther
· 15 years ago
2ebabca
new db_sms_get_unsent_for_subscr() function
by Harald Welte
· 15 years ago
d0b7b77
add ud_hdr_ind to SMS table
by Harald Welte
· 15 years ago
7604218
first 'working' SMS implementation
by Harald Welte
· 15 years ago
f3efc59
further steps towards better, transaction based SMS
by Harald Welte
· 15 years ago
9176bd4
make sure subscr->net is always set
by Harald Welte
· 15 years ago
f0465bd
Merge branch 'master' into sms
by Harald Welte
· 15 years ago
c2e302d
Store classmark1/2/3 in equipment SQL table
by Harald Welte
· 15 years ago
be3e378
further SMS work
by Harald Welte
· 15 years ago
b9c758b
more SMS improvements
by Harald Welte
· 15 years ago
13e10da
move openbsc into its own subdirectory
by Harald Welte
· 15 years ago
[Renamed from src/db.c]
9175447
db.c: tmsi may be empty so put it into '' to make that obvoius (Andreas Eversberg)
by Holger Freyther
· 15 years ago
c7b86f9
Revert "[db] Keep track of the current gsm_network"
by Holger Freyther
· 15 years ago
c2995ea
[db] Introduce a VLR database here
by Holger Freyther
· 16 years ago
1d506c8
[db] Make the db connection static
by Holger Freyther
· 16 years ago
36650b8
[db] Keep track of the current gsm_network
by Holger Freyther
· 16 years ago
d4cb79f
[db] Remove FIXME as it is fixed...
by Holger Freyther
· 16 years ago
7e310b1
Store incoming SMS into SQL database
by Harald Welte
· 16 years ago
b4064bc
[db] Introduce a table for SMS
by Holger Freyther
· 16 years ago
1ef983b
[db] Print the type and id of the not found provider
by Holger Freyther
· 16 years ago
9c564b8
introduce lookup of subscribers based on their extension number
by Holger Freyther
· 16 years ago
ca362a6
Make gcc happy and remove a couple of warnings
by Holger Freyther
· 16 years ago
12aa50d
Change the subscriber and database backend
by Holger Freyther
· 16 years ago
523200b
update the timestamp in the db
by Harald Welte
· 16 years ago
bde3610
make it optional where the hlr database is stored
by Holger Freyther
· 16 years ago
3444ddb
fix typo in debug message
by Jan Luebbe
· 16 years ago
391d86e
add extension field to subscriber struct and name column to db
by Jan Luebbe
· 16 years ago
75a983f
* add database handling * fix IMSI handling
by Harald Welte
· 16 years ago
e30dbb3
also track creation and update time for subscriber and equipment
by Jan Luebbe
· 16 years ago
fac25fc
add a equipment table
by Jan Luebbe
· 16 years ago
6e2e545
add authorized state to subscribers in db
by Jan Luebbe
· 16 years ago
7eda3ab
remove db debug output
by Jan Luebbe
· 16 years ago
5c15c85
rewrite db backend
by Jan Luebbe
· 16 years ago
faaa49c
db: add GPL headers and integrate with autofoo
by Jan Luebbe
· 16 years ago
7398eb9
add first sketch of a DB backend
by Jan Luebbe
· 16 years ago