config_get_binding_id_from_name

March 26, 2020 Contributors

Name

config_get_binding_id_from_name — Get the identifier associated with a binding name

Synopsis

#include "ec_config.h"

| ec_binding_slot **config_get_binding_id_from_name** ( | name); |   |

const char * <var class="pdparam">name</var>;

Description

Get the identifier associated with a binding name.

Parameters

name

The name of the binding.

Return Values

This function returns a binding identifier. An ec_binding_slot is defined as typedef int ec_binding_slot;.

Threading

It is legal to call this function in any thread.

See Also

config_get_binding_name_from_id