![]() |
![]() |
![]() |
GPE Manual: libgpevtype Reference Manual | ![]() |
---|---|---|---|---|
void gpe_tag_list_free (GSList *tags); GSList* gpe_tag_list_prepend (GSList *data, const char *tag, const char *value);
These utility functions implement some basic functions that make life easier dealing with GPE tag-value lists.
void gpe_tag_list_free (GSList *tags);
You guessed it: This function frees a complete list of tags.
tags : |
list to free |
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. |