From 0723dab4d76c16208132367922ca2151cb458073 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 May 2011 09:28:31 +0200 Subject: [PATCH] libssh2_channel_process_startup.3: clean up Remove the references to the macro-fied shortcuts as they have their own individual man pages. Made the prototype different and more readable. --- docs/libssh2_channel_process_startup.3 | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/libssh2_channel_process_startup.3 b/docs/libssh2_channel_process_startup.3 index f645fe00..e5e1ad8c 100644 --- a/docs/libssh2_channel_process_startup.3 +++ b/docs/libssh2_channel_process_startup.3 @@ -4,20 +4,14 @@ .SH NAME libssh2_channel_process_startup - request a shell on a channel .SH SYNOPSIS +.nf #include -int -libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel, const char *request, unsigned int request_len, const char *message, unsigned int message_len); - -int -libssh2_channel_shell(LIBSSH2_CHANNEL *channel); - -int -libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *message); - -int -libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel, const char *message); - +int libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel, + const char *request, + unsigned int request_len, + const char *message, + unsigned int message_len); .SH DESCRIPTION \fIchannel\fP - Active session channel instance.