データ構造 | |
struct | file_info_struct |
struct | stack |
型定義 | |
typedef file_info_struct | file_info2 |
関数 | |
static int | clipfind (char **aret, int ret, char *tok) |
static void | writetarheader (int f, const char *aname, SMB_BIG_UINT size, time_t mtime, const char *amode, unsigned char ftype) |
static void | do_atar (char *rname, char *lname, file_info *finfo1) |
static void | do_tar (file_info *finfo) |
static void | oct_it (SMB_BIG_UINT value, int ndgs, char *p) |
static void | fixtarname (char *tptr, const char *fp, size_t l) |
static int | dotarbuf (int f, char *b, int n) |
static void | dozerobuf (int f, int n) |
static void | dotareof (int f) |
static void | initarbuf (void) |
static long | readtarheader (union hblock *hb, file_info2 *finfo, char *prefix) |
static long | unoct (char *p, int ndgs) |
static void | do_tarput (void) |
static void | unfixtarname (char *tptr, char *fp, int l, BOOL first) |
static char * | string_create_s (int size) |
変数 | |
time_t | newer_than |
cli_state * | cli |
static uint16 | attribute = aDIR | aSYSTEM | aHIDDEN |
static char * | tarbuf |
static char * | buffer_p |
static int | tp |
static int | ntarf |
static int | tbufsiz |
static double | ttarf |
static BOOL | tar_inc = False |
static BOOL | tar_reset = False |
static BOOL | tar_excl = True |
static BOOL | tar_re_search = False |
static BOOL | dry_run = False |
static BOOL | tar_system = True |
static BOOL | tar_hidden = True |
static BOOL | tar_noisy = True |
static BOOL | tar_real_noisy = False |
char | tar_type = '\0' |
static char ** | cliplist = NULL |
static int | clipn = 0 |
static BOOL | must_free_cliplist = False |
file_info | def_finfo |
BOOL | lowercase |
uint16 | cnum |
BOOL | readbraw_supported |
int | max_xmit |
pstring | cur_dir |
int | get_total_time_ms |
int | get_total_size |
static int | blocksize = 20 |
static int | tarhandle |
typedef struct file_info_struct file_info2 |
static int clipfind | ( | char ** | aret, | |
int | ret, | |||
char * | tok | |||
) | [static] |
参照元 writetarheader().
static void writetarheader | ( | int | f, | |
const char * | aname, | |||
SMB_BIG_UINT | size, | |||
time_t | mtime, | |||
const char * | amode, | |||
unsigned char | ftype | |||
) | [static] |
参照先 file_info::atime_ts・file_info_struct::atime_ts・attribute・blocksize・buf・buffer_p・hblock::header::chksum・clean_name()・cli・cli_chkpath()・cli_close()・cli_errstr()・cli_getatr()・cli_getattrE()・cli_mkdir()・cli_open()・cli_read()・cli_setatr()・cli_write()・clipfind()・cliplist・clipn・convert_time_t_to_timespec()・file_info::ctime_ts・file_info_struct::ctime_ts・cur_dir・dbf・hblock::dbuf・def_finfo・do_atar()・do_list()・do_tar()・do_tarput()・dotarbuf()・dotareof()・dozerobuf()・dry_run・hblock::dummy・dump_data()・errno・error・fixtarname()・fp・get_total_size・get_total_time_ms・GetTimeOfDay()・file_info::gid・file_info_struct::gid・hblock::header::gid・initarbuf()・hblock::header::linkflag・hblock::header::linkname・lowercase・mask_match_list()・file_info::mode・mode・file_info_struct::mode・hblock::header::mode・hblock::header::mtime・file_info::mtime_ts・file_info_struct::mtime_ts・must_free_cliplist・file_info::name・name・file_info_struct::name・hblock::header::name・newer_than・next_token_nr()・ntarf・oct_it()・printf()・readtarheader()・file_info::size・file_info_struct::size・hblock::header::size・strchr_m()・strequal()・strerror()・string_create_s()・string_replace()・strlower_m()・strrchr_m()・sys_creat()・sys_fstat()・sys_open()・sys_stat()・tar_excl・tar_hidden・tar_inc・tar_noisy・tar_re_search・tar_real_noisy・tar_reset・tar_system・tar_type・tarbuf・tarhandle・tbufsiz・time_to_asc()・toktocliplist()・tolower_ascii()・total・tp・ttarf・file_info::uid・file_info_struct::uid・hblock::header::uid・unfixtarname()・unoct()・x_fclose()・x_fgets()・x_fopen()・x_stderr.
static void do_atar | ( | char * | rname, | |
char * | lname, | |||
file_info * | finfo1 | |||
) | [static] |
参照元 writetarheader().
static void do_tar | ( | file_info * | finfo | ) | [static] |
参照元 writetarheader().
static void oct_it | ( | SMB_BIG_UINT | value, | |
int | ndgs, | |||
char * | p | |||
) | [static] |
参照元 writetarheader().
static void fixtarname | ( | char * | tptr, | |
const char * | fp, | |||
size_t | l | |||
) | [static] |
参照元 writetarheader().
static int dotarbuf | ( | int | f, | |
char * | b, | |||
int | n | |||
) | [static] |
参照元 writetarheader().
static void dozerobuf | ( | int | f, | |
int | n | |||
) | [static] |
参照元 writetarheader().
static void dotareof | ( | int | f | ) | [static] |
参照元 writetarheader().
static void initarbuf | ( | void | ) | [static] |
参照元 writetarheader().
static long readtarheader | ( | union hblock * | hb, | |
file_info2 * | finfo, | |||
char * | prefix | |||
) | [static] |
参照元 writetarheader().
static long unoct | ( | char * | p, | |
int | ndgs | |||
) | [static] |
参照元 writetarheader().
static void do_tarput | ( | void | ) | [static] |
参照元 writetarheader().
static void unfixtarname | ( | char * | tptr, | |
char * | fp, | |||
int | l, | |||
BOOL | first | |||
) | [static] |
参照元 writetarheader().
static char* string_create_s | ( | int | size | ) | [static] |
参照元 writetarheader().
00144 { 00145 char *tmp; 00146 00147 tmp = (char *)SMB_MALLOC(size+1); 00148 00149 if (tmp == NULL) { 00150 DEBUG(0, ("Out of memory in string_create_s\n")); 00151 } 00152 00153 return(tmp); 00154 }
time_t newer_than |
uint16 attribute = aDIR | aSYSTEM | aHIDDEN [static] |
char* tarbuf [static] |
char * buffer_p [static] |
int tp [static] |
int ntarf [static] |
int tbufsiz [static] |
double ttarf [static] |
BOOL tar_re_search = False [static] |
BOOL tar_system = True [static] |
BOOL tar_hidden = True [static] |
BOOL tar_real_noisy = False [static] |
char** cliplist = NULL [static] |
int clipn = 0 [static] |
BOOL must_free_cliplist = False [static] |
uint16 cnum |
参照元 add_cnk_list_entry().
int max_xmit |
int get_total_size |
int tarhandle [static] |