library/src/webchat/BP-WebChat.cc
// Adds a user to a channel
Adds a user to a channel
Adds a user to a channel
BP_ERROR_T BP_WebChatUserAddToChannel
(
	P_BP_WEBCHAT       webchat,
	P_BP_HTTPD_USER    user,
	char              *channel_name
)
{
	if(!webchat)
		return ERR_FAILURE;
	if(!user)
		return ERR_FAILURE;
	if(!channel_name)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
BP_ERROR_T BP_WebChatUserAddToChannel ( P_BP_WEBCHAT webchat , P_BP_HTTPD_USER user , char * channel_name ) { if ( ! webchat ) return ERR_FAILURE ; if ( ! user ) return ERR_FAILURE ; if ( ! channel_name ) return ERR_FAILURE ; return ERR_SUCCESS ; }
Adds a user to a channel
Adds a user to a channel
// run basic null checks // return indicating success