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/.
Vadim Yanitskiy gerrit-no-reply at lists.osmocom.orgVadim Yanitskiy has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/20463 ) Change subject: vty: introduce and use VTY_CMD_USR_ATTR_NUM ...................................................................... vty: introduce and use VTY_CMD_USR_ATTR_NUM Change-Id: Ib4327835f5be264ef67a01d8f4733dd2d091eaf1 Related: SYS#4937 --- M include/osmocom/vty/vty.h 1 file changed, 5 insertions(+), 2 deletions(-) Approvals: laforge: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h index fcef08e..9cadb7a 100644 --- a/include/osmocom/vty/vty.h +++ b/include/osmocom/vty/vty.h @@ -28,6 +28,9 @@ #define VTY_BUFSIZ 512 #define VTY_MAXHIST 20 +/* Number of application / library specific VTY attributes */ +#define VTY_CMD_USR_ATTR_NUM 32 + /*! VTY events */ enum event { VTY_SERV, @@ -193,9 +196,9 @@ /*! Check if the config is consistent before write */ int (*config_is_consistent)(struct vty *vty); /*! Description of the application specific VTY attributes (optional). */ - const char * usr_attr_desc[32]; + const char * usr_attr_desc[VTY_CMD_USR_ATTR_NUM]; /*! Flag letters of the application specific VTY attributes (optional). */ - char usr_attr_letters[32]; + char usr_attr_letters[VTY_CMD_USR_ATTR_NUM]; }; /* Prototypes. */ -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/20463 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib4327835f5be264ef67a01d8f4733dd2d091eaf1 Gerrit-Change-Number: 20463 Gerrit-PatchSet: 2 Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201006/edb6020a/attachment.htm>