diff options
| author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-17 10:09:06 +0200 |
|---|---|---|
| committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
| commit | 2f0ba0e574ed0968091e3dacc63712220a2ceb25 (patch) | |
| tree | 35f27bba13fbae22971153ab74e44a67499b2093 /include | |
| parent | 774c0998aa8cd89f86a016b6b6b8ab6b3b8f26e9 (diff) | |
| download | libssh-2f0ba0e574ed0968091e3dacc63712220a2ceb25.tar.gz libssh-2f0ba0e574ed0968091e3dacc63712220a2ceb25.tar.xz libssh-2f0ba0e574ed0968091e3dacc63712220a2ceb25.zip | |
cleanup: use ssh_ prefix in the channels (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes
when compiling libssh statically.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/libssh/channels.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libssh/channels.h b/include/libssh/channels.h index b05c4c02..44258bad 100644 --- a/include/libssh/channels.h +++ b/include/libssh/channels.h @@ -105,13 +105,13 @@ SSH_PACKET_CALLBACK(ssh_packet_close1); SSH_PACKET_CALLBACK(ssh_packet_exist_status1); /* channels1.c */ -int channel_open_session1(ssh_channel channel); -int channel_request_pty_size1(ssh_channel channel, const char *terminal, +int ssh_channel_open_session1(ssh_channel channel); +int ssh_channel_request_pty_size1(ssh_channel channel, const char *terminal, int cols, int rows); -int channel_change_pty_size1(ssh_channel channel, int cols, int rows); -int channel_request_shell1(ssh_channel channel); -int channel_request_exec1(ssh_channel channel, const char *cmd); -int channel_write1(ssh_channel channel, const void *data, int len); +int ssh_channel_change_pty_size1(ssh_channel channel, int cols, int rows); +int ssh_channel_request_shell1(ssh_channel channel); +int ssh_channel_request_exec1(ssh_channel channel, const char *cmd); +int ssh_channel_write1(ssh_channel channel, const void *data, int len); ssh_channel ssh_get_channel1(ssh_session session); #endif |
