diff src/util.h @ 9670:ed3bbf36de75

[gaim-migrate @ 10522] (10:17:53) datallah: http://www.butfer.com/gaim-patches/dnd_robustness+multiple_file_fix.patch should fix 1003589 and also make us support DND of multiple files to transfer - also makes us not try to transfer directories committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 05 Aug 2004 14:17:03 +0000
parents 8901ef16f310
children b23e70bd1215
line wrap: on
line diff
--- a/src/util.h	Thu Aug 05 04:01:41 2004 +0000
+++ b/src/util.h	Thu Aug 05 14:17:03 2004 +0000
@@ -650,6 +650,29 @@
  */
 gboolean gaim_email_is_valid(const char *address);
 
+/**
+ * This function extracts a list of URIs from the a "text/uri-list" string
+ * It was "borrowed" from gnome_uri_list_extract_uris
+ * 
+ * @param uri_list an uri-list in the standard format.
+ *
+ * @return a GList containing strings allocated with g_malloc that have been 
+ *	splitted from uri-list.
+ */
+GList* gaim_uri_list_extract_uris (const gchar* uri_list);
+
+/**
+ * This function extracts a list of filenames from the a "text/uri-list" string
+ * It was "borrowed" from gnome_uri_list_extract_filenames
+ * 
+ * @param uri_list an uri-list in the standard format.
+ *
+ * @return a GList containing strings allocated with g_malloc that contain the 
+ * 	filenames in the uri-list. Note that unlike gaim_uri_list_extract_uris() 
+ * 	function, this will discard any non-file uri from the result value.
+ */
+GList* gaim_uri_list_extract_filenames (const gchar* uri_list);
+
 /*@}*/
 
 /**************************************************************************