Added getter functions.

This commit is contained in:
Nicolás Ortega Froysa
2017-11-18 10:59:00 +01:00
parent 5c5adbc109
commit c8964ad81a
2 changed files with 28 additions and 0 deletions

View File

@ -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.