src/client_list.c
int checkClientStatus(char *serviceName)
{
	reg_list_item_t *temp = NULL;
	temp = get_global_node();
	while (NULL != temp)
	{
		ParodusPrint("node is pointing to temp->service_name %s \n",temp->service_name);
		// Sending message to registered clients
		if( strcmp(serviceName, temp->service_name) == 0)
		{
			release_global_node ();
			return 1;
		}
		ParodusPrint("checking the next item in the list\n");
		temp= temp->next;
	}
	release_global_node ();
	return 0;
}
//To check client registration status with parodus.
To check client registration status with parodus.
To check client registration status with parodus .
int checkClientStatus(char *serviceName)
{
	reg_list_item_t *temp = NULL;
	temp = get_global_node();
	while (NULL != temp)
	{
		ParodusPrint("node is pointing to temp->service_name %s \n",temp->service_name);
		if( strcmp(serviceName, temp->service_name) == 0)
		{
			release_global_node ();
			return 1;
		}
		ParodusPrint("checking the next item in the list\n");
		temp= temp->next;
	}
	release_global_node ();
	return 0;
}
int checkClientStatus ( char * serviceName ) { reg_list_item_t * temp = NULL ; temp = get_global_node ( ) ; while ( NULL != temp ) { ParodusPrint ( " \n " , temp -> service_name ) ; if ( strcmp ( serviceName , temp -> service_name ) == 0 ) { release_global_node ( ) ; return 1 ; } ParodusPrint ( " \n " ) ; temp = temp -> next ; } release_global_node ( ) ; return 0 ; }
To check client registration status with parodus.
To check client registration status with parodus .
// Sending message to registered clients