The SSH message functions
[The libssh API]

This file contains the Message parsing utilities for server programs using libssh. More...

Functions

ssh_message ssh_message_get (ssh_session session)
 Retrieve a SSH message from a SSH session.

Detailed Description

This file contains the Message parsing utilities for server programs using libssh.

The main loop of the program will call ssh_message_get(session) to get messages as they come. they are not 1-1 with the protocol messages. then, the user will know what kind of a message it is and use the appropriate functions to handle it (or use the default handlers if she doesn't know what to do


Function Documentation

ssh_message ssh_message_get ( ssh_session  session  ) 

Retrieve a SSH message from a SSH session.

Parameters:
[in] session The SSH session to get the message.
Returns:
The SSH message received, NULL in case of error.
Warning:
This function blocks until a message has been received. Betterset up a callback if this behavior is unwanted.


Generated on Sat Jun 1 12:51:48 2013 for libssh by  doxygen 1.5.6