version 1.6, 2001/06/26 06:33:01 |
version 1.7, 2002/02/05 00:00:46 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Copyright (c) 2001 Damien Miller. All rights reserved. |
* Copyright (c) 2001-2002 Damien Miller. All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* modification, are permitted provided that the following conditions |
|
|
* Download 'remote_path' to 'local_path'. Preserve permissions and times |
* Download 'remote_path' to 'local_path'. Preserve permissions and times |
* if 'pflag' is set |
* if 'pflag' is set |
*/ |
*/ |
int do_download(int, int, char *, char *, int); |
int do_download(int, int, char *, char *, int, size_t); |
|
|
/* |
/* |
* Upload 'local_path' to 'remote_path'. Preserve permissions and times |
* Upload 'local_path' to 'remote_path'. Preserve permissions and times |
* if 'pflag' is set |
* if 'pflag' is set |
*/ |
*/ |
int do_upload(int, int, char *, char *, int); |
int do_upload(int, int, char *, char *, int , size_t); |