Liking cljdoc? Tell your friends :D

clj-libssh2.libssh2.channel

JNA functions for calling functions in libssh2 with names libssh2_channel_*

JNA functions for calling functions in libssh2 with names libssh2_channel_*
raw docstring

closeclj

(close channel)

int libssh2_channel_close(LIBSSH2_CHANNEL *channel);

int libssh2_channel_close(LIBSSH2_CHANNEL *channel);
sourceraw docstring

direct-tcpipclj

(direct-tcpip session host port)

LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session, const char *host, int port);

LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session,
                                               const char *host,
                                               int port);
sourceraw docstring

direct-tcpip-exclj

(direct-tcpip-ex session host port shost sport)

LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session, const char *host, int port, const char *shost, int sport);

LIBSSH2_CHANNEL * libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session,
                                                  const char *host,
                                                  int port,
                                                  const char *shost,
                                                  int sport);
sourceraw docstring

eofclj

(eof channel)

int libssh2_channel_eof(LIBSSH2_CHANNEL *channel);

int libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
sourceraw docstring

execclj

(exec channel command)

int libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *command);

int libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *command);
sourceraw docstring

flushclj

(flush channel)

int libssh2_channel_flush(LIBSSH2_CHANNEL *channel);

int libssh2_channel_flush(LIBSSH2_CHANNEL *channel);
sourceraw docstring

flush-exclj

(flush-ex channel streamid)

int libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel, int streamid);

int libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel, int streamid);
sourceraw docstring

flush-stderrclj

(flush-stderr channel)

int libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel);

int libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel);
sourceraw docstring

forward-acceptclj

(forward-accept listener)

LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);

LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
sourceraw docstring

forward-cancelclj

(forward-cancel listener)

int libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);

int libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);
sourceraw docstring

forward-listenclj

(forward-listen session port)

LIBSSH2_LISTENER * libssh2_channel_forward_listen(LIBSSH2_SESSION *session, int port);

LIBSSH2_LISTENER * libssh2_channel_forward_listen(LIBSSH2_SESSION *session,
int port);
sourceraw docstring

forward-listen-exclj

(forward-listen-ex session host port bound-port queue-maxsize)

LIBSSH2_LISTENER * libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session, char *host, int port, int *bound_port, int queue_maxsize);

LIBSSH2_LISTENER * libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session,
                                                     char *host,
                                                     int port,
                                                     int *bound_port,
                                                     int queue_maxsize);
sourceraw docstring

freeclj

(free channel)

int libssh2_channel_free(LIBSSH2_CHANNEL *channel);

int libssh2_channel_free(LIBSSH2_CHANNEL *channel);
sourceraw docstring

get-exit-signalclj

(get-exit-signal channel
                 exit-signal
                 exit-signal-len
                 err-msg
                 err-msg-len
                 lang-tag
                 lang-tag-len)

int libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL *channel, char **exitsignal, size_t *exitsignal_len, char **errmsg, size_t *errmsg_len, char **langtag, size_t *langtag_len);

int libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL *channel,
                                    char **exitsignal,
                                    size_t *exitsignal_len,
                                    char **errmsg,
                                    size_t *errmsg_len,
                                    char **langtag,
                                    size_t *langtag_len);
sourceraw docstring

get-exit-statusclj

(get-exit-status channel)

int libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)

int libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)
sourceraw docstring

handle-extended-datacljdeprecated

(handle-extended-data channel ignore-mode)

void libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel, int ignore_mode);

void libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel,
                                          int ignore_mode);
sourceraw docstring

handle-extended-data2clj

(handle-extended-data2 channel ignore-mode)

int libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel, int ignore_mode);

int libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel,
                                          int ignore_mode);
sourceraw docstring

ignore-extended-datacljdeprecated

(ignore-extended-data channel ignore)

void libssh2_channel_ignore_extended_data(LIBSSH2_CHANNEL *channel, int ignore);

void libssh2_channel_ignore_extended_data(LIBSSH2_CHANNEL *channel,
                                          int ignore);
sourceraw docstring

open-exclj

(open-ex session
         channel-type
         channel-type-len
         window-size
         packet-size
         message
         message-len)

