Fix printf formats for size_t and goffset arguments.
[claws.git] / src / plugins / libravatar / libravatar_missing.h
1 /*
2  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 2014-2015 Ricardo Mones and the Claws Mail Team
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18
19 #ifndef __LIBRAVATAR_MISSING_H
20 #define __LIBRAVATAR_MISSING_H
21
22 #include <glib.h>
23
24 #define LIBRAVATAR_MISSING_FILE "missing"
25 /* multiply cache interval time pref for missing items */
26 #define LIBRAVATAR_MISSING_TIME (libravatarprefs.cache_interval * 3600 * 7)
27
28 GHashTable *missing_load_from_file      (const gchar *filename);
29 gint missing_save_to_file               (GHashTable *table,
30                                          const gchar *filename);
31 void missing_add_md5                    (GHashTable *table,
32                                          const gchar *md5);
33 gboolean is_missing_md5                 (GHashTable *table,
34                                          const gchar *md5);
35
36 #endif