aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-16 00:39:38 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:53:18 +0800
commit181c2a5ab6417c2e745e507d64b66f4c6ba261f6 (patch)
treee9321c961fd21603da9da862afae3041efb700f8 /libempathy/empathy-tp-file.h
parent4f3b1c138451c622204bfbc77467ac4d247b035a (diff)
downloadgsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.gz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.bz2
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.lz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.xz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.zst
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.zip
Move the error declaration in empathy-tp-file.h
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r--libempathy/empathy-tp-file.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index 85d693ba8..f120558d5 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -45,6 +45,16 @@ G_BEGIN_DECLS
#define EMPATHY_TP_FILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass))
+#define EMPATHY_FT_ERROR_QUARK g_quark_from_static_string ("EmpathyFTError")
+
+typedef enum {
+ EMPATHY_FT_ERROR_FAILED,
+ EMPATHY_FT_ERROR_HASH_MISMATCH,
+ EMPATHY_FT_ERROR_TP_ERROR,
+ EMPATHY_FT_ERROR_SOCKET,
+ EMPATHY_FT_ERROR_NOT_SUPPORTED
+} EmpathyFTErrorEnum;
+
typedef struct _EmpathyTpFile EmpathyTpFile;
typedef struct _EmpathyTpFileClass EmpathyTpFileClass;