home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DISK / MCP.ZIP / protypes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-26  |  3.9 KB  |  68 lines

  1.  
  2. /* mcp.c */
  3. void main(int argc, char *argv[]);
  4. void check_and_format_dirs(int argc, char *argv[], char *src_dir, char *dst_dir, long options);
  5. void check_target_removeable(char *dst_dir, long *options);
  6. void check_if_dirs_compatible(char *src_dir, char *dst_dir, long options);
  7. void check_if_dir_exists(char *dir, int is_dest, long options);
  8. void change_dir(char *dir, char *cur_dir, char *other_dir, int is_dest, long options);
  9. void create_dir(char *dir, char *cur_dir, char *other_dir);
  10. void return_to_cur_dir(char *cur_dir, char *other_dir);
  11. int just_disk(char *dir);
  12. void change_disk(char *dir, char *cur_dir);
  13. void copy_files(char *src_dir, char *dst_dir, char *file_spec[], int num_args, long options, void *file_buf, unsigned long buf_size);
  14. void report_not_copied(long options, char *src_file);
  15. void build_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
  16. void add_to_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
  17. void take_from_hash_tab(char *dir, ENTRY *hash_tab[], int num_args, long options, char *file_spec[]);
  18. void get_file_spec(char *buf, char *file_spec[], int i, long options);
  19. void print_fdate(unsigned fdate);
  20. void print_ftime(unsigned ftime);
  21. void add_entry(struct ffblk *fblk, ENTRY *hash_tab[]);
  22. char *get_first(long options, int *index);
  23. char *get_next(long options, int *index);
  24. void move_Ptr(long options, int *index);
  25. void clear_archive_bits(char *src_dir, long options);
  26. void clear_hash_tab(ENTRY *hash_tab[]);
  27. void remove_entry(char *file, ENTRY *hash_tab[]);
  28. ENTRY *find_entry(char *file, ENTRY *hash_tab[]);
  29. 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);
  30. int should_dir_copy(char *src_dir, char *dst_dir, char *name, char *new_src_dir, char *new_dst_dir, long options);
  31. int should_file_copy(long options, char *file, char *src_file);
  32. long cmptime_entry(ENTRY *a, ENTRY *b);
  33. int within_date_range(ENTRY *src);
  34. int file_exists(char *name);
  35. void *get_file_buf(unsigned long *buf_size);
  36. void copy_file(ENTRY *ptr, char *dst_file, char *src_file, unsigned long buf_size, long options);
  37. int rename_file(ENTRY *ptr, char *src_file, char *dst_file, long options);
  38. void copy_file_to_buffer(int src_handle, ENTRY *ptr, char *src_file, char *dst_file, struct ftime *ftime_buf, long fsize, char fattr);
  39. 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);
  40. int ensure_dest_dir_exist(char *dst_file, long options);
  41. void target_disk_full(char *dst_file, int dst_handle, long options);
  42. void clean_up_and_exit(long options);
  43. void copy_file_contents(int src_handle, int dst_handle, char *src_file, char *dst_file, unsigned long buf_size, long options);
  44. int ok_to_retry(long options);
  45. void write_buffer(void *file_buf, long options);
  46. void *get_header_info(void *file_buf, ENTRY **ptr, char *src_file, char *dst_file, struct ftime *ftimebuf, long *fsize, char *fattr);
  47. int write_dest_file(int dst_handle, char *dst_file, void *file_buf, long file_size, long options);
  48. int open_dest_file(int *handle, char *name, unsigned modes, long options);
  49. void usage(void);
  50. void get_flags(char *argv[], int argc, long *options);
  51. void set_defaults(long *options);
  52. void check_flags(long options);
  53. void show_doc(void);
  54. void set_Ftime(char *time_str);
  55. void store_time(TIME *time);
  56. void check_time(TIME *time, char *time_arg);
  57. void bad_time(char *time_arg);
  58. void set_Fdate(char *date_str);
  59. void convert_date_str(DATE *date, char *date_str);
  60. char *get_field(char *string, int *field);
  61. void set_todays_date(void);
  62. void get_todays_date(DATE *date);
  63. void store_date(DATE *date);
  64. void check_date(DATE *date, char *date_str);
  65. void bad_date(char *date_str);
  66. void build_stdin_file_list(int *num_args);
  67. void add_to_stdin_list(char *s);
  68.