ddc
Public Member Functions | Public Attributes | List of all members
TAR Struct Reference
Collaboration diagram for TAR:
Collaboration graph
[legend]

Public Member Functions

size_t tar_block_read (void *buf) const
 
int th_read_internal ()
 
int th_read ()
 
void th_print_long_ls () const
 
int tar_extract_regfile (const char *realname)
 
int tar_extract_regfile_to_buffer (vector< char > &Buffer)
 
int tar_extract_file (const char *realname)
 
int tar_skip_regfile ()
 

Public Attributes

string pathname
 
FILE * m_pFile
 
tar_header th_buf
 

Member Function Documentation

◆ tar_block_read()

size_t TAR::tar_block_read ( void *  buf) const
inline

References T_BLOCKSIZE.

◆ th_read_internal()

int TAR::th_read_internal ( )

References T_BLOCKSIZE.

◆ th_read()

int TAR::th_read ( )

References T_BLOCKSIZE.

Referenced by tar_get_next_file().

Here is the caller graph for this function:

◆ th_print_long_ls()

void TAR::th_print_long_ls ( ) const

◆ tar_extract_regfile()

int TAR::tar_extract_regfile ( const char *  realname)

References tar_header::size, and T_BLOCKSIZE.

◆ tar_extract_regfile_to_buffer()

int TAR::tar_extract_regfile_to_buffer ( vector< char > &  Buffer)

References tar_header::size, and T_BLOCKSIZE.

Referenced by tar_get_next_file().

Here is the caller graph for this function:

◆ tar_extract_file()

int TAR::tar_extract_file ( const char *  realname)

References mkdirhier().

Here is the call graph for this function:

◆ tar_skip_regfile()

int TAR::tar_skip_regfile ( )

References tar_header::size, and T_BLOCKSIZE.

Member Data Documentation

◆ pathname

string TAR::pathname

Referenced by tar_get_next_file(), and tar_open().

◆ m_pFile

FILE* TAR::m_pFile

Referenced by tar_close().

◆ th_buf

tar_header TAR::th_buf

Referenced by tar_get_next_file().


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