/macosx-10.9.5/rsync-42/rsync/ |
H A D | clientserver.c | 114 int start_inband_exchange(char *user, char *path, int f_in, int f_out, argument 137 io_printf(f_out, "@RSYNCD: %d\n", protocol_version); 174 io_printf(f_out, "%s\n", path); 188 auth_client(f_out, user, line+18); 218 io_printf(f_out, "%s\n", sargs[i]); 220 io_printf(f_out, "\n"); 272 static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) argument 292 io_printf(f_out, "@ERROR: Unknown module '%s'\n", name); 294 io_printf(f_out, 310 io_printf(f_out, " 741 start_daemon(int f_in, int f_out) argument [all...] |
H A D | compat.c | 38 void setup_protocol(int f_out,int f_in) argument 42 write_int(f_out, protocol_version); 115 write_int(f_out, checksum_seed);
|
H A D | pipe.c | 47 pid_t piped_child(char **command, int *f_in, int *f_out) argument 95 *f_out = to_child_pipe[1]; 108 * sockets. In the parent, the function arguments f_in and f_out are 110 pid_t local_child(int argc, char **argv, int *f_in, int *f_out, argument 165 *f_out = to_child_pipe[1];
|
H A D | sender.c | 161 static void write_ndx_and_attrs(int f_out, int ndx, int iflags, argument 164 write_int(f_out, ndx); 167 write_shortint(f_out, iflags); 169 write_byte(f_out, fnamecmp_type); 171 write_vstring(f_out, buf, len); 174 /* This is also used by receive.c with f_out = -1. */ 175 int read_item_attrs(int f_in, int f_out, int ndx, uchar *type_ptr, argument 216 } else if (f_out >= 0) { 217 write_ndx_and_attrs(f_out, ndx, iflags, 224 void send_files(struct file_list *flist, int f_out, in argument [all...] |
H A D | proto.h | 5 char *auth_server(int f_in, int f_out, int module, char *host, char *addr, 44 int start_inband_exchange(char *user, char *path, int f_in, int f_out, 46 int start_daemon(int f_in, int f_out); 48 void setup_protocol(int f_out,int f_in); 60 void send_filter_list(int f_out); 91 void generate_files(int f_out, struct file_list *flist, char *local_name); 101 void io_set_sock_fds(int f_in, int f_out); 110 void io_set_filesfrom_fds(int f_in, int f_out); 204 void start_server(int f_in, int f_out, int argc, char *argv[]); 205 int client_run(int f_in, int f_out, pid_ [all...] |
H A D | generator.c | 488 static void generate_and_send_sums(int fd, OFF_T len, int f_out, int f_copy) argument 496 write_sum_head(f_out, &sum); 530 write_int(f_out, sum1); 531 write_buf(f_out, sum2, sum.s2length); 789 * Note that f_out is set to -1 when doing final directory-permission and 793 enum logcode code, int f_out) 921 if (itemizing && f_out != -1) { 949 && verbose && code != FNONE && f_out != -1) 951 if (delete_during && f_out != -1 && !phase && dry_run < 2 1160 write_int(f_out,nd 791 recv_generator(char *fname, struct file_struct *file, int ndx, int itemizing, int maybe_ATTRS_REPORT, enum logcode code, int f_out) argument 1371 generate_files(int f_out, struct file_list *flist, char *local_name) argument [all...] |
H A D | exclude.c | 1100 static void send_rules(int f_out, struct filter_list_struct *flp) argument 1135 int f = am_sender || protocol_version < 29 ? f_out : -2; 1137 if (f == f_out) 1146 if (f_out < 0) 1152 write_int(f_out, plen + len + dlen); 1154 write_buf(f_out, p, plen); 1155 write_buf(f_out, ent->pattern, len); 1157 write_byte(f_out, '/'); 1163 void send_filter_list(int f_out) argument 1169 f_out [all...] |
H A D | authenticate.c | 224 char *auth_server(int f_in, int f_out, int module, char *host, char *addr, argument 240 io_printf(f_out, "%s%s\n", leader, challenge);
|
H A D | io.c | 170 void io_set_sock_fds(int f_in, int f_out) argument 173 sock_f_out = f_out; 413 * ready, since it might be a pipe) and then blast it out f_out (when it 416 void io_set_filesfrom_fds(int f_in, int f_out) argument 419 io_filesfrom_f_out = f_out;
|
H A D | main.c | 317 int *f_in, int *f_out) 433 *f_out = from_gen_pipe[1]; 441 ret = local_child(argc, args, f_in, f_out, child_main); 443 ret = piped_child(args,f_in,f_out); 621 static void read_final_goodbye(int f_in, int f_out) argument 631 write_int(f_out, the_file_list->count); 632 write_shortint(f_out, ITEM_IS_NEW); 644 static void do_server_sender(int f_in, int f_out, int argc, char *argv[]) argument 683 flist = send_file_list(f_out,argc,argv); 692 send_files(flist,f_out,f_i 316 do_cmd(char *cmd, char *machine, char *user, char *path, int *f_in, int *f_out) argument 702 do_recv(int f_in,int f_out,struct file_list *flist,char *local_name) argument 796 do_server_recv(int f_in, int f_out, int argc,char *argv[]) argument 898 start_server(int f_in, int f_out, int argc, char *argv[]) argument 930 client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[]) argument 1066 int f_in,f_out; local [all...] |