ekg2  GIT master
images.h
Idź do dokumentacji tego pliku.
1 /*
2  * (C) Copyright 2004 Piotr Kupisiewicz <deletek@ekg2.org>
3  * 2006 Adam Mikuta <adamm@ekg2.org>
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 Version 2 as
7  * published by the Free Software Foundation.
8  *
9  * This program 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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 
19 #ifndef __EKG_GG_IMAGES_H
20 #define __EKG_GG_IMAGES_H
21 
22 typedef struct {
23  char *filename;
24  char *data;
25  guint32 size;
26  guint32 crc32;
27 } image_t;
28 
29 extern list_t images;
30 
31 #define GG_CRC32_INVISIBLE 99
32 
33 void gg_changed_images(const char *var);
35 void image_flush_queue();
36 
37 #endif /* __EKG_GG_IMAGES_H */
38 
39 /*
40  * Local Variables:
41  * mode: c
42  * c-file-style: "k&r"
43  * c-basic-offset: 8
44  * indent-tabs-mode: t
45  * End:
46  */
47 
void image_remove_queue(image_t *i)
Definition: images.c:142
char * data
Definition: images.h:24
char * filename
Definition: images.h:23
list_t images
Definition: images.c:39
void image_flush_queue()
Definition: images.c:151
guint32 size
Definition: images.h:25
void gg_changed_images(const char *var)
Definition: images.c:51
int i
Definition: ekg_hash_benchmark.c:110
guint32 crc32
Definition: images.h:26
Definition: images.h:22
Definition: ekg_hash_benchmark.c:14