htcp.c File Reference


Functions

size_t headers_callback (void *ptr, size_t size, size_t nmemb, void *p)
int set_std_opts (CURL *easyhandle, struct grst_stream_data *common_data)
int do_rmtcp (char *sources[], char *destination, struct grst_stream_data *common_data)
int do_copies (char *sources[], char *destination, struct grst_stream_data *common_data)
int do_deletes (char *sources[], struct grst_stream_data *common_data)
int do_move (char *source, char *destination, struct grst_stream_data *common_data)
int do_mkdirs (char *sources[], struct grst_stream_data *common_data)
int do_ping (struct grst_stream_data *common_data_ptr)
int do_finds (char *sources[], struct grst_stream_data *common_data_ptr, int num)
int translate_sitecast_url (char **source_ptr, struct grst_stream_data *common_data_ptr)
size_t rawindex_callback (void *ptr, size_t size, size_t nmemb, void *data)
char * canonicalise (char *link, char *source)
int grst_dir_list_cmp (const void *a, const void *b)
grst_dir_list * index_to_dir_list (char *text, char *source)
int do_listings (char *sources[], struct grst_stream_data *common_data, int islonglist)
char * make_tmp_ca_roots (char *dir)
void printsyntax (char *argv0)
int update_common_data (struct grst_stream_data *, int, char *)
void parse_conf (struct grst_stream_data *common_data_ptr, char *conf_file)
int main (int argc, char *argv[])

Variables

option long_options []

Function Documentation

char* canonicalise char *  link,
char *  source
 

int do_copies char *  sources[],
char *  destination,
struct grst_stream_data *  common_data
 

int do_deletes char *  sources[],
struct grst_stream_data *  common_data
 

int do_finds char *  sources[],
struct grst_stream_data *  common_data_ptr,
int  num
 

int do_listings char *  sources[],
struct grst_stream_data *  common_data,
int  islonglist
 

int do_mkdirs char *  sources[],
struct grst_stream_data *  common_data
 

int do_move char *  source,
char *  destination,
struct grst_stream_data *  common_data
 

int do_ping struct grst_stream_data *  common_data_ptr  ) 
 

int do_rmtcp char *  sources[],
char *  destination,
struct grst_stream_data *  common_data
 

int grst_dir_list_cmp const void *  a,
const void *  b
 

size_t headers_callback void *  ptr,
size_t  size,
size_t  nmemb,
void *  p
 

struct grst_dir_list* index_to_dir_list char *  text,
char *  source
 

int main int  argc,
char *  argv[]
 

char* make_tmp_ca_roots char *  dir  ) 
 

void parse_conf struct grst_stream_data *  common_data_ptr,
char *  conf_file
 

void printsyntax char *  argv0  ) 
 

size_t rawindex_callback void *  ptr,
size_t  size,
size_t  nmemb,
void *  data
 

int set_std_opts CURL *  easyhandle,
struct grst_stream_data *  common_data
 

int translate_sitecast_url char **  source_ptr,
struct grst_stream_data *  common_data_ptr
 

int update_common_data struct grst_stream_data *  ,
int  ,
char * 
 


Variable Documentation

struct option long_options[]
 

Initial value:

 {      {"verbose",             0, 0, 'v'},
                                        {"cert",                1, 0, 0},
                                        {"key",                 1, 0, 0},
                                        {"capath",              1, 0, 0},
                                        {"delete",              0, 0, 0},
                                        {"list",                0, 0, 0},
                                        {"long-list",           0, 0, 0},
                                        {"mkdir",               0, 0, 0},
                                        {"no-verify",           0, 0, 0},
                                        {"anon",                0, 0, 0},
                                        {"grid-http",           0, 0, 0},
                                        {"move",                0, 0, 0},
                                        {"ping",                0, 0, 0},
                                        {"groups",              1, 0, 0},
                                        {"timeout",             1, 0, 0},
                                        {"sitecast",            0, 0, 0},
                                        {"domain",              1, 0, 0},
                                        {"find",                0, 0, 0},
                                        {"rmtcp",               0, 0, 0},
                                        {"conf",                1, 0, 0},
                                        {0, 0, 0, 0}  }


Generated on Wed Sep 22 00:09:59 2010 by  doxygen 1.4.4