0.9.4claws61
[claws.git] / src / common / utils.h
index 8ce95a99efe72a52836d0e89e215b1bda8b80eb0..629fd219fe7d4035eebdda320884ee846c355f96 100644 (file)
@@ -413,24 +413,6 @@ void subject_table_insert(GHashTable *subject_table, gchar * subject,
 void subject_table_remove(GHashTable *subject_table, gchar * subject);
 gint subject_get_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)                     
-
 /* quoting recognition */
 const gchar * line_has_quote_char      (const gchar *str,
                                         const gchar *quote_chars);
@@ -444,6 +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_msgid          (const gchar *address, gchar *buf, gint len);
+gchar *generate_mime_boundary  (void);
 
 #endif /* __UTILS_H__ */