aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-exception.h')
-rw-r--r--camel/camel-exception.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/camel-exception.h b/camel/camel-exception.h
index 217d6ca97e..1213511f4d 100644
--- a/camel/camel-exception.h
+++ b/camel/camel-exception.h
@@ -32,6 +32,8 @@ extern "C" {
#pragma }
#endif /* __cplusplus }*/
+#include <glib.h>
+
typedef enum {
#include "camel-exception-list.def"
@@ -45,7 +47,13 @@ typedef struct {
} CamelException;
-
+void camel_exception_free (CamelException *exception);
+CamelException *camel_exception_new ();
+void camel_exception_set (CamelException *ex,
+ ExceptionId id,
+ const char *desc);
+void camel_exception_xfer (CamelException *ex_dst,
+ CamelException *ex_src);