summaryrefslogtreecommitdiffstats
path: root/src/ctrl/control_cmd.c
Commit message (Collapse)AuthorAgeFilesLines
* ctrl: Avoid accessing cmd_desc->command out of boundsHolger Hans Peter Freyther2015-04-051-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 Welte2014-08-241-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 staticHarald Welte2014-08-211-2/+2
|
* libctrl: Add DLCTRL as logging context for the control interfaceHarald Welte2014-08-211-15/+15
| | | | ... and make libctrl code use it
* libctrl: remove openbsc headers, convert from make_sock to libosmocoreHarald Welte2014-08-211-3/+1
|
* libctr: rename/move control interface to libosmocore naming schemeHarald Welte2014-08-211-0/+491