home *** CD-ROM | disk | FTP | other *** search
- /* This file is automatically generated with "make proto". DO NOT EDIT */
-
- uint32 get_checksum1(char *buf,int len);
- void get_checksum2(char *buf,int len,char *sum);
- void file_checksum(char *fname,char *sum,off_t size);
- void checksum_init(void);
- void sum_init(void);
- void sum_update(char *p,int len);
- void sum_end(char *sum);
- void send_file_entry_v10(struct file_struct *file,int f);
- void receive_file_entry_v10(struct file_struct *file,
- unsigned char flags,int f);
- void setup_protocol(int f_out,int f_in);
- int check_exclude(char *name,char **local_exclude_list);
- void add_exclude_list(char *pattern,char ***list);
- void add_exclude(char *pattern);
- char **make_exclude_list(char *fname,char **list1,int fatal);
- void add_exclude_file(char *fname,int fatal);
- void send_exclude_list(int f);
- void recv_exclude_list(int f);
- void add_cvs_excludes(void);
- void send_file_entry_v11(struct file_struct *file,int f);
- void receive_file_entry_v11(struct file_struct *file,
- unsigned char flags,int f);
- struct file_list *send_file_list(int f,int argc,char *argv[]);
- struct file_list *recv_file_list(int f);
- int file_compare(struct file_struct *f1,struct file_struct *f2);
- int flist_find(struct file_list *flist,struct file_struct *f);
- void clean_flist(struct file_list *flist);
- void init_hard_links(struct file_list *flist);
- int check_hard_link(struct file_struct *file);
- void do_hard_links(struct file_list *flist);
- int write_total(void);
- int read_total(void);
- void setup_nonblocking(int f_in,int f_out);
- int read_int(int f);
- void read_buf(int f,char *buf,int len);
- unsigned char read_byte(int f);
- int sparse_end(int f);
- int write_sparse(int f,char *buf,int len);
- int read_write(int fd_in,int fd_out,int size);
- void write_int(int f,int x);
- void write_buf(int f,char *buf,int len);
- void write_byte(int f,unsigned char c);
- void write_flush(int f);
- int do_cmd(char *cmd,char *machine,char *user,char *path,int *f_in,int *f_out);
- void do_server_sender(int argc,char *argv[]);
- void do_server_recv(int argc,char *argv[]);
- int main(int argc,char *argv[]);
- void match_sums(int f,struct sum_struct *s,struct map_struct *buf,off_t len);
- void match_report(void);
- void recv_generator(char *fname,struct file_list *flist,int i,int f_out);
- void exit_cleanup(int code);
- void sig_int(void);
- int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen);
- off_t send_files(struct file_list *flist,int f_out,int f_in);
- void generate_files(int f,struct file_list *flist,char *local_name,int f_recv);
- void send_token(int f,int token,struct map_struct *buf,int offset,
- int n,int toklen);
- int recv_token(int f,char **data);
- void see_token(char *data, int toklen);
- int num_waiting(int fd);
- struct map_struct *map_file(int fd,off_t len);
- char *map_ptr(struct map_struct *map,off_t offset,int len);
- void unmap_file(struct map_struct *map);
- int piped_child(char **command,int *f_in,int *f_out);
- void out_of_memory(char *str);
- int set_modtime(char *fname,time_t modtime);
- int set_blocking(int fd, int set);
-