vty: move struct vty_parent_node to private API

Change-Id: Id2070f03b09feea966c5342361d409551e557d38
This commit is contained in:
Neels Hofmeyr 2023-05-03 02:31:16 +02:00 committed by neels
parent 67d84d2131
commit e4b84738b5
3 changed files with 17 additions and 16 deletions

View File

@ -8,4 +8,5 @@
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
libosmogsm new header osmocom/gsm/protocol/gsm_44_060.h
libosmocore ADD new defines in osmocom/gsm/protocol/gsm_04_08.h (old ones marked deprecated)
libosmocore ADD new defines in osmocom/gsm/protocol/gsm_04_08.h (old ones marked deprecated)
libosmovty drop API drop struct vty_parent_node from public API, it should never have been public

View File

@ -56,21 +56,6 @@ enum vty_type {
VTY_SHELL_SERV
};
struct vty_parent_node {
struct llist_head entry;
/*! private data, specified by creator */
void *priv;
void *index;
/*! Node status of this vty */
int node;
/*! When reading from a config file, these are the indenting characters expected for children of
* this VTY node. */
char *indent;
};
/*! Internal representation of a single VTY */
struct vty {
/*! underlying file (if any) */

View File

@ -77,6 +77,21 @@ vector cmdvec;
/* Host information structure. */
struct host host;
struct vty_parent_node {
struct llist_head entry;
/*! private data, specified by creator */
void *priv;
void *index;
/*! Node status of this vty */
int node;
/*! When reading from a config file, these are the indenting characters expected for children of
* this VTY node. */
char *indent;
};
/* Standard command node structures. */
struct cmd_node auth_node = {
AUTH_NODE,