aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/webbrowser.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2009-02-10 21:23:32 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2009-02-10 21:23:32 +0000
commita60da918961a11197e1e30130c3a430992a48c30 (patch)
tree32ab18c3d4e02772e9a781d12b26b936c0724fbd /gtk/webbrowser.h
parent2a5b15e8dc9d116ed216d3ef6249d50d95cc8ba9 (diff)
make filename2uri() "public"
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27412 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/webbrowser.h')
-rw-r--r--gtk/webbrowser.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/webbrowser.h b/gtk/webbrowser.h
index 243fceb155..09a70aa7a0 100644
--- a/gtk/webbrowser.h
+++ b/gtk/webbrowser.h
@@ -34,4 +34,11 @@ extern gboolean filemanager_open_directory (const gchar *path);
/* browse a file relative to the data dir */
extern void browser_open_data_file (const gchar *filename);
+/** Convert local absolute path to uri.
+ *
+ * @param filename to (absolute pathed) filename to convert
+ * @return a newly allocated uri, you must g_free it later
+ */
+extern gchar *filename2uri(const gchar *filename);
+
#endif /* __WEBBROWSER_H__ */