ekg2
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje Grupay Strony
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 #include <ekg/dynstuff.h>
23 
24 typedef struct {
25  char *filename;
26  char *data;
27  uint32_t size;
28  uint32_t crc32;
29 } image_t;
30 
31 extern list_t images;
32 
33 #define GG_CRC32_INVISIBLE 99
34 
35 void gg_changed_images(const char *var);
37 void image_flush_queue();
38 
39 #endif /* __EKG_GG_IMAGES_H */
40 
41 /*
42  * Local Variables:
43  * mode: c
44  * c-file-style: "k&r"
45  * c-basic-offset: 8
46  * indent-tabs-mode: t
47  * End:
48  */
49