[−][src]Function kpal_plugin::attribute_name
pub extern "C" fn attribute_name<T: PluginAPI<E>, E: PluginError>(
peripheral: *const Peripheral,
id: size_t,
buffer: *mut c_uchar,
length: size_t
) -> c_int
Writes the name of an attribute to a buffer that is provided by the caller.
This function returns a status code that indicates whether the operation succeeded and the cause of any possible errors.
Arguments
peripheral- A pointer to a peripheral structid- The id of the attributebuffer- A buffer of bytes into which the attribute's name will be writtenlength- The length of the buffer