LIBSSH2_CHANNEL * libssh2_channel_open_ex(LIBSSH2_SESSION *session, const char *channel_type, unsigned int channel_type_len, unsigned int window_size, unsigned int packet_size, const char *message, unsigned int message_len);

LIBSSH2_CHANNEL * libssh2_channel_open_ex(LIBSSH2_SESSION *session,
                                          const char *channel_type,
                                          unsigned int channel_type_len,
                                          unsigned int window_size,
                                          unsigned int packet_size,
                                          const char *message,
                                          unsigned int message_len);
sourceraw docstring

open-sessionclj

(open-session session)

LIBSSH2_CHANNEL * libssh2_channel_open_session(LIBSSH2_SESSION *session);

LIBSSH2_CHANNEL * libssh2_channel_open_session(LIBSSH2_SESSION *session);
sourceraw docstring

process-startupclj

(process-startup channel request request-len message message-len)

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_process_startup(LIBSSH2_CHANNEL *channel,
                                    const char *request,
                                    unsigned int request_len,
                                    const char *message,
                                    unsigned int message_len);
sourceraw docstring

readclj

(read channel buf buflen)

ssize_t libssh2_channel_read(LIBSSH2_CHANNEL *channel, char *buf, size_t buflen);

ssize_t libssh2_channel_read(LIBSSH2_CHANNEL *channel,
                             char *buf,
                             size_t buflen);
sourceraw docstring

read-exclj

(read-ex channel stream-id buf buflen)

ssize_t libssh2_channel_read_ex(LIBSSH2_CHANNEL *channel, int stream_id, char *buf, size_t buflen);

ssize_t libssh2_channel_read_ex(LIBSSH2_CHANNEL *channel,
                                int stream_id,
                                char *buf,
                                size_t buflen);
sourceraw docstring

read-stderrclj

(read-stderr channel buf buflen)

ssize_t libssh2_channel_read_stderr(LIBSSH2_CHANNEL *channel, char *buf, size_t buflen);

ssize_t libssh2_channel_read_stderr(LIBSSH2_CHANNEL *channel,
                                    char *buf,
                                    size_t buflen);
sourceraw docstring

receive-window-adjustcljdeprecated

(receive-window-adjust channel adjustment force)

unsigned long libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL * channel, unsigned long adjustment, unsigned char force);

unsigned long libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL * channel,
                                                    unsigned long adjustment,
                                                    unsigned char force);
sourceraw docstring

receive-window-adjust2clj

(receive-window-adjust2 channel adjustment force window)

int libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL * channel, unsigned long adjustment, unsigned char force, unsigned int *window);

int libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL * channel,
                                           unsigned long adjustment,
                                           unsigned char force,
                                           unsigned int *window);
sourceraw docstring

request-ptyclj

(request-pty channel term)

int libssh2_channel_request_pty(LIBSSH2_CHANNEL *channel, char *term);

int libssh2_channel_request_pty(LIBSSH2_CHANNEL *channel, char *term);
sourceraw docstring

request-pty-exclj

(request-pty-ex channel
                term
                term-len
                modes
                modes-len
                width
                height
                width-px
                height-px)

int libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel, const char *term, unsigned int term_len, const char *modes, unsigned int modes_len, int width, int height, int width_px, int height_px);

int libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel,
                                   const char *term,
                                   unsigned int term_len,
                                   const char *modes,
                                   unsigned int modes_len,
                                   int width,
                                   int height,
                                   int width_px,
                                   int height_px);
sourceraw docstring

request-pty-sizeclj

(request-pty-size channel width height)

int libssh2_channel_request_pty_size(LIBSSH2_CHANNEL *channel, int width, int height);

int libssh2_channel_request_pty_size(LIBSSH2_CHANNEL *channel,
                                     int width,
                                     int height);
sourceraw docstring

request-pty-size-exclj

(request-pty-size-ex channel width height width-px height-px)

LIBSSH2_API int libssh2_channel_request_pty_size_ex(LIBSSH2_CHANNEL *channel, int width, int height, int width_px, int height_px);

LIBSSH2_API int libssh2_channel_request_pty_size_ex(LIBSSH2_CHANNEL *channel,
                                                    int width,
                                                    int height,
                                                    int width_px,
                                                    int height_px);
sourceraw docstring

send-eofclj

