diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-10-13 08:06:40 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-10-13 08:06:40 +0000 |
commit | 5d566e74c57ba4d086ec83f4590719a602a83823 (patch) | |
tree | d7e129f0f3ff055c2b342a0b10e609c966960b4f /libsylph/utils.h | |
parent | 2ebd418a6e4f86de03434eb357cc577a4e366f5d (diff) |
win32: use ShellExecute() to launch attachments.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@642 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 311525b0..f628551f 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -234,8 +234,11 @@ gchar *strncpy2 (gchar *dest, const gchar *src, size_t n); -gboolean is_next_nonascii (const gchar *s); -gint get_next_word_len (const gchar *s); +gboolean str_has_suffix_case (const gchar *str, + const gchar *suffix); + +gboolean is_next_nonascii (const gchar *s); +gint get_next_word_len (const gchar *s); /* functions for string parsing */ gint subject_compare (const gchar *s1, @@ -428,6 +431,8 @@ gint execute_async (gchar *const argv[]); gint execute_sync (gchar *const argv[]); gint execute_command_line (const gchar *cmdline, gboolean async); +gint execute_open_file (const gchar *file, + const gchar *content_type); gchar *get_command_output (const gchar *cmdline); /* open URI with external browser */ |