sftp_extension_supported

@brief Check if the given extension is supported.

@param sftp The sftp session to use.

@param name The name of the extension.

@param data The data of the extension.

@return 1 if supported, 0 if not.

extern (C)
int
sftp_extension_supported
(,
const char* name
,
const char* data
)

Examples

@code sftp_extension_supported(sftp, "statvfs@openssh.com", "2"); @endcode

Meta