home *** CD-ROM | disk | FTP | other *** search
-
- /* mcp.c */
- void main(int argc, char *argv[]);
- void check_and_format_dirs(int argc, char *argv[], char *src_dir, char *dst_dir, long options);
- void check_target_removeable(char *dst_dir, long *options);
- void check_if_dirs_compatible(char *src_dir, char *dst_dir, long options);
- void check_if_dir_exists(char *dir, int is_dest, long options);
- void change_dir(char *dir, char *cur_dir, char *other_dir, int is_dest, long options);
- void create_dir(char *dir, char *cur_dir, char *other_dir);
- void return_to_cur_dir(char *cur_dir, char *other_dir);
- int just_disk(char *dir);
- void change_disk(char *dir, char *cur_dir);
- void copy_files(char *src_dir, char *dst_dir, char *file_spec[], int num_args, long options, void *file_buf, unsigned long buf_size);
- void report_not_copied(long options, char *src_file);
- void build_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
- void add_to_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
- void take_from_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
- void get_file_spec(char *buf, char *file_spec[], int i, long options);
- void print_fdate(unsigned fdate);
- void print_ftime(unsigned ftime);
- void add_entry(struct ffblk *fblk, ENTRY *hash_tab[]);
- char *get_first(long options, int *index);
- char *get_next(long options, int *index);
- void move_Ptr(long options, int *index);
- void clear_archive_bits(char *src_dir, long options);
- void clear_hash_tab(ENTRY *hash_tab[]);
- void remove_entry(char *file, ENTRY *hash_tab[]);
- ENTRY *find_entry(char *file, ENTRY *hash_tab[]);
- void copy_sub_dirs(char *src_dir, char *dst_dir, char *file_spec[], int num_args, long options, void *file_buf, unsigned long buf_size);
- int should_dir_copy(char *src_dir, char *dst_dir, char *name, char *new_src_dir, char *new_dst_dir, long options);
- int should_file_copy(long options, char *file, char *src_file);
- long cmptime_entry(ENTRY *a, ENTRY *b);
- int within_date_range(ENTRY *src);
- int file_exists(char *name);
- void *get_file_buf(unsigned long *buf_size);
- void copy_file(ENTRY *ptr, char *dst_file, char *src_file, unsigned long buf_size, long options);
- int rename_file(ENTRY *ptr, char *src_file, char *dst_file, long options);
- void copy_file_to_buffer(int src_handle, ENTRY *ptr, char *src_file, char *dst_file, struct ftime *ftime_buf, long fsize, char fattr);
- void copy_file_unbuffered(int src_handle, ENTRY *ptr, char *src_file, char *dst_file, long fsize, struct ftime *ftime_buf, char fattr, long options, unsigned long buf_size);
- int ensure_dest_dir_exist(char *dst_file, long options);
- void target_disk_full(char *dst_file, int dst_handle, long options);
- void clean_up_and_exit(long options);
- void copy_file_contents(int src_handle, int dst_handle, char *src_file, char *dst_file, unsigned long buf_size, long options);
- int ok_to_retry(long options);
- void write_buffer(void *file_buf, long options);
- void *get_header_info(void *file_buf, ENTRY **ptr, char *src_file, char *dst_file, struct ftime *ftimebuf, long *fsize, char *fattr);
- int write_dest_file(int dst_handle, char *dst_file, void *file_buf, long file_size, long options);
- int open_dest_file(int *handle, char *name, unsigned modes, long options);
- void usage(void);
- void get_flags(char *argv[], int argc, long *options);
- void set_defaults(long *options);
- void check_flags(long options);
- void show_doc(void);
- void set_Ftime(char *time_str);
- void store_time(TIME *time);
- void check_time(TIME *time, char *time_arg);
- void bad_time(char *time_arg);
- void set_Fdate(char *date_str);
- void convert_date_str(DATE *date, char *date_str);
- char *get_field(char *string, int *field);
- void set_todays_date(void);
- void get_todays_date(DATE *date);
- void store_date(DATE *date);
- void check_date(DATE *date, char *date_str);
- void bad_date(char *date_str);
- void build_stdin_file_list(int *num_args);
- void add_to_stdin_list(char *s);
-