Revision 4903de0c monitor.c

b/monitor.c
335 335
    return cmd->user_print != NULL;
336 336
}
337 337

  
338
static inline bool monitor_handler_is_async(const mon_cmd_t *cmd)
338
static inline bool handler_is_async(const mon_cmd_t *cmd)
339 339
{
340 340
    return cmd->flags & MONITOR_CMD_ASYNC;
341 341
}
......
652 652
        goto help;
653 653
    }
654 654

  
655
    if (monitor_handler_is_async(cmd)) {
655
    if (handler_is_async(cmd)) {
656 656
        user_async_info_handler(mon, cmd);
657 657
    } else if (handler_is_qobject(cmd)) {
658 658
        QObject *info_data = NULL;
......
3914 3914
    if (!cmd)
3915 3915
        goto out;
3916 3916

  
3917
    if (monitor_handler_is_async(cmd)) {
3917
    if (handler_is_async(cmd)) {
3918 3918
        user_async_cmd_handler(mon, cmd, qdict);
3919 3919
    } else if (handler_is_qobject(cmd)) {
3920 3920
        monitor_call_handler(mon, cmd, qdict);
......
4411 4411
{
4412 4412
    QObject *ret_data = NULL;
4413 4413

  
4414
    if (monitor_handler_is_async(cmd)) {
4414
    if (handler_is_async(cmd)) {
4415 4415
        qmp_async_info_handler(mon, cmd);
4416 4416
        if (monitor_has_error(mon)) {
4417 4417
            monitor_protocol_emitter(mon, NULL);
......
4485 4485

  
4486 4486
    if (query_cmd) {
4487 4487
        qmp_call_query_cmd(mon, cmd);
4488
    } else if (monitor_handler_is_async(cmd)) {
4488
    } else if (handler_is_async(cmd)) {
4489 4489
        err = qmp_async_cmd_handler(mon, cmd, args);
4490 4490
        if (err) {
4491 4491
            /* emit the error response */

Also available in: Unified diff