1 | /* gtkiconcachevalidator.4 |
2 | * Copyright (C) 2007 Red Hat, Inc |
3 | * |
4 | * This library is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License, or (at your option) any later version. |
8 | * |
9 | * This library is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
16 | */ |
17 | #ifndef __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ |
18 | #define __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ |
19 | |
20 | #include <glib.h> |
21 | |
22 | G_BEGIN_DECLS |
23 | |
24 | enum { |
25 | CHECK_OFFSETS = 1, |
26 | CHECK_STRINGS = 2, |
27 | CHECK_PIXBUFS = 4 |
28 | }; |
29 | |
30 | typedef struct { |
31 | const char *cache; |
32 | gsize cache_size; |
33 | guint32 n_directories; |
34 | int flags; |
35 | } CacheInfo; |
36 | |
37 | gboolean gtk_icon_cache_validate (CacheInfo *info); |
38 | |
39 | G_END_DECLS |
40 | |
41 | #endif /* __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ */ |
42 | |