aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-exception.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-12-27 17:25:21 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-12-27 17:25:21 +0800
commit23185a25463ccce06e1db8fd9babd4575629f39f (patch)
tree7e00b74451d86a78e6cfb65853d3fdefb12e9e52 /camel/camel-exception.h
parent9c84a9253936ded67c4ab3d8fb9a8b357a533411 (diff)
downloadgsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar.gz
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar.bz2
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar.lz
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar.xz
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.tar.zst
gsoc2013-evolution-23185a25463ccce06e1db8fd9babd4575629f39f.zip
Backup sync.
svn path=/trunk/; revision=1520
Diffstat (limited to 'camel/camel-exception.h')
-rw-r--r--camel/camel-exception.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/camel/camel-exception.h b/camel/camel-exception.h
index 384f23a6f8..79a8984c13 100644
--- a/camel/camel-exception.h
+++ b/camel/camel-exception.h
@@ -43,6 +43,7 @@ typedef enum {
} ExceptionId;
+
typedef struct {
/* do not access the fields directly */
ExceptionId id;
@@ -50,20 +51,30 @@ typedef struct {
} CamelException;
+
+
+/* creation and destruction functions */
CamelException *camel_exception_new ();
void camel_exception_free (CamelException *exception);
+/* exception content manipulation */
void camel_exception_clear (CamelException *exception);
void camel_exception_set (CamelException *ex,
ExceptionId id,
const char *desc);
+void camel_exception_setv (CamelException *ex,
+ ExceptionId id,
+ const char *format,
+ ...);
+/* exception content transfer */
void camel_exception_xfer (CamelException *ex_dst,
CamelException *ex_src);
+/* exception content retrieval */
ExceptionId camel_exception_get_id (CamelException *ex);
const gchar *camel_exception_get_description (CamelException *ex);