Fix the ssh_message_retrieve problem by anihilation
This commit is contained in:
parent
dff4e4e6d3
commit
1a101a959e
@ -86,7 +86,7 @@ LIBSSH_API ssh_string publickey_from_file(ssh_session session, const char *filen
|
||||
int *type);
|
||||
LIBSSH_API ssh_public_key publickey_from_privatekey(ssh_private_key prv);
|
||||
LIBSSH_API ssh_string publickey_to_string(ssh_public_key key);
|
||||
|
||||
LIBSSH_API ssh_message ssh_message_retrieve(ssh_session session, uint32_t packettype);
|
||||
LIBSSH_API void string_burn(ssh_string str);
|
||||
LIBSSH_API ssh_string string_copy(ssh_string str);
|
||||
LIBSSH_API void *string_data(ssh_string str);
|
||||
|
@ -247,4 +247,13 @@ int channel_write_stderr(ssh_channel channel, const void *data, uint32_t len) {
|
||||
return ssh_channel_write(channel, data, len);
|
||||
}
|
||||
|
||||
/** @deprecated
|
||||
* @brief Interface previously exported by error.
|
||||
*/
|
||||
ssh_message ssh_message_retrieve(ssh_session session, uint32_t packettype){
|
||||
(void) packettype;
|
||||
ssh_set_error(session, SSH_FATAL, "ssh_message_retrieve: obsolete libssh call");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* WITH_SERVER */
|
||||
|
Loading…
Reference in New Issue
Block a user