ec_control_register_command_allsched

March 26, 2020 Contributors

Name

ec_control_register_command_allsched — Register a command handler (deprecated)

Synopsis

#include "control.h"

| void **ec_control_register_command_allsched** ( | prefix, |   |
|   | closure, |   |
|   | func); |   |

const char * <var class="pdparam">prefix</var>;
void * <var class="pdparam">closure</var>;
ec_control_function <var class="pdparam">func</var>;

Description

Register a command handler (deprecated).

Deprecated

Momentum 3.0 offers better APIs. See ec_control_register_command3 and ec_control_register_command2.