Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ctrl: Avoid accessing cmd_desc->command out of bounds | Holger Hans Peter Freyther | 2015-04-05 | 1 | -1/+1 |
| | | | | | | | | We check that the amount of commands is not more than we have but we don't check it the other way. It appears that the vector is allowed to be bigger than the amount of commands. So we match a prefix of a longer command depending on the installation order. | ||||
* | libctrl: Add support for 'deferred control commands' | Harald Welte | 2014-08-24 | 1 | -0/+60 |
| | | | | | | | | | | | | | | Sometimes a control interface command cannot be processed and responded immediately, but we need to process it asynchronously. In order to support this, we introduce the 'ctrl_cmd_def', which represents such a deferred command. It is created by the service implementing the command using ctrl_cmd_def_make(), and a response is later sent using ctrl_cmd_def_send(). ctrl_cmd_def_is_zombie() must be called to handle the case where the control connection has disconnected/died between receiving the command and sending the response. | ||||
* | libctrl: Make two internal helper functions static | Harald Welte | 2014-08-21 | 1 | -2/+2 |
| | |||||
* | libctrl: Add DLCTRL as logging context for the control interface | Harald Welte | 2014-08-21 | 1 | -15/+15 |
| | | | | ... and make libctrl code use it | ||||
* | libctrl: remove openbsc headers, convert from make_sock to libosmocore | Harald Welte | 2014-08-21 | 1 | -3/+1 |
| | |||||
* | libctr: rename/move control interface to libosmocore naming scheme | Harald Welte | 2014-08-21 | 1 | -0/+491 |