diff options
author | dtucker <dtucker> | 2010-12-04 22:02:47 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2010-12-04 22:02:47 +0000 |
commit | 76940b364c5bdc2f87d656c0b60f8fdbd8c3f18d (patch) | |
tree | 1057460a7c5804e24203fee9d3f4b0f201f6480a /sftp-client.h | |
parent | e360fd409865ff5622a16b6f2a24a030833a079c (diff) | |
download | openssh-76940b364c5bdc2f87d656c0b60f8fdbd8c3f18d.tar.gz |
- djm@cvs.openbsd.org 2010/12/04 00:18:01
[sftp-server.c sftp.1 sftp-client.h sftp.c PROTOCOL sftp-client.c]
add a protocol extension to support a hard link operation. It is
available through the "ln" command in the client. The old "ln"
behaviour of creating a symlink is available using its "-s" option
or through the preexisting "symlink" command; based on a patch from
miklos AT szeredi.hu in bz#1555; ok markus@
Diffstat (limited to 'sftp-client.h')
-rw-r--r-- | sftp-client.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sftp-client.h b/sftp-client.h index 145fc38e..aef54ef4 100644 --- a/sftp-client.h +++ b/sftp-client.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.h,v 1.19 2010/09/22 22:58:51 djm Exp $ */ +/* $OpenBSD: sftp-client.h,v 1.20 2010/12/04 00:18:01 djm Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> @@ -94,6 +94,9 @@ int do_statvfs(struct sftp_conn *, const char *, struct sftp_statvfs *, int); /* Rename 'oldpath' to 'newpath' */ int do_rename(struct sftp_conn *, char *, char *); +/* Link 'oldpath' to 'newpath' */ +int do_hardlink(struct sftp_conn *, char *, char *); + /* Rename 'oldpath' to 'newpath' */ int do_symlink(struct sftp_conn *, char *, char *); |