0.9.4claws61
[claws.git] / src / common / utils.h
index 725cd5a32557380028b98de8f7752f5c7b8be0e9..629fd219fe7d4035eebdda320884ee846c355f96 100644 (file)
@@ -411,25 +411,7 @@ void * subject_table_lookup(GHashTable *subject_table, gchar * subject);
 void subject_table_insert(GHashTable *subject_table, gchar * subject,
                          void * data);
 void subject_table_remove(GHashTable *subject_table, gchar * subject);
-gint subject_get_reply_prefix_length (const gchar *subject);
-
-/* The following macros have the same preconditions as the cleanless
- * functions above, but work with clean subjects (subject lines already
- * corrected for the reply prefixes */
-#define subject_table_lookup_clean(t, s) \
-       g_hash_table_lookup((t), (s) ? (s) : "")
-       
-#define subject_table_insert_clean(t, s, d) \
-       do { \
-               if ((s) != NULL && (*(s)) != 0) \
-                       g_hash_table_insert((t), (s), (d)); \
-       } while (0)     
-
-#define subject_table_remove_clean(t, s) \
-       do { \
-               if ((s) != NULL) \
-                       g_hash_table_remove((t), (s)); \
-       } while (0)                     
+gint subject_get_prefix_length (const gchar *subject);
 
 /* quoting recognition */
 const gchar * line_has_quote_char      (const gchar *str,
@@ -444,4 +426,7 @@ guint g_stricase_hash       (gconstpointer gptr);
 gint g_stricase_equal  (gconstpointer gptr1, gconstpointer gptr2);
 gint g_int_compare     (gconstpointer a, gconstpointer b);
 
+gchar *generate_msgid          (const gchar *address, gchar *buf, gint len);
+gchar *generate_mime_boundary  (void);
+
 #endif /* __UTILS_H__ */