Skip to main content

ec_control_register_command

Last updated March 2020

Name

ec_control_register_command — Register a command handler (deprecated)

Synopsis

#include "control.h"

| void **ec_control_register_command** ( | 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.

Was this page helpful?