diff libpurple/util.h @ 18039:c588a4a9d287

A patch from David Grohmann (dave1g) to log embedded images. Closes #725
author Richard Laager <rlaager@wiktel.com>
date Mon, 04 Jun 2007 05:47:06 +0000
parents 2188c95d0311
children c5c265dff90c ff69c2a9ccf2
line wrap: on
line diff
--- a/libpurple/util.h	Mon Jun 04 04:52:41 2007 +0000
+++ b/libpurple/util.h	Mon Jun 04 05:47:06 2007 +0000
@@ -32,6 +32,7 @@
 
 #include "account.h"
 #include "xmlnode.h"
+#include "notify.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -623,6 +624,12 @@
 const char *
 purple_util_get_image_extension(gconstpointer data, size_t len);
 
+/**
+ * Returns a SHA-1 hash string of the data passed in with the correct file
+ * extention appended.
+ */
+char *purple_util_get_image_filename(gconstpointer image_data, size_t image_len);
+
 /*@}*/