get_provider_type
static int get_provider_type(char *);
provider->cp_type = get_provider_type(provider->cp_name);