mirror of https://gerrit.osmocom.org/libosmocore
vty: move struct vty_parent_node to private API
Change-Id: Id2070f03b09feea966c5342361d409551e557d38
This commit is contained in:
parent
67d84d2131
commit
e4b84738b5
|
@ -9,3 +9,4 @@
|
|||
#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)
|
||||
libosmovty drop API drop struct vty_parent_node from public API, it should never have been public
|
||||
|
|
|
@ -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) */
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue