/* * Copyright 2015 (c) Anna Schumaker. * * NOTE: All of these functions allocate and return a new string. It is the * caller's responsibility to free these strings by calling g_free(). */ #ifndef OCARINA_CORE_STRING_H #define OCARINA_CORE_STRING_H #include #include /* Convert number of seconds into a string with format mm:ss. */ gchar *string_sec2str(unsigned int); /* Convert number of seconds into a long-form time string. */ gchar *string_sec2str_long(unsigned int); /* Convert the input string to lowercase, dropping special characters. */ gchar *string_lowercase(const gchar *); #endif /* OCARINA_CORE_STRING_H */