Skip to main content

Name

control_post_command

Synopsis

#include "hooks/core/control_post_command.h"

| void **control_post_command** ( | closure, |   | |   | cc, |   | |   | response); |   |

void * <var class="pdparam">closure</var>; command_construct * <var class="pdparam">cc</var>; string * <var class="pdparam">response</var>;

| int **has_core_control_post_command_hook** ( | ); |   |

| void **register_core_control_post_command_hook_first** ( | hook, |   | |   | closure); |   |

ec_hook_core_control_post_command_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **register_core_control_post_command_hook_last** ( | hook, |   | |   | closure); |   |

ec_hook_core_control_post_command_func_t <var class="pdparam">hook</var>; void *<var class="pdparam">closure</var>;

| void **call_core_control_post_command_hook** ( | cc, |   | |   | response); |   |

command_construct * <var class="pdparam">cc</var>; string * <var class="pdparam">response</var>;

Description

Given cc, hooks registered here can perform tasks after the control command processing has completed. response is provided for output handed back to the console client.

Was this page helpful?