Commit Graph

2 Commits

Author SHA1 Message Date
Alexander Couzens 9d7737c4b7 [dbi] session_data(): add argument charging characteristics
Add the charging characteristics to the dbi function to allow the
backend to decide the profile based on it.
The charging characteristics can be filled by the HSS and will
be passed by the PCEF towards the PCRF.

This is an API dbi breakage.
2022-09-12 00:04:54 +02:00
Alexander Couzens 9c66348213 [dbi]: introduce an abstraction layer to allow multiple database backends
The current dbi only supports a single database backend. Add
an abstraction layer to allow multiple database backends.
Introduce a dbi backend struct containing all database functions.
2022-09-11 19:29:04 +02:00