## Tag lists

Tag lists — Tag list helper functions

## Synopsis

    void                gpe_tag_list_free                   (GSList *tags);
    GSList*             gpe_tag_list_prepend                (GSList *data,
                                                             const char *tag,
                                                             const char *value);

## Description

These utility functions implement some basic functions that make life easier dealing with GPE tag-value lists.

## Details

### gpe_tag_list_free ()

    void                gpe_tag_list_free                   (GSList *tags);

You guessed it: This function frees a complete list of tags.

`tags` : | list to free

### gpe_tag_list_prepend ()

    GSList*             gpe_tag_list_prepend                (GSList *data,
                                                             const char *tag,
                                                             const char *value);

Adds a new tag-value pair to the head of a list.

`data` : | Current list or NULL.
`tag` : | Tag identifying the new pair in the list.
`value` : | String value to be stored.
Returns : | New head of the complete list.