Atrinik Server  4.0
Data Fields
update_file_struct Struct Reference

#include <newserver.h>

Data Fields

unsigned long checksum
size_t len
size_t ucomp_len
char * filename
uint8_t * contents
struct packet_struct * packet

Detailed Description

A single file loaded from the updates directory that the client can request.

Definition at line 210 of file newserver.h.

Field Documentation

unsigned long update_file_struct::checksum

File's CRC32.

Definition at line 212 of file newserver.h.

uint8_t* update_file_struct::contents

Compressed contents of the file.

Definition at line 224 of file newserver.h.

char* update_file_struct::filename

Name of the file.

Definition at line 221 of file newserver.h.

size_t update_file_struct::len

Length of the file.

Definition at line 215 of file newserver.h.

struct packet_struct* update_file_struct::packet

Packet to use for sending the file.

Definition at line 227 of file newserver.h.

size_t update_file_struct::ucomp_len

Uncompressed length of the file.

Definition at line 218 of file newserver.h.

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