home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / UNIX / Utilities / rsync-1.6.3-MIH / src / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-11  |  2.9 KB  |  70 lines

  1. /* This file is automatically generated with "make proto". DO NOT EDIT */
  2.  
  3. uint32 get_checksum1(char *buf,int len);
  4. void get_checksum2(char *buf,int len,char *sum);
  5. void file_checksum(char *fname,char *sum,off_t size);
  6. void checksum_init(void);
  7. void sum_init(void);
  8. void sum_update(char *p,int len);
  9. void sum_end(char *sum);
  10. void send_file_entry_v10(struct file_struct *file,int f);
  11. void receive_file_entry_v10(struct file_struct *file,
  12.                 unsigned char flags,int f);
  13. void setup_protocol(int f_out,int f_in);
  14. int check_exclude(char *name,char **local_exclude_list);
  15. void add_exclude_list(char *pattern,char ***list);
  16. void add_exclude(char *pattern);
  17. char **make_exclude_list(char *fname,char **list1,int fatal);
  18. void add_exclude_file(char *fname,int fatal);
  19. void send_exclude_list(int f);
  20. void recv_exclude_list(int f);
  21. void add_cvs_excludes(void);
  22. void send_file_entry_v11(struct file_struct *file,int f);
  23. void receive_file_entry_v11(struct file_struct *file,
  24.                 unsigned char flags,int f);
  25. struct file_list *send_file_list(int f,int argc,char *argv[]);
  26. struct file_list *recv_file_list(int f);
  27. int file_compare(struct file_struct *f1,struct file_struct *f2);
  28. int flist_find(struct file_list *flist,struct file_struct *f);
  29. void clean_flist(struct file_list *flist);
  30. void init_hard_links(struct file_list *flist);
  31. int check_hard_link(struct file_struct *file);
  32. void do_hard_links(struct file_list *flist);
  33. int write_total(void);
  34. int read_total(void);
  35. void setup_nonblocking(int f_in,int f_out);
  36. int read_int(int f);
  37. void read_buf(int f,char *buf,int len);
  38. unsigned char read_byte(int f);
  39. int sparse_end(int f);
  40. int write_sparse(int f,char *buf,int len);
  41. int read_write(int fd_in,int fd_out,int size);
  42. void write_int(int f,int x);
  43. void write_buf(int f,char *buf,int len);
  44. void write_byte(int f,unsigned char c);
  45. void write_flush(int f);
  46. int do_cmd(char *cmd,char *machine,char *user,char *path,int *f_in,int *f_out);
  47. void do_server_sender(int argc,char *argv[]);
  48. void do_server_recv(int argc,char *argv[]);
  49. int main(int argc,char *argv[]);
  50. void match_sums(int f,struct sum_struct *s,struct map_struct *buf,off_t len);
  51. void match_report(void);
  52. void recv_generator(char *fname,struct file_list *flist,int i,int f_out);
  53. void exit_cleanup(int code);
  54. void sig_int(void);
  55. int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen);
  56. off_t send_files(struct file_list *flist,int f_out,int f_in);
  57. void generate_files(int f,struct file_list *flist,char *local_name,int f_recv);
  58. void send_token(int f,int token,struct map_struct *buf,int offset,
  59.         int n,int toklen);
  60. int recv_token(int f,char **data);
  61. void see_token(char *data, int toklen);
  62. int num_waiting(int fd);
  63. struct map_struct *map_file(int fd,off_t len);
  64. char *map_ptr(struct map_struct *map,off_t offset,int len);
  65. void unmap_file(struct map_struct *map);
  66. int piped_child(char **command,int *f_in,int *f_out);
  67. void out_of_memory(char *str);
  68. int set_modtime(char *fname,time_t modtime);
  69. int set_blocking(int fd, int set);
  70.