Dispatcher of functions. More...
#include "config.h"#include <stddef.h>#include "mutt/lib.h"#include "dispatcher.h"#include "key/lib.h"Go to the source code of this file.
Functions | |
| const char * | dispatcher_get_retval_name (int rv) |
| Get the name of a return value. | |
| void | dispatcher_flush_on_error (int rv) |
| Flush pending keys after a dispatch error. | |
Variables | |
| static const struct Mapping | RetvalNames [] |
| Lookup for function results. | |
Dispatcher of functions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dispatcher.c.
| const char * dispatcher_get_retval_name | ( | int | rv | ) |
Get the name of a return value.
| rv | Return value, e.g. FR_ERROR |
| str | Name of the retval |
| "" | Error |
Definition at line 55 of file dispatcher.c.
| void dispatcher_flush_on_error | ( | int | rv | ) |
Flush pending keys after a dispatch error.
| rv | Return value, e.g. FR_ERROR |
Definition at line 65 of file dispatcher.c.
|
static |
Lookup for function results.
Definition at line 36 of file dispatcher.c.