Crossfire Client, Trunk
Cache_Entry Struct Reference

#include <client.h>

+ Collaboration diagram for Cache_Entry:

Data Fields

guint32 checksum
 
char * filename
 
void * image_data
 
guint32 ispublic:1
 
struct Cache_Entrynext
 

Detailed Description

Used mostly in the cache.c file, however, it can be returned to the graphic side of things so that they can update the image_data field. Since the common side has no idea what data the graphic side will point to, we use a void pointer for that - it is completely up to the graphic side to allocate/deallocate and cast that pointer as needed.

Definition at line 499 of file client.h.

Field Documentation

◆ checksum

guint32 Cache_Entry::checksum

◆ filename

char* Cache_Entry::filename

◆ image_data

void* Cache_Entry::image_data

◆ ispublic

guint32 Cache_Entry::ispublic

Definition at line 502 of file client.h.

Referenced by finish_face_cmd(), image_add_hash(), and image_process_line().

◆ next

struct Cache_Entry* Cache_Entry::next

Definition at line 504 of file client.h.

Referenced by image_add_hash(), image_find_cache_entry(), and image_remove_hash().


The documentation for this struct was generated from the following file: