diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2011-07-28 21:02:38 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-07-28 21:02:38 +0200 |
commit | 7a9b3f45b278c5664bd8f76b692febb84dee6a71 (patch) | |
tree | f8fcee858a6008300d42d170739bdbd4ead740c8 /src/shared/libosmocore/include/osmocom/vty/command.h | |
parent | 8d24b2f3953cf6c02ec3ec09a88d152d6993470a (diff) | |
parent | 430be849945688ae107b079db1e216329b1a1f06 (diff) |
Merge commit '430be849945688ae107b079db1e216329b1a1f06'
Diffstat (limited to 'src/shared/libosmocore/include/osmocom/vty/command.h')
-rw-r--r-- | src/shared/libosmocore/include/osmocom/vty/command.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/shared/libosmocore/include/osmocom/vty/command.h b/src/shared/libosmocore/include/osmocom/vty/command.h index caf04142..783a7a2d 100644 --- a/src/shared/libosmocore/include/osmocom/vty/command.h +++ b/src/shared/libosmocore/include/osmocom/vty/command.h @@ -74,6 +74,9 @@ enum node_type { VTY_NODE, /* Vty node. */ + L_E1INP_NODE, /* E1 line in libosmo-abis. */ + L_IPA_NODE, /* IPA proxying commands in libosmo-abis. */ + _LAST_OSMOVTY_NODE }; @@ -134,7 +137,7 @@ struct desc { #define CMD_SUCCESS_DAEMON 10 /* Argc max counts. */ -#define CMD_ARGC_MAX 25 +#define CMD_ARGC_MAX 256 /* Turn off these macros when uisng cpp with extract.pl */ #ifndef VTYSH_EXTRACT_PL @@ -316,7 +319,7 @@ void install_node(struct cmd_node *, int (*)(struct vty *)); void install_default(enum node_type); void install_element(enum node_type, struct cmd_element *); void install_element_ve(struct cmd_element *cmd); -void sort_node(); +void sort_node(void); /* Concatenates argv[shift] through argv[argc-1] into a single NUL-terminated string with a space between each element (allocated using |