diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-11-04 21:59:12 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2008-11-04 21:59:12 +0000 |
commit | 64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2 (patch) | |
tree | 2c5f71d247607d17b55df210adc6b75d833b3572 /libssh/messages.c | |
parent | 90bb81f7b0a729f0508c02586b3d609950d24f2c (diff) | |
download | libssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.tar.gz libssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.tar.xz libssh-64e73b8d8ab216c5dd8812c8cdad39b7f1bfc4d2.zip |
doxygen fixes. Mostly typos and some comments.
sftp must be fully documented !
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@187 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/messages.c')
-rw-r--r-- | libssh/messages.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libssh/messages.c b/libssh/messages.c index e9c99b1..c70a56e 100644 --- a/libssh/messages.c +++ b/libssh/messages.c @@ -18,13 +18,16 @@ You should have received a copy of the GNU Lesser General Public License along with the SSH Library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* 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 +/** \defgroup ssh_messages SSH Messages + * 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 */ + * do + * \addtogroup ssh_messages + * @{ + */ #include <string.h> #include <stdlib.h> @@ -143,7 +146,7 @@ static int ssh_message_auth_reply_default(SSH_MESSAGE *msg,int partial){ strcat(methods_c,"password,"); if(session->auth_methods & SSH_AUTH_HOSTBASED) strcat(methods_c,"hostbased,"); - methods_c[strlen(methods_c)-1]=0; // strip the comma. We are sure there is at + methods_c[strlen(methods_c)-1]=0; // strip the comma. We are sure there is at // least one word into the list ssh_say(2,"Sending a auth failure. methods that can continue : %s\n",methods_c); methods=string_from_char(methods_c); @@ -296,7 +299,7 @@ static SSH_MESSAGE *handle_channel_request(SSH_SESSION *session){ leave_function(); return msg; } - + msg->channel_request.type=SSH_CHANNEL_UNKNOWN; free(type_c); leave_function(); @@ -444,3 +447,5 @@ void ssh_message_free(SSH_MESSAGE *msg){ } memset(msg,0,sizeof(*msg)); } +/** @} + */ |