Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-25 | Migrate VTY code to libosmovty | Harald Welte | 5 | -5601/+0 | |
2010-05-16 | VTY: decouple telnet_interface from 'struct gsmnet' | Harald Welte | 1 | -7/+10 | |
We want the VTY and telnet code to be independent from the BSC application(s). As a side note, we also like to eliminate static global variables for 'struct gsm_network' all over the code. As such, telnet_init() is now passed along a "private" pointer, which getst stored in telnet_connection.priv. This telnet_connection is then stored in vty->priv, which in turn gets dereferenced if anyone needs a reference to 'struct gsm_network' from the BSC vty code. Also: * vty_init() now calls cmd_init() * the ugliness that telnet_init() calls back into the application by means of bsc_vty_init() function has been removed. * telnet_init() now returns any errors, so the main program can exit e.g. if the port is already in use. | |||||
2010-05-16 | VTY: remove accidentially enabled TELNET option debugging | Harald Welte | 1 | -1/+0 | |
2010-05-16 | VTY: pass program name, version and copyright to vty_init() | Harald Welte | 3 | -20/+19 | |
This enables us to make the VTY completely independent of any compile-time program-specific information, i.e. one step closer to using VTY as a shared library from multiple programs. | |||||
2010-05-16 | VTY: remove dead code | Harald Welte | 1 | -168/+1 | |
2010-05-16 | vty: use install_node_ve() instead of separate ENABLE and VIEW node installs | Harald Welte | 1 | -4/+2 | |
2010-05-14 | [VTY] Remove OpenBSC specific node-exit handling from src/vty | Harald Welte | 2 | -47/+6 | |
The idea is to move the VTY code into libosmocore at some point, and for that we need to eliminate OpenBSC specifics from it | |||||
2010-05-13 | Add missing file vty/utils.c | Harald Welte | 1 | -0/+50 | |
2010-05-12 | Ensure all 'view' commands are availalbe from 'enable' too | Harald Welte | 1 | -0/+7 | |
2010-05-12 | NS: Add support for persistent NS-VC configuration | Harald Welte | 1 | -0/+1 | |
With persistent NS-VC configuration (configured through VTY), we can respond properly to BSS with a somewhat strange NS implementation Such as the BSplus. It enables us to respond with a proper NS-RESET (including NSVCI/NSEI) when receiving a NS-ALIVE or other PDU for a BLOCKED/DEAD NS-VC after our end of the connection is rebooted. | |||||
2010-05-04 | [gpprs] Add VTY node for SGSN | Harald Welte | 1 | -0/+1 | |
2010-05-04 | gbproxy: add VTY node | Harald Welte | 1 | -0/+1 | |
2010-05-01 | VTY: ensure all cmd_elements are declared 'static' | Harald Welte | 1 | -5/+5 | |
While doing 'nm' on a VTY-using object file I noticed that all cmd_elements are global symbols, which is not good. Unfortuantely there are some vty-internal cmd_elements that need to span across object files, so I had to introduce gDEFUN() and gALIAS(). The old macros now all declare static structures. | |||||
2010-04-30 | [vty] Free the matched at the end of the routine. | Holger Hans Peter Freyther | 1 | -4/+0 | |
Remove the return from the case labels and cleanup at the end matched array at the end of the routine. | |||||
2010-04-30 | [vty] Plug memory leak on auto completion. | Holger Hans Peter Freyther | 1 | -1/+3 | |
I assume the original code crashed with a double free as we have a cleanup at the end of the method. Return from the routine like the case label below. This is fixing a memory leak I am experimenting. | |||||
2010-04-30 | [vty] Allow to create a buffer in a given context. | Holger Hans Peter Freyther | 2 | -4/+4 | |
Stop using the global vty context for all allocations and allow to embed the buffer into a given context, and allocate sub buffers with the context of its parent. | |||||
2010-04-30 | [vty] Move some allocations into the context of the vty. | Holger Hans Peter Freyther | 1 | -5/+5 | |
2010-04-30 | [vty] Remove FIXME as it appears to do the right thing. | Holger Hans Peter Freyther | 1 | -2/+1 | |
2010-04-07 | [mgcp] Fix navigation in the vty hierachy (make exit work) | Holger Hans Peter Freyther | 1 | -0/+3 | |
Make exit from the MGCP node work properly. | |||||
2010-03-29 | [misc] Remove whitespace from the end of the line. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-23 | automatically include program version and print it from vty and --version | Harald Welte | 1 | -2/+3 | |
2010-02-20 | split 'libosmocore' from openbsc codebase | Harald Welte | 4 | -4/+4 | |
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC | |||||
2009-12-24 | vty: sub-divide talloc contexts and include them in talloc report | Harald Welte | 3 | -26/+32 | |
The VTY code makes so many allocations that a full report is simply too long to provide any useful information. So we sub-divide it in multiple contexts, and report only one level deep at SIGURS1. We also introduce SIGUSR2 for the full detailed VTY report. | |||||
2009-12-17 | [vty] ensure we mark fd in writefd once we vty_out() something | Harald Welte | 1 | -0/+2 | |
2009-08-15 | move talloc context creation out of on_dso / constructors | Harald Welte (local) | 1 | -1/+1 | |
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file | |||||
2009-08-12 | vty/command: Use CONFIGFILE_MASK as mask in chmod and not as mode. | Stefan Schmidt | 1 | -1/+1 | |
2009-08-10 | vty: Avoid implicit declaration warning and check result code | Holger Hans Peter Freyther | 1 | -3/+8 | |
2009-08-10 | vty: Fix format string issue | Holger Hans Peter Freyther | 1 | -1/+1 | |
2009-08-10 | vty: Make the argument const | Holger Hans Peter Freyther | 1 | -1/+1 | |
2009-08-08 | the actual config file code (not just config files) | Harald Welte | 2 | -89/+47 | |
this was missing from commit a08a9acdb6bff0ee4fdf0f58b78b6525017a1f9f | |||||
2009-08-07 | introduce new GSMNET node for the GSM network | Harald Welte | 1 | -2/+10 | |
2009-08-07 | add support for reading of configuration file to VTY | Harald Welte | 2 | -5/+49 | |
2009-08-07 | ensure vty code uses talloc_strdup() rather than regular strdup | Harald Welte | 1 | -22/+15 | |
2009-08-07 | use one talloc context for entire vty code | Harald Welte | 4 | -40/+21 | |
2009-08-07 | switch vty implementation over to talloc | Harald Welte | 4 | -88/+138 | |
2009-08-06 | don't define zencrypt function if VTY_CRYPT is not defined | Harald Welte | 1 | -0/+2 | |
2009-08-06 | re-enable config file handling of vty layer | Harald Welte | 1 | -9/+4 | |
2009-07-29 | vty/command.c: Fix compile warning by including gsm_subsriber.h | Holger Hans Peter Freyther | 1 | -0/+1 | |
2009-06-26 | add FIXME about memory leak every time we close telnet | Harald Welte | 1 | -0/+3 | |
2009-06-10 | move openbsc into its own subdirectory | Harald Welte | 5 | -0/+5701 | |