mirror of https://gerrit.osmocom.org/libosmocore
command: add library command attribute for libosmo-sccp
Change-Id: I4439a414af05700cb1ccff7e7e5927ffc194d171 Related: SYS#4937, OS#1601
This commit is contained in:
parent
c0745ebc28
commit
608b1a40ff
|
@ -152,6 +152,7 @@ enum {
|
|||
* 2. Brevity: shortenings and abbreviations are welcome!
|
||||
* 3. Values are not flags but indexes, unlike CMD_ATTR_*.
|
||||
* 4. Ordering: new entries added before _OSMO_CORE_LIB_ATTR_COUNT. */
|
||||
OSMO_SCCP_LIB_ATTR_RSTRT_ASP,
|
||||
|
||||
/* Keep this floating entry last, it's needed for count check. */
|
||||
_OSMO_CORE_LIB_ATTR_COUNT
|
||||
|
|
|
@ -635,12 +635,15 @@ static const struct value_string cmd_attr_desc[] = {
|
|||
static const char * const cmd_lib_attr_desc[32] = {
|
||||
/* [OSMO_LIBNAME_LIB_ATTR_ATTRNAME] = \
|
||||
* "Brief but meaningful description", */
|
||||
[OSMO_SCCP_LIB_ATTR_RSTRT_ASP] = \
|
||||
"This command applies on ASP restart",
|
||||
};
|
||||
|
||||
/* Flag letters of attributes shared between the lib commands.
|
||||
* NOTE: uppercase letters only, the rest is reserved for applications. */
|
||||
static const char cmd_lib_attr_letters[32] = {
|
||||
/* [OSMO_LIBNAME_LIB_ATTR_ATTRNAME] = 'X', */
|
||||
[OSMO_SCCP_LIB_ATTR_RSTRT_ASP] = 'A',
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue