gtp: Add a global region for the gtp library of OpenGGSN

We want to use libosmocore/libosmovty in the GGSN sourcecode
and reserve a global region here.
This commit is contained in:
Holger Hans Peter Freyther 2014-12-04 14:35:21 +01:00
parent 9f0f978c8d
commit a5dc19dc40
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#library what description / commit summary line
libosmocore abi-change logging: Add ability to save/print current log filters
libosmocore abi-change gtp: Add a global region for the gtp library of OpenGGSN
libosmovty abi-change vty: Check with the application before writing the config

View File

@ -68,7 +68,8 @@ void logp(int subsys, const char *file, int line, int cont, const char *format,
#define DLMIB -6
#define DLSMS -7
#define DLCTRL -8
#define OSMO_NUM_DLIB 8
#define DLGTP -9
#define OSMO_NUM_DLIB 9
struct log_category {
uint8_t loglevel;

View File

@ -111,6 +111,11 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.description = "Control Interface",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
[INT2IDX(DLGTP)] = {
.name = "DLGTP",
.description = "GPRS GTP library",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
};
/*! \brief descriptive string for each log level */