Holger Hans Peter Freyther
08aaded3b8
vty: Add functions to access index and node
...
It is easier to call these two functions from bindings than
wrapping the vty structure and figuring out the alignment of
the enum on all different ABIs.
2010-09-14 02:24:03 +08:00
Holger Hans Peter Freyther
2e228fc2af
vty: Use the copyright string from the app_info.
2010-09-11 13:41:41 +08:00
Holger Hans Peter Freyther
e25b18aa29
vty: Link osmovty to osmocore as it is using the symbols
...
Use SUBDIRS to build src first and the src/vty. We will need
to find the right way add the dependencies.
2010-09-11 03:58:37 +08:00
Holger Hans Peter Freyther
8304b1e3e9
vty: Everything <= CONFIG_NODE is not a child of config
...
The method should be renamed to is child of config node
as it was comparing if vty->node > CONFIG_NODE. This is
fixing an assert in go_to_parent as we tried to find a
parent for the CONFIG_NODE.
2010-09-04 11:22:45 +08:00
Holger Hans Peter Freyther
3e85e8dba9
vty: Handle nodes part of the lib in the lib, for the rest call the callback
2010-08-26 15:00:52 +08:00
Holger Hans Peter Freyther
8f09f01380
vty: Add a new callback to let code decide if it is a config node or not
2010-08-26 15:00:52 +08:00
Holger Hans Peter Freyther
50cfb780d2
vty: Move the assumption of the config nodes into a function
...
Move the assumption that something is a child of the CONFIG_NODE
into a new function. The next step will be to use something else
for that.
2010-08-26 15:00:52 +08:00
Andreas Eversberg
33f0fc3c95
[VTY] add support for numeric ranges with negative numbers
...
This enables us to do something like <-128-127> as a numeric range.
2010-07-13 13:50:39 +02:00
Harald Welte
544037700c
add configure option '--disable-vty' to prevent building libosmovty
2010-05-29 11:49:51 +02:00
Harald Welte
237f6241f2
[VTY] Introduce "struct vty_app_info" for vty_init() function
2010-05-25 23:38:19 +02:00
Harald Welte
4ebdf74728
rename log_info to osmo_log_info to avoid namespace clash with app
2010-05-25 22:28:40 +02:00
Harald Welte
3fb0b6f26e
Create libosmovty as library from OpenBSC VTY functions
2010-05-25 22:28:39 +02:00