aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_xfer.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-06-26 08:47:38 +0200
committerIngela Anderton Andin <[email protected]>2015-06-26 11:35:31 +0200
commitfcbf2e682cedebdf768dc90273889b1f8d4b2ce4 (patch)
tree28e429fafddc8b5cdb9e2e4141f2730fc3c1b3f9 /lib/ssh/src/ssh_xfer.hrl
parent0f3f8f5871a1ea503cc80ae17adc8dec96c79445 (diff)
downloadotp-fcbf2e682cedebdf768dc90273889b1f8d4b2ce4.tar.gz
otp-fcbf2e682cedebdf768dc90273889b1f8d4b2ce4.tar.bz2
otp-fcbf2e682cedebdf768dc90273889b1f8d4b2ce4.zip
ssh: Use old crypto with newer ssh
Many issues with previous process design, causing for instance process leaks, are compleatly gone in the redesigned ssh-3.0 and later. This is a backport of newer ssh design to R15B
Diffstat (limited to 'lib/ssh/src/ssh_xfer.hrl')
-rw-r--r--lib/ssh/src/ssh_xfer.hrl14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_xfer.hrl b/lib/ssh/src/ssh_xfer.hrl
index c13950eb6e..8dc9a40f92 100644
--- a/lib/ssh/src/ssh_xfer.hrl
+++ b/lib/ssh/src/ssh_xfer.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2005-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2005-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -58,7 +58,6 @@
%%% # SSH_FX_xxx
%%% Description: Response packet types for file transfer protocol.
%%%----------------------------------------------------------------------
-
-define(SSH_FX_OK, 0).
-define(SSH_FX_EOF, 1).
-define(SSH_FX_NO_SUCH_FILE, 2).
@@ -79,7 +78,18 @@
-define(SSH_FX_LOCK_CONFlICT, 17).
-define(SSH_FX_DIR_NOT_EMPTY, 18).
-define(SSH_FX_NOT_A_DIRECTORY, 19).
+-define(SSH_FX_INVALID_FILENAME, 20).
+-define(SSH_FX_LINK_LOOP, 21).
+-define(SSH_FX_CANNOT_DELETE, 22).
+-define(SSH_FX_INVALID_PARAMETER, 23).
-define(SSH_FX_FILE_IS_A_DIRECTORY, 24).
+-define(SSH_FX_BYTE_RANGE_LOCK_CONFLICT,25).
+-define(SSH_FX_BYTE_RANGE_LOCK_REFUSED, 26).
+-define(SSH_FX_DELETE_PENDING, 27).
+-define(SSH_FX_FILE_CORRUPT, 28).
+-define(SSH_FX_OWNER_INVALID, 29).
+-define(SSH_FX_GROUP_INVALID, 30).
+-define(SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK,31).
%%%----------------------------------------------------------------------
%%% # SSH_FILEXFER_xxx