aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty
AgeCommit message (Collapse)AuthorFilesLines
2010-04-30[vty] Free the matched at the end of the routine.Holger Hans Peter Freyther1-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 Freyther1-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 Freyther2-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 Freyther1-5/+5
2010-04-30[vty] Remove FIXME as it appears to do the right thing.Holger Hans Peter Freyther1-2/+1
2010-04-06Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-1/+1
* Move to the new log code and update binaries * Catch up with lchan changes from master Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/src/Makefile.am openbsc/src/bsc_rll.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_04_08.c openbsc/src/gsm_04_11.c openbsc/src/gsm_subscriber_base.c openbsc/src/handover_logic.c openbsc/src/silent_call.c openbsc/src/transaction.c openbsc/src/vty_interface.c openbsc/src/vty_interface_cmds.c
2010-04-05[mgcp] Fix navigation in the vty hierachy (make exit work)Holger Hans Peter Freyther1-0/+3
Make exit from the MGCP node work properly.
2010-04-05nat: Fix navigation inside the config structure (fix exit)Holger Hans Peter Freyther1-0/+9
Make sure exit in nat and nat/bsc is working and we go one level up.
2010-03-29[misc] Remove whitespace from the end of the line.Holger Hans Peter Freyther1-1/+1
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther1-2/+3
Keep a static version as the shell script is not dealing well with branch tags/names containing text. Resolve merge conflict in the Makefile.am by adding both sides to the list of sources for the libbsc.a Conflicts: openbsc/configure.in openbsc/src/Makefile.am
2010-03-24Merge remote branch 'origin/master' into on-waves/bsc-masterHolger Hans Peter Freyther4-30/+36
* Move to libosmocore * Move to new debugging architecture * Register the BTS types * Has only been compile tested Conflicts: openbsc/include/openbsc/Makefile.am openbsc/include/openbsc/gsm_data.h openbsc/include/openbsc/ipaccess.h openbsc/include/openbsc/mgcp.h openbsc/include/openbsc/msgb.h openbsc/include/openbsc/tlv.h openbsc/src/Makefile.am openbsc/src/abis_rsl.c openbsc/src/bsc_init.c openbsc/src/bsc_mgcp.c openbsc/src/chan_alloc.c openbsc/src/debug.c openbsc/src/gsm_subscriber_base.c openbsc/src/msgb.c openbsc/src/rest_octets.c openbsc/src/sccp/sccp.c openbsc/src/vty/command.c openbsc/src/vty_interface.c openbsc/tests/Makefile.am
2010-03-23automatically include program version and print it from vty and --versionHarald Welte1-2/+3
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte4-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
2010-02-08[nat] Add VTY support to the BSC nat applicationHolger Hans Peter Freyther1-0/+8
* Create struct bsc_nat and move the various lists into this structure * Create the VTY code * Call the VTY init and parsing code * Create functions to create the types.. * Add some stuff into the bsc_connection to be used for the NAT with proper config files. E.g. to close the connection if the BSC does not respond to a given command.
2009-12-24vty: sub-divide talloc contexts and include them in talloc reportHarald Welte3-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() somethingHarald Welte1-0/+2
2009-08-15move talloc context creation out of on_dso / constructorsHarald 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-12vty/command: Use CONFIGFILE_MASK as mask in chmod and not as mode.Stefan Schmidt1-1/+1
2009-08-10vty: Avoid implicit declaration warning and check result codeHolger Hans Peter Freyther1-3/+8
2009-08-10vty: Fix format string issueHolger Hans Peter Freyther1-1/+1
2009-08-10vty: Make the argument constHolger Hans Peter Freyther1-1/+1
2009-08-08the actual config file code (not just config files)Harald Welte2-89/+47
this was missing from commit a08a9acdb6bff0ee4fdf0f58b78b6525017a1f9f
2009-08-07introduce new GSMNET node for the GSM networkHarald Welte1-2/+10
2009-08-07add support for reading of configuration file to VTYHarald Welte2-5/+49
2009-08-07ensure vty code uses talloc_strdup() rather than regular strdupHarald Welte1-22/+15
2009-08-07use one talloc context for entire vty codeHarald Welte4-40/+21
2009-08-07switch vty implementation over to tallocHarald Welte4-88/+138
2009-08-06don't define zencrypt function if VTY_CRYPT is not definedHarald Welte1-0/+2
2009-08-06re-enable config file handling of vty layerHarald Welte1-9/+4
2009-07-29vty/command.c: Fix compile warning by including gsm_subsriber.hHolger Hans Peter Freyther1-0/+1
2009-06-26add FIXME about memory leak every time we close telnetHarald Welte1-0/+3
2009-06-10move openbsc into its own subdirectoryHarald Welte5-0/+5701