(send-eof channel)

int libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);

int libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
sourceraw docstring

set-blockingclj

(set-blocking channel blocking)

void libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);

void libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);
sourceraw docstring

setenvclj

(setenv channel varname value)

int libssh2_channel_setenv(LIBSSH2_CHANNEL *channel, char *varname, const char *value);

int libssh2_channel_setenv(LIBSSH2_CHANNEL *channel,
                           char *varname,
                           const char *value);
sourceraw docstring

setenv-exclj

(setenv-ex channel varname varname-len value value-len)

int libssh2_channel_setenv_ex(LIBSSH2_CHANNEL *channel, char *varname, unsigned int varname_len, const char *value, unsigned int value_len);

int libssh2_channel_setenv_ex(LIBSSH2_CHANNEL *channel,
                              char *varname,
                              unsigned int varname_len,
                              const char *value,
                              unsigned int value_len);
sourceraw docstring

shellclj

(shell channel)

int libssh2_channel_shell(LIBSSH2_CHANNEL *channel);

int libssh2_channel_shell(LIBSSH2_CHANNEL *channel);
sourceraw docstring

subsystemclj

(subsystem channel subsystem)

int libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel, const char *subsystem);

int libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel,
                              const char *subsystem);
sourceraw docstring

wait-closedclj

(wait-closed channel)

int libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);

int libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);
sourceraw docstring

wait-eofclj

(wait-eof channel)

int libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);

int libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);
sourceraw docstring

window-readclj

(window-read channel)

unsigned long libssh2_channel_window_read(LIBSSH2_CHANNEL *channel);

unsigned long libssh2_channel_window_read(LIBSSH2_CHANNEL *channel);
sourceraw docstring

window-read-exclj

(window-read-ex channel read-avail window-size-initial)

unsigned long libssh2_channel_window_read_ex(LIBSSH2_CHANNEL *channel, unsigned long *read_avail, unsigned long *window_size_initial);

unsigned long libssh2_channel_window_read_ex(LIBSSH2_CHANNEL *channel,
                                             unsigned long *read_avail,
                                             unsigned long *window_size_initial);
sourceraw docstring

window-writeclj

(window-write channel)

unsigned long libssh2_channel_window_write(LIBSSH2_CHANNEL *channel);

unsigned long libssh2_channel_window_write(LIBSSH2_CHANNEL *channel);
sourceraw docstring

window-write-exclj

(window-write-ex channel window-size-initial)

unsigned long libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel, unsigned long *window_size_initial);

unsigned long libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel,
                                              unsigned long *window_size_initial);
sourceraw docstring

writeclj

(write channel buf buflen)

ssize_t libssh2_channel_write(LIBSSH2_CHANNEL *channel, const char *buf, size_t buflen);

ssize_t libssh2_channel_write(LIBSSH2_CHANNEL *channel,
                              const char *buf,
                              size_t buflen);
sourceraw docstring

write-exclj

(write-ex channel stream-id buf buflen)

ssize_t libssh2_channel_write_ex(LIBSSH2_CHANNEL *channel, int stream_id, char *buf, size_t buflen);

ssize_t libssh2_channel_write_ex(LIBSSH2_CHANNEL *channel,
int stream_id, char *buf,
size_t buflen);
sourceraw docstring

write-stderrclj

(write-stderr channel buf buflen)

ssize_t libssh2_channel_write_stderr(LIBSSH2_CHANNEL *channel, const char *buf, size_t buflen);

ssize_t libssh2_channel_write_stderr(LIBSSH2_CHANNEL *channel,
                                     const char *buf,
                                     size_t buflen);
sourceraw docstring

x11-reqclj

(x11-req channel screen-number)

int libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel, int screen_number);

int libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel, int screen_number);
sourceraw docstring

x11-req-exclj

(x11-req-ex channel single-connection auth-proto auth-cookie screen-number)

int libssh2_channel_x11_req_ex(LIBSSH2_CHANNEL *channel, int single_connection, const char *auth_proto, const char *auth_cookie, int screen_number);

int libssh2_channel_x11_req_ex(LIBSSH2_CHANNEL *channel,
                               int single_connection,
                               const char *auth_proto,
                               const char *auth_cookie,
                               int screen_number);
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close