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.
This commit is contained in:
Daniel Stenberg 2011-05-30 09:28:31 +02:00
parent 67ba8713a6
commit 0723dab4d7

View File

@ -4,20 +4,14 @@
.SH NAME .SH NAME
libssh2_channel_process_startup - request a shell on a channel libssh2_channel_process_startup - request a shell on a channel
.SH SYNOPSIS .SH SYNOPSIS
.nf
#include <libssh2.h> #include <libssh2.h>
int int libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel,
libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel, const char *request, unsigned int request_len, const char *message, unsigned int message_len); const char *request,
unsigned int request_len,
int const char *message,
libssh2_channel_shell(LIBSSH2_CHANNEL *channel); unsigned int message_len);
int
libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *message);
int
libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel, const char *message);
.SH DESCRIPTION .SH DESCRIPTION
\fIchannel\fP - Active session channel instance. \fIchannel\fP - Active session channel instance.