gchar* afdal_naming_service_get_host gchar *  service  ) 
 

Gets host part from the given service name.

According to service naming convection defined here host part is the very first string following to the first "::" ocurrence.

Parameters:
service The service name to get current host part.
Returns:
Host part or NULL if fail.