Improved channel support.
This commit is contained in:
@ -137,8 +137,11 @@ int NeoComm_join_channel(const char *channel_name);
|
||||
* @brief Leave a channel.
|
||||
*
|
||||
* @param channel_name Name of the channel to disconnect from.
|
||||
*
|
||||
* @return 1 upon success, 0 upon failure. Use NeoComm_get_last_error for a
|
||||
* text description of the error.
|
||||
*/
|
||||
void NeoComm_leave_channel(const char *channel_name);
|
||||
int NeoComm_leave_channel(const char *channel_name);
|
||||
|
||||
/**
|
||||
* @brief Get the next available message (in chronological order) for
|
||||
@ -189,7 +192,8 @@ int NeoComm_check_message(const time_t token);
|
||||
/**
|
||||
* @brief Get the last error that occurred in text.
|
||||
*
|
||||
* @return A string with the last error occurred.
|
||||
* @return A string with the last error occurred, if there are no errors it
|
||||
* return NULL.
|
||||
*/
|
||||
const char *NeoComm_get_last_error();
|
||||
|
||||
|
Reference in New Issue
Block a user