1
1

doc: Some small fixes in server.h.

Этот коммит содержится в:
Andreas Schneider 2010-12-07 21:43:26 +01:00
родитель 1758c172a2
Коммит 3ea33f9ab6

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

@ -48,11 +48,9 @@ enum ssh_bind_options_e {
SSH_BIND_OPTIONS_LOG_VERBOSITY_STR SSH_BIND_OPTIONS_LOG_VERBOSITY_STR
}; };
typedef struct ssh_bind_struct* ssh_bind; typedef struct ssh_bind_struct* ssh_bind;
/* callback functions */ /* Callback functions */
/** /**
* @brief Incoming connection callback. This callback is called when a ssh_bind * @brief Incoming connection callback. This callback is called when a ssh_bind
@ -65,14 +63,14 @@ typedef void (*ssh_bind_incoming_connection_callback) (ssh_bind sshbind,
void *userdata); void *userdata);
/** /**
* These are the callbacks exported by the ssh_bind structure * @brief These are the callbacks exported by the ssh_bind structure.
* They are called by the server module when events appear on the network *
* They are called by the server module when events appear on the network.
*/ */
struct ssh_bind_callbacks_struct { struct ssh_bind_callbacks_struct {
/** DON'T SET THIS use ssh_callbacks_init() instead. */ /** DON'T SET THIS use ssh_callbacks_init() instead. */
size_t size; size_t size;
/** A new connection is available */ /** A new connection is available. */
ssh_bind_incoming_connection_callback incoming_connection; ssh_bind_incoming_connection_callback incoming_connection;
}; };
typedef struct ssh_bind_callbacks_struct *ssh_bind_callbacks; typedef struct ssh_bind_callbacks_struct *ssh_bind_callbacks;
@ -241,7 +239,4 @@ SSH_DEPRECATED LIBSSH_API int ssh_accept(ssh_session session);
#endif /* SERVER_H */ #endif /* SERVER_H */
/** /** @} */
* @}
*/
/* vim: set ts=2 sw=2 et cindent: */