Public Member Functions | Public Attributes

TAR Struct Reference

Collaboration diagram for TAR:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Public Attributes


Member Function Documentation

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

References m_pFile, and T_BLOCKSIZE.

Referenced by tar_extract_regfile(), tar_extract_regfile_to_buffer(), tar_skip_regfile(), th_read(), and th_read_internal().

Here is the caller graph for this function:

int TAR::th_read_internal (  ) 

References tar_header::name, T_BLOCKSIZE, tar_block_read(), and th_buf.

Referenced by th_read().

Here is the call graph for this function:

Here is the caller graph for this function:

int TAR::th_read (  ) 
void TAR::th_print_long_ls (  )  const

References tar_header::GetSize(), th_buf, and tar_header::th_get_pathname().

Here is the call graph for this function:

int TAR::tar_extract_regfile ( const char *  realname  ) 

References tar_header::GetSize(), T_BLOCKSIZE, tar_block_read(), and th_buf.

Referenced by tar_extract_file().

Here is the call graph for this function:

Here is the caller graph for this function:

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

References tar_header::GetSize(), T_BLOCKSIZE, tar_block_read(), and th_buf.

Referenced by tar_get_next_file().

Here is the call graph for this function:

Here is the caller graph for this function:

int TAR::tar_extract_file ( const char *  realname  ) 

References tar_header::IsDirectory(), tar_header::IsRegFile(), mkdirhier(), tar_extract_regfile(), and th_buf.

Here is the call graph for this function:

int TAR::tar_skip_regfile (  ) 

References tar_header::GetSize(), T_BLOCKSIZE, tar_block_read(), and th_buf.

Here is the call graph for this function:


Member Data Documentation

string TAR::pathname

Referenced by tar_open().

FILE* TAR::m_pFile

Referenced by tar_block_read(), and tar_close().


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