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 submitted this change. ( 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(-) Approvals: Jenkins Builder: Verified tnt: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/e1d.h b/src/e1d.h index f02f397..9848df4 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 +}; #define line_ctr_add(line, idx, add) rate_ctr_add(&(line)->ctrs->ctr[idx], add) diff --git a/src/vty.c b/src/vty.c index cc45773..da3d005 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: 5 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: tnt <tnt at 246tNt.com> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201227/31700e9c/attachment.htm>