Crossfire Server, Trunk
mtar_t Struct Reference

#include <microtar.h>

+ Collaboration diagram for mtar_t:

Data Fields

int(* close )(mtar_t *tar)
 
unsigned last_header
 
unsigned pos
 
int(* read )(mtar_t *tar, void *data, unsigned size)
 
unsigned remaining_data
 
int(* seek )(mtar_t *tar, unsigned pos)
 
void * stream
 
int(* write )(mtar_t *tar, const void *data, unsigned size)
 

Detailed Description

Definition at line 51 of file microtar.h.

Field Documentation

◆ close

int(* mtar_t::close) (mtar_t *tar)

◆ last_header

unsigned mtar_t::last_header

Definition at line 59 of file microtar.h.

Referenced by mtar_read_data(), mtar_read_header(), and mtar_rewind().

◆ pos

unsigned mtar_t::pos

◆ read

int(* mtar_t::read) (mtar_t *tar, void *data, unsigned size)

Definition at line 52 of file microtar.h.

Referenced by TarLoader::load(), mtar_open(), and tread().

◆ remaining_data

unsigned mtar_t::remaining_data

Definition at line 58 of file microtar.h.

Referenced by mtar_read_data(), mtar_rewind(), mtar_write_data(), and mtar_write_header().

◆ seek

int(* mtar_t::seek) (mtar_t *tar, unsigned pos)

Definition at line 54 of file microtar.h.

Referenced by TarLoader::load(), mtar_open(), and mtar_seek().

◆ stream

void* mtar_t::stream

◆ write

int(* mtar_t::write) (mtar_t *tar, const void *data, unsigned size)

Definition at line 53 of file microtar.h.

Referenced by mtar_open(), and twrite().


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