1
1
Этот коммит содержится в:
Aris Adamantiadis 2009-12-09 19:43:16 +01:00
родитель ffc9806e6d
Коммит 64b72f8d3a
2 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -59,11 +59,14 @@ typedef struct ssh_bind_struct* ssh_bind;
LIBSSH_API ssh_bind ssh_bind_new(void);
/**
* @brief Set the opitons for the current SSH server bind.
* @brief Set the options for the current SSH server bind.
*
* @param ssh_bind The ssh server bind to use.
* @param sshbind The ssh server bind to configure.
*
* @param options The option structure to set.
* @param type Option to set up.
* @param value Value to set.
* @returns SSH_OK No error.
* @returns SSH_ERROR Invalid option or parameter.
*/
LIBSSH_API int ssh_bind_options_set(ssh_bind sshbind,
enum ssh_bind_options_e type, const void *value);

Просмотреть файл

@ -858,7 +858,7 @@ char *ssh_message_channel_request_subsystem(ssh_message msg){
/** @brief defines the SSH_MESSAGE callback
* @param session the current ssh session
* @param ssh_message_callback a function pointer to a callback taking the
* @param ssh_message_callback_ a function pointer to a callback taking the
* current ssh session and received message as parameters. the function returns
* 0 if the message has been parsed and treated sucessfuly, 1 otherwise (libssh
* must take care of the response).