libosmocore/src/vty
Vadim Yanitskiy 99d5c2d721 vty/command: add CMD_ATTR_LIB_COMMAND and install() API wrappers
This new attribute would allow to distinguish commands provided
by libraries from commands registered by the application itself,
so vty_dump_element() would print proper description for the
library specific attributes.

All VTY commands defined by the libraries need to use the new API:

  - install_lib_element(), and
  - install_lib_element_ve,

instead of the old functions (respectively):

  - install_element(), and
  - install_element_ve().

See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html.

Change-Id: I8baf31ace93c536421893c2aa4e3d9d298dcbcc6
Related: SYS#4937
2020-10-06 00:22:06 +07:00
..
Makefile.am vty: Introduce support to set cpu-affinity and scheduler policy 2020-08-10 14:11:18 +00:00
buffer.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
command.c vty/command: add CMD_ATTR_LIB_COMMAND and install() API wrappers 2020-10-06 00:22:06 +07:00
cpu_sched_vty.c vty: fix 'Unsigned compared against 0' generate_cpu_hex_mask() 2020-09-11 20:14:34 +07:00
fsm_vty.c ctrl/vty: fsm: use correct element when iterating over fsm->proc.children 2018-07-29 14:35:00 +00:00
logging_vty.c logging_vty: set osmo_stderr_target to NULL on "no log stderr" 2020-09-29 16:58:22 +00:00
stats_vty.c stats: Add stats commands related to testing 2020-07-17 16:41:31 +00:00
talloc_ctx_vty.c vty/talloc_ctx_vty.c: use REG_NOSUB flag of regcomp() 2019-04-11 00:24:55 +00:00
tdef_vty.c tdef_vty: do not enforce enum 'node_type' in osmo_tdef_vty_groups_init() 2020-02-06 01:06:14 +07:00
telnet_interface.c vty/telnet_interface.c: log connection accept() / close() events 2019-07-30 17:17:15 +00:00
utils.c stop printing group description in vty_out_rate_ctr_group_fmt() 2018-10-29 13:48:47 +00:00
vector.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
vty.c vty: check for reserved flags in application specific attributes 2020-10-06 00:14:18 +07:00