SilcSFTPStatus
NAME
typedef enum { ... } SilcSFTPStatus
DESCRIPTION
SFTP protocol status types. These enumerations is used to indicate
the status of request. The server can send these to the client when
client has requested an operation.
SOURCE
typedef enum {
SILC_SFTP_STATUS_OK = 0, /* Operation successful */
SILC_SFTP_STATUS_EOF = 1, /* No more data available */
SILC_SFTP_STATUS_NO_SUCH_FILE = 2, /* File does not exist */
SILC_SFTP_STATUS_PERMISSION_DENIED = 3, /* No sufficient permissions */
SILC_SFTP_STATUS_FAILURE = 4, /* Operation failed */
SILC_SFTP_STATUS_BAD_MESSAGE = 5, /* Bad message received */
SILC_SFTP_STATUS_NO_CONNECTION = 6, /* No connection to server */
SILC_SFTP_STATUS_CONNECTION_LOST = 7, /* Connection lost to server */
SILC_SFTP_STATUS_OP_UNSUPPORTED = 8, /* Operation unsupported */
} SilcSFTPStatus;
|