v3_get_channel()
v3_channel *v3_get_channel(uint16_t id);Retrieves a copy of the channel structure for the channel with the specified channel id. This function allocates memory. When the channel structure is no longer needed, you must free the memory by calling v3_free_channel()
Arguments
| Type | Description |
| uint16_t id | A channel id |
Returns
A pointer to the newly allocated memory containing a copy of the channel structure.
