comparison scp.c @ 33:f789045062e6

Progressing client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jul 2004 16:30:46 +0000
parents fe6bca95afa7
children 68b84c20ca1e
comparison
equal deleted inserted replaced
32:8fd0cdbb5b1b 33:f789045062e6
227 void source(int, char *[]); 227 void source(int, char *[]);
228 void tolocal(int, char *[]); 228 void tolocal(int, char *[]);
229 void toremote(char *, int, char *[]); 229 void toremote(char *, int, char *[]);
230 void usage(void); 230 void usage(void);
231 231
232 int 232 #if defined(DBMULTI_scp) || !defined(DROPBEAR_MULTI)
233 #if defined(DBMULTI_scp) && defined(DROPBEAR_MULTI)
234 int scp_main(int argc, char **argv)
235 #else
233 main(int argc, char **argv) 236 main(int argc, char **argv)
237 #endif
234 { 238 {
235 int ch, fflag, tflag, status; 239 int ch, fflag, tflag, status;
236 double speed; 240 double speed;
237 char *targ, *endp; 241 char *targ, *endp;
238 extern char *optarg; 242 extern char *optarg;
377 errs = 1; 381 errs = 1;
378 } 382 }
379 } 383 }
380 exit(errs != 0); 384 exit(errs != 0);
381 } 385 }
386 #endif /* DBMULTI stuff */
382 387
383 void 388 void
384 toremote(char *targ, int argc, char **argv) 389 toremote(char *targ, int argc, char **argv)
385 { 390 {
386 int i, len; 391 int i, len;