Displaying 2 results from an estimated 2 matches for "argv_data".
Did you mean:
arch_data
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...;& (p=strrchr(fname,'/'))) {
+ } else if (f != -1 && (p=strrchr(fname,'/')) && implicit_dirs) {
/* this ensures we send the intermediate directories,
thus getting their permissions right */
*p = 0;
@@ -849,6 +852,49 @@
return flist;
}
+struct argv_data {
+ int argc;
+ char **argv;
+};
+
+static char *
+get_arg(struct argv_data *ad)
+{
+ return (ad->argc-- > 0) ? *(ad->argv++) : NULL;
+}
+
+struct file_list *send_file_list(int f,int argc,char *argv[])
+{
+ struct argv_data arg_info;
+
+ arg_info.argc = argc;
+ arg_info.argv =...
2003 Jan 14
4
specifying a list of files to transfer
...; (p = strrchr(fname, '/'))) {
+ } else if (f != -1 && (p=strrchr(fname,'/')) && implicit_dirs) {
/* this ensures we send the intermediate directories,
thus getting their permissions right */
*p = 0;
@@ -1020,6 +1023,49 @@
return flist;
}
+struct argv_data {
+ int argc;
+ char **argv;
+};
+
+static char *
+get_arg(struct argv_data *ad)
+{
+ return (ad->argc-- > 0) ? *(ad->argv++) : NULL;
+}
+
+struct file_list *send_file_list(int f, int argc, char *argv[])
+{
+ struct argv_data arg_info;
+
+ arg_info.argc = argc;
+ arg_info.argv...