Crossfire Client, Trunk  R20507
Data Fields
Cache_Entry Struct Reference

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. More...

#include <client.h>

Collaboration diagram for Cache_Entry:
Collaboration graph

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 508 of file client.h.

Field Documentation

◆ checksum

guint32 Cache_Entry::checksum

Definition at line 510 of file client.h.

Referenced by image_add_hash(), and image_find_cache_entry().

◆ filename

char* Cache_Entry::filename

◆ image_data

void* Cache_Entry::image_data

◆ ispublic

guint32 Cache_Entry::ispublic

Definition at line 511 of file client.h.

Referenced by finish_face_cmd(), and image_add_hash().

◆ next

struct Cache_Entry* Cache_Entry::next

Definition at line 513 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: