Details
mimedir_utils_strcat_list ()
Concatenates a list of strings, optionally separating them with another
string. The returned string must be freed with g_free().
mimedir_utils_copy_string_slist ()
Makes a deep copy of the supplied GSList, i.e. it copies the list,
treating its elements as string pointers and copying them. The returned
list may be freed using mimedir_utils_free_string_list().
mimedir_utils_free_string_slist ()
void mimedir_utils_free_string_slist (GSList *list); |
Frees the supplied list and the strings it contains.
mimedir_utils_copy_object_slist ()
Makes a shallow copy of the supplied GSList, i.e. it copies the list,
treating its elements as objects and reffing them. The returned list
may be freed using mimedir_utils_free_object_list().
mimedir_utils_free_object_slist ()
void mimedir_utils_free_object_slist (GSList *list); |
Frees the supplied GSList and unrefs the objects it contains.
mimedir_utils_is_token ()
Checks whether the supplied string matches the criteria of a token
(i.e. matches the pattern 1*(ALPHA / DIGIT / "-")).
mimedir_utils_is_safe ()
Checks whether the supplied string contains only "safe" characters
(i.e. any character except CTLs, DQUOTE, ";", ":", ",").
mimedir_utils_is_qsafe ()
Checks whether the supplied string contains only "qsafe" characters
(i.e. any character except CTLs, DQUOTE).