00001 /* 00002 * (C) Copyright 2004 Piotr Kupisiewicz <deletek@ekg2.org> 00003 * 2006 Adam Mikuta <adamm@ekg2.org> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License Version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00019 #ifndef __EKG_GG_IMAGES_H 00020 #define __EKG_GG_IMAGES_H 00021 00022 #include <ekg/dynstuff.h> 00023 00024 typedef struct { 00025 char *filename; 00026 char *data; 00027 uint32_t size; 00028 uint32_t crc32; 00029 } image_t; 00030 00031 extern list_t images; 00032 00033 #define GG_CRC32_INVISIBLE 99 00034 00035 void gg_changed_images(const char *var); 00036 void image_remove_queue(image_t *i); 00037 void image_flush_queue(); 00038 00039 #endif /* __EKG_GG_IMAGES_H */ 00040 00041 /* 00042 * Local Variables: 00043 * mode: c 00044 * c-file-style: "k&r" 00045 * c-basic-offset: 8 00046 * indent-tabs-mode: t 00047 * End: 00048 */ 00049