add_OCF_env_vars(tmp_for_setenv, NULL, rsc_type, provider);
add_OCF_env_vars(tmp_for_setenv, "DUMMY_INSTANCE", rsc_type, provider);
get_resource_meta(const char* rsc_type, const char* provider){	const int BUFF_LEN=4096;	int read_len = 0;	char buff[BUFF_LEN];	char* data = NULL;	GString* g_str_tmp = NULL;	char ra_pathname[RA_MAX_NAME_LENGTH];	FILE* file = NULL;	GHashTable * tmp_for_setenv;	get_ra_pathname(RA_PATH, rsc_type, provider, ra_pathname);	strncat(ra_pathname, " meta-data",RA_MAX_NAME_LENGTH);	tmp_for_setenv = g_hash_table_new(g_str_hash, g_str_equal);	add_OCF_env_vars(tmp_for_setenv, NULL, rsc_type, provider);	raexec_setenv(tmp_for_setenv);	g_hash_table_foreach_remove(tmp_for_setenv, let_remove_eachitem, NULL);	g_hash_table_destroy(tmp_for_setenv);	file = popen(ra_pathname, "r");	if (NULL==file) {		return NULL;	}	g_str_tmp = g_string_new("");	while(!feof(file)) {		memset(buff, 0, BUFF_LEN);		read_len = fread(buff, 1, BUFF_LEN, file);		if (0<read_len) {			g_string_append(g_str_tmp, buff);		}		else {			sleep(1);		}	}	data = (char*)g_new(char, g_str_tmp->len+1);	data[0] = data[g_str_tmp->len] = 0;	strncpy(data, g_str_tmp->str, g_str_tmp->len);	g_string_free(g_str_tmp, TRUE);		pclose(file);	return data;	}