utils: add function to parse uris
By using a custom regular expression, parse a uri or abort if it's invalid.
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
e7af463290
commit
01ac569a1a
@@ -101,4 +101,9 @@ gsize e_utf8_strftime_fix_am_pm (gchar
|
||||
|
||||
void fix_popover_menu_icons (GtkPopover *popover);
|
||||
|
||||
gboolean uri_get_fields (const gchar *uri,
|
||||
gchar **schema,
|
||||
gchar **host,
|
||||
gchar **path);
|
||||
|
||||
#endif // __GCAL_UTILS_H__
|
||||
|
||||
Reference in New Issue
Block a user