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().
int TAR::th_read_internal | ( | ) |
References tar_header::name, T_BLOCKSIZE, tar_block_read(), and th_buf.
Referenced by th_read().
int TAR::th_read | ( | ) |
References tar_header::GetSize(), tar_header::gnu_longlink, tar_header::gnu_longname, tar_header::IsLongLink(), tar_header::IsLongName(), tar_header::set_empty(), T_BLOCKSIZE, tar_block_read(), th_buf, and th_read_internal().
Referenced by tar_get_next_file().
void TAR::th_print_long_ls | ( | ) | const |
References tar_header::GetSize(), th_buf, and tar_header::th_get_pathname().
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().
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().
int TAR::tar_extract_file | ( | const char * | realname | ) |
References tar_header::IsDirectory(), tar_header::IsRegFile(), mkdirhier(), tar_extract_regfile(), and th_buf.
int TAR::tar_skip_regfile | ( | ) |
References tar_header::GetSize(), T_BLOCKSIZE, tar_block_read(), and th_buf.
string TAR::pathname |
Referenced by tar_open().
FILE* TAR::m_pFile |
Referenced by tar_block_read(), and tar_close().