2006-06-15 [colin] 2.3.0cvs16
[claws.git] / src / privacy.h
index 3adb599807e090468c60c05d8f738d18274578ae..440401db9152c1d80d517ce8bcb5da4cd0b1594e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2003 Hiroyuki Yamamoto & the Sylpheed-Claws team
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto & the Sylpheed-Claws team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,7 +28,8 @@ typedef enum {
        SIGNATURE_OK,
        SIGNATURE_WARN,
        SIGNATURE_INVALID,
-       SIGNATURE_CHECK_FAILED
+       SIGNATURE_CHECK_FAILED,
+       SIGNATURE_CHECK_TIMEOUT
 } SignatureStatus;
 
 #include <glib.h>
@@ -64,6 +65,9 @@ gboolean privacy_encrypt                      (const gchar  *system,
                                                 MimeInfo     *mimeinfo,
                                                 const gchar  *encdata);
 
+void privacy_set_error                         (const gchar *format, ...);
+const gchar *privacy_get_error                 (void);
+
 struct _PrivacySystem {
        /** Identifier for the PrivacySystem that can use in config files */
        gchar            *id;