Added getter functions.
This commit is contained in:
@ -143,6 +143,21 @@ int NeoComm_join_channel(const char *channel_name);
|
||||
*/
|
||||
int NeoComm_leave_channel(const char *channel_name);
|
||||
|
||||
/**
|
||||
* @brief Retrieve a list of the channels that the client is listening to.
|
||||
*
|
||||
* @return A list of channels separated by spaces.
|
||||
*/
|
||||
const char *NeoComm_get_channel_list();
|
||||
|
||||
/**
|
||||
* @brief Retrieve the current number of channels that the client is listening
|
||||
* to.
|
||||
*
|
||||
* @return The number of channels the client is listening to.
|
||||
*/
|
||||
unsigned int NeoComm_get_num_channels();
|
||||
|
||||
/**
|
||||
* @brief Get the next available message (in chronological order) for
|
||||
* a given channel.
|
||||
|
Reference in New Issue
Block a user