This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/21804 ) Change subject: vty: export vty_e1d + move e1d_vty_node to header file ...................................................................... vty: export vty_e1d + move e1d_vty_node to header file This will be required by osmo-e1gen Change-Id: I5be0278bc07aadd154fc54a74b08fc7e3b5d6483 --- M src/e1d.h M src/vty.c 2 files changed, 7 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/04/21804/1 diff --git a/src/e1d.h b/src/e1d.h index a12b5de..b4bb754 100644 --- a/src/e1d.h +++ b/src/e1d.h @@ -27,6 +27,12 @@ #include <osmocom/core/isdnhdlc.h> #include <osmocom/core/linuxlist.h> #include <osmocom/core/rate_ctr.h> +#include <osmocom/vty/command.h> + +enum e1d_vty_node { + E1D_NODE = _LAST_OSMOVTY_NODE + 1, + LINE_NODE +}; enum e1d_line_ctr { LINE_CTR_LOS, diff --git a/src/vty.c b/src/vty.c index c145a9d..10bf67d 100644 --- a/src/vty.c +++ b/src/vty.c @@ -39,11 +39,7 @@ #include <osmocom/e1d/proto.h> #include "e1d.h" -static struct e1_daemon *vty_e1d; - -enum e1d_vty_node { - E1D_NODE = _LAST_OSMOVTY_NODE + 1, -}; +struct e1_daemon *vty_e1d; static struct cmd_node e1d_node = { (enum node_type) E1D_NODE, -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/21804 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I5be0278bc07aadd154fc54a74b08fc7e3b5d6483 Gerrit-Change-Number: 21804 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201219/369074ad/attachment.htm>