aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/server.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-07 21:43:26 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-07 21:43:26 +0100
commit3ea33f9ab68e0a6367a34837fea17e7ea1c04383 (patch)
treeed95656eaa7719b9af82fa3dfd1b7ef782444053 /include/libssh/server.h
parent1758c172a2f6dc8073180c5fe18acda63f9cb9a4 (diff)
downloadlibssh-3ea33f9ab68e0a6367a34837fea17e7ea1c04383.tar.gz
libssh-3ea33f9ab68e0a6367a34837fea17e7ea1c04383.tar.xz
libssh-3ea33f9ab68e0a6367a34837fea17e7ea1c04383.zip
doc: Some small fixes in server.h.
Diffstat (limited to 'include/libssh/server.h')
-rw-r--r--include/libssh/server.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 12f64803..6614ada4 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -48,11 +48,9 @@ enum ssh_bind_options_e {
SSH_BIND_OPTIONS_LOG_VERBOSITY_STR
};
-
-
typedef struct ssh_bind_struct* ssh_bind;
-/* callback functions */
+/* Callback functions */
/**
* @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);
/**
- * These are the callbacks exported by the ssh_bind structure
- * They are called by the server module when events appear on the network
+ * @brief These are the callbacks exported by the ssh_bind structure.
+ *
+ * They are called by the server module when events appear on the network.
*/
-
struct ssh_bind_callbacks_struct {
/** DON'T SET THIS use ssh_callbacks_init() instead. */
size_t size;
- /** A new connection is available */
+ /** A new connection is available. */
ssh_bind_incoming_connection_callback incoming_connection;
};
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 */
-/**
- * @}
- */
-/* vim: set ts=2 sw=2 et cindent: */
+/** @} */