libpurple/util.h

branch
release-2.1.0
changeset 18101
3ce21b5a182c
parent 18085
4fd4ad8172cd
child 18317
6c814e134e56
--- 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);
+
 /*@}*/
 
 

mercurial