Crossfire Server, Trunk
TarLoader.cpp File Reference
#include "TarLoader.h"
#include "string.h"
+ Include dependency graph for TarLoader.cpp:

Go to the source code of this file.

Functions

static int tar_close (mtar_t *)
 
static int tar_read (mtar_t *tar, void *data, unsigned size)
 
static int tar_seek (mtar_t *tar, unsigned pos)
 

Function Documentation

◆ tar_close()

static int tar_close ( mtar_t )
static

Definition at line 38 of file TarLoader.cpp.

References MTAR_ESUCCESS.

Referenced by TarLoader::load().

+ Here is the caller graph for this function:

◆ tar_read()

static int tar_read ( mtar_t tar,
void *  data,
unsigned  size 
)
static

Definition at line 24 of file TarLoader.cpp.

References bufferreader_data(), bufferreader_data_length(), navar-midane_time::data, MTAR_EREADFAIL, MTAR_ESUCCESS, mtar_t::pos, and mtar_t::stream.

Referenced by TarLoader::load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tar_seek()

static int tar_seek ( mtar_t tar,
unsigned  pos 
)
static

Definition at line 33 of file TarLoader.cpp.

References MTAR_ESUCCESS, and mtar_t::pos.

Referenced by TarLoader::load().

+ Here is the caller graph for this function: