diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-22 00:28:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-24 16:52:54 +0200 |
commit | 39c9e7b471f29ec1df8b4fc407bb3fe2ac96cb9e (patch) | |
tree | de138b59f02a0d4d1a4a89dd59f125154eac3692 /include/osmocom/gprs | |
parent | 5e21131c8dd37a536ec7df968d602c2c85580c39 (diff) |
libctrl: Add support for 'deferred control commands'
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.
Diffstat (limited to 'include/osmocom/gprs')
0 files changed, 0 insertions, 0 deletions