/* Allocates new envlist and returns pointer to that or NULL in case of error.  */
envlist_t* envlist_create(void)
/* Allocates new envlist and returns pointer to that or NULL in case of error.  */
envlist_t* envlist_create(void)
{
	envlist_t *envlist;
	if ((envlist = malloc(sizeof (*envlist))) == NULL)
		return (NULL);
	QLIST_INIT(&envlist->el_entries);
	envlist->el_count = 0;
	return (envlist);
}