client/clitar.c

ソースコードを見る。

データ構造

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_statecli
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

clitar.c44 行で定義されています。


関数

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]

clitar.c160 行で定義されています。

参照先 file_info::atime_tsfile_info_struct::atime_tsattributeblocksizebufbuffer_phblock::header::chksumclean_name()clicli_chkpath()cli_close()cli_errstr()cli_getatr()cli_getattrE()cli_mkdir()cli_open()cli_read()cli_setatr()cli_write()clipfind()cliplistclipnconvert_time_t_to_timespec()file_info::ctime_tsfile_info_struct::ctime_tscur_dirdbfhblock::dbufdef_finfodo_atar()do_list()do_tar()do_tarput()dotarbuf()dotareof()dozerobuf()dry_runhblock::dummydump_data()errnoerrorfixtarname()fpget_total_sizeget_total_time_msGetTimeOfDay()file_info::gidfile_info_struct::gidhblock::header::gidinitarbuf()hblock::header::linkflaghblock::header::linknamelowercasemask_match_list()file_info::modemodefile_info_struct::modehblock::header::modehblock::header::mtimefile_info::mtime_tsfile_info_struct::mtime_tsmust_free_cliplistfile_info::namenamefile_info_struct::namehblock::header::namenewer_thannext_token_nr()ntarfoct_it()printf()readtarheader()file_info::sizefile_info_struct::sizehblock::header::sizestrchr_m()strequal()strerror()string_create_s()string_replace()strlower_m()strrchr_m()sys_creat()sys_fstat()sys_open()sys_stat()tar_excltar_hiddentar_inctar_noisytar_re_searchtar_real_noisytar_resettar_systemtar_typetarbuftarhandletbufsiztime_to_asc()toktocliplist()tolower_ascii()totaltpttarffile_info::uidfile_info_struct::uidhblock::header::uidunfixtarname()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]

clitar.c143 行で定義されています。

参照元 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

client.c64 行で定義されています。

struct cli_state* cli

client.c104 行で定義されています。

uint16 attribute = aDIR | aSYSTEM | aHIDDEN [static]

clitar.c74 行で定義されています。

参照元 do_printnotify()writetarheader().

char* tarbuf [static]

clitar.c80 行で定義されています。

参照元 writetarheader().

char * buffer_p [static]

clitar.c80 行で定義されています。

参照元 writetarheader().

int tp [static]

clitar.c81 行で定義されています。

参照元 brl_lock_posix()brl_unlock_posix()current_timestring()lookup_word()lookup_zone()writetarheader()yylex().

int ntarf [static]

clitar.c81 行で定義されています。

参照元 writetarheader().

int tbufsiz [static]

clitar.c81 行で定義されています。

参照元 writetarheader().

double ttarf [static]

clitar.c82 行で定義されています。

参照元 writetarheader().

BOOL tar_inc = False [static]

clitar.c84 行で定義されています。

BOOL tar_reset = False [static]

clitar.c86 行で定義されています。

BOOL tar_excl = True [static]

clitar.c88 行で定義されています。

参照元 writetarheader().

BOOL tar_re_search = False [static]

clitar.c90 行で定義されています。

参照元 writetarheader().

BOOL dry_run = False [static]

clitar.c92 行で定義されています。

参照元 writetarheader().

BOOL tar_system = True [static]

clitar.c94 行で定義されています。

参照元 writetarheader().

BOOL tar_hidden = True [static]

clitar.c96 行で定義されています。

参照元 writetarheader().

BOOL tar_noisy = True [static]

clitar.c98 行で定義されています。

参照元 writetarheader().

BOOL tar_real_noisy = False [static]

clitar.c99 行で定義されています。

参照元 writetarheader().

char tar_type = '\0'

clitar.c101 行で定義されています。

char** cliplist = NULL [static]

clitar.c102 行で定義されています。

参照元 writetarheader().

int clipn = 0 [static]

clitar.c103 行で定義されています。

参照元 writetarheader().

BOOL must_free_cliplist = False [static]

clitar.c104 行で定義されています。

参照元 writetarheader().

file_info def_finfo

util.c64 行で定義されています。

BOOL lowercase

client.c81 行で定義されています。

uint16 cnum

参照元 add_cnk_list_entry().

BOOL readbraw_supported

int max_xmit

pstring cur_dir

client.c36 行で定義されています。

int get_total_time_ms

client.c95 行で定義されています。

int get_total_size

client.c94 行で定義されています。

int blocksize = 20 [static]

clitar.c115 行で定義されています。

int tarhandle [static]

clitar.c116 行で定義されています。

参照元 writetarheader().


Sambaに対してSat Aug 29 21:23:32 2009に生成されました。  doxygen 1.4.7