libwebsockets
Lightweight C library for HTML5 websockets
Loading...
Searching...
No Matches
lws-plugin-ssh.h File Reference

#include <lws-plugin-ssh.h>

Go to the source code of this file.

Data Structures

struct  lws_ssh_pty
struct  lws_ssh_ops

Macros

#define LWS_CALLBACK_SSH_UART_SET_RXFLOW   (LWS_CALLBACK_USER + 800)
#define LWS_SSH_OPS_VERSION   2
#define SSHMO_TTY_OP_END   0
#define SSHMO_VINTR   1
#define SSHMO_VQUIT   2
#define SSHMO_VERASE   3
#define SSHMO_VKILL   4
#define SSHMO_VEOF   5
#define SSHMO_VEOL   6
#define SSHMO_VEOL2   7
#define SSHMO_VSTART   8
#define SSHMO_VSTOP   9
#define SSHMO_VSUSP   10
#define SSHMO_VDSUSP   11
#define SSHMO_VREPRINT   12
#define SSHMO_VWERASE   13
#define SSHMO_VLNEXT   14
#define SSHMO_VFLUSH   15
#define SSHMO_VSWTCH   16
#define SSHMO_VSTATUS   17
#define SSHMO_VDISCARD   18
#define SSHMO_IGNPAR   30
#define SSHMO_PARMRK   31
#define SSHMO_INPCK   32
#define SSHMO_ISTRIP   33
#define SSHMO_INLCR   34
#define SSHMO_IGNCR   35
#define SSHMO_ICRNL   36
#define SSHMO_IUCLC   37
#define SSHMO_IXON   38
#define SSHMO_IXANY   39
#define SSHMO_IXOFF   40
#define SSHMO_IMAXBEL   41
#define SSHMO_ISIG   50
#define SSHMO_ICANON   51
#define SSHMO_XCASE   52
#define SSHMO_ECHO   53
#define SSHMO_ECHOE   54
#define SSHMO_ECHOK   55
#define SSHMO_ECHONL   56
#define SSHMO_NOFLSH   57
#define SSHMO_TOSTOP   58
#define SSHMO_IEXTEN   59
#define SSHMO_ECHOCTL   60
#define SSHMO_ECHOKE   61
#define SSHMO_PENDIN   62
#define SSHMO_OPOST   70
#define SSHMO_OLCUC   71
#define SSHMO_ONLCR   72
#define SSHMO_OCRNL   73
#define SSHMO_ONOCR   74
#define SSHMO_ONLRET   75
#define SSHMO_CS7   90
#define SSHMO_CS8   91
#define SSHMO_PARENB   92
#define SSHMO_PARODD   93
#define SSHMO_TTY_OP_ISPEED   128
#define SSHMO_TTY_OP_OSPEED   129

Typedefs

typedef void(* lws_ssh_finish_exec) (void *handle, int retcode)

Data Structure Documentation

◆ lws_ssh_pty

struct lws_ssh_pty

Definition at line 32 of file lws-plugin-ssh.h.

Collaboration diagram for lws_ssh_pty:
Data Fields
char term[16]
char * modes
uint32_t width_ch
uint32_t height_ch
uint32_t width_px
uint32_t height_px
uint32_t modes_len

Macro Definition Documentation

◆ LWS_CALLBACK_SSH_UART_SET_RXFLOW

#define LWS_CALLBACK_SSH_UART_SET_RXFLOW   (LWS_CALLBACK_USER + 800)

Definition at line 28 of file lws-plugin-ssh.h.

◆ LWS_SSH_OPS_VERSION

#define LWS_SSH_OPS_VERSION   2

Definition at line 30 of file lws-plugin-ssh.h.

◆ SSHMO_TTY_OP_END

#define SSHMO_TTY_OP_END   0

Definition at line 42 of file lws-plugin-ssh.h.

◆ SSHMO_VINTR

#define SSHMO_VINTR   1

Definition at line 43 of file lws-plugin-ssh.h.

◆ SSHMO_VQUIT

#define SSHMO_VQUIT   2

Definition at line 46 of file lws-plugin-ssh.h.

◆ SSHMO_VERASE

#define SSHMO_VERASE   3

Definition at line 48 of file lws-plugin-ssh.h.

◆ SSHMO_VKILL

#define SSHMO_VKILL   4

Definition at line 49 of file lws-plugin-ssh.h.

◆ SSHMO_VEOF

#define SSHMO_VEOF   5

Definition at line 50 of file lws-plugin-ssh.h.

◆ SSHMO_VEOL

#define SSHMO_VEOL   6

Definition at line 52 of file lws-plugin-ssh.h.

◆ SSHMO_VEOL2

#define SSHMO_VEOL2   7

Definition at line 54 of file lws-plugin-ssh.h.

◆ SSHMO_VSTART

#define SSHMO_VSTART   8

Definition at line 55 of file lws-plugin-ssh.h.

◆ SSHMO_VSTOP

#define SSHMO_VSTOP   9

Definition at line 57 of file lws-plugin-ssh.h.

◆ SSHMO_VSUSP

#define SSHMO_VSUSP   10

Definition at line 58 of file lws-plugin-ssh.h.

◆ SSHMO_VDSUSP

#define SSHMO_VDSUSP   11

Definition at line 59 of file lws-plugin-ssh.h.

◆ SSHMO_VREPRINT

#define SSHMO_VREPRINT   12

Definition at line 60 of file lws-plugin-ssh.h.

◆ SSHMO_VWERASE

#define SSHMO_VWERASE   13

Definition at line 61 of file lws-plugin-ssh.h.

◆ SSHMO_VLNEXT

#define SSHMO_VLNEXT   14

Definition at line 62 of file lws-plugin-ssh.h.

◆ SSHMO_VFLUSH

#define SSHMO_VFLUSH   15

Definition at line 64 of file lws-plugin-ssh.h.

◆ SSHMO_VSWTCH

#define SSHMO_VSWTCH   16

Definition at line 65 of file lws-plugin-ssh.h.

◆ SSHMO_VSTATUS

#define SSHMO_VSTATUS   17

Definition at line 66 of file lws-plugin-ssh.h.

◆ SSHMO_VDISCARD

#define SSHMO_VDISCARD   18

Definition at line 68 of file lws-plugin-ssh.h.

◆ SSHMO_IGNPAR

#define SSHMO_IGNPAR   30

Definition at line 69 of file lws-plugin-ssh.h.

◆ SSHMO_PARMRK

#define SSHMO_PARMRK   31

Definition at line 72 of file lws-plugin-ssh.h.

◆ SSHMO_INPCK

#define SSHMO_INPCK   32

Definition at line 73 of file lws-plugin-ssh.h.

◆ SSHMO_ISTRIP

#define SSHMO_ISTRIP   33

Definition at line 74 of file lws-plugin-ssh.h.

◆ SSHMO_INLCR

#define SSHMO_INLCR   34

Definition at line 75 of file lws-plugin-ssh.h.

◆ SSHMO_IGNCR

#define SSHMO_IGNCR   35

Definition at line 76 of file lws-plugin-ssh.h.

◆ SSHMO_ICRNL

#define SSHMO_ICRNL   36

Definition at line 77 of file lws-plugin-ssh.h.

◆ SSHMO_IUCLC

#define SSHMO_IUCLC   37

Definition at line 78 of file lws-plugin-ssh.h.

◆ SSHMO_IXON

#define SSHMO_IXON   38

Definition at line 79 of file lws-plugin-ssh.h.

◆ SSHMO_IXANY

#define SSHMO_IXANY   39

Definition at line 80 of file lws-plugin-ssh.h.

◆ SSHMO_IXOFF

#define SSHMO_IXOFF   40

Definition at line 81 of file lws-plugin-ssh.h.

◆ SSHMO_IMAXBEL

#define SSHMO_IMAXBEL   41

Definition at line 82 of file lws-plugin-ssh.h.

◆ SSHMO_ISIG

#define SSHMO_ISIG   50

Definition at line 83 of file lws-plugin-ssh.h.

◆ SSHMO_ICANON

#define SSHMO_ICANON   51

Definition at line 84 of file lws-plugin-ssh.h.

◆ SSHMO_XCASE

#define SSHMO_XCASE   52

Definition at line 85 of file lws-plugin-ssh.h.

◆ SSHMO_ECHO

#define SSHMO_ECHO   53

Definition at line 88 of file lws-plugin-ssh.h.

◆ SSHMO_ECHOE

#define SSHMO_ECHOE   54

Definition at line 89 of file lws-plugin-ssh.h.

◆ SSHMO_ECHOK

#define SSHMO_ECHOK   55

Definition at line 90 of file lws-plugin-ssh.h.

◆ SSHMO_ECHONL

#define SSHMO_ECHONL   56

Definition at line 91 of file lws-plugin-ssh.h.

◆ SSHMO_NOFLSH

#define SSHMO_NOFLSH   57

Definition at line 92 of file lws-plugin-ssh.h.

◆ SSHMO_TOSTOP

#define SSHMO_TOSTOP   58

Definition at line 93 of file lws-plugin-ssh.h.

◆ SSHMO_IEXTEN

#define SSHMO_IEXTEN   59

Definition at line 94 of file lws-plugin-ssh.h.

◆ SSHMO_ECHOCTL

#define SSHMO_ECHOCTL   60

Definition at line 95 of file lws-plugin-ssh.h.

◆ SSHMO_ECHOKE

#define SSHMO_ECHOKE   61

Definition at line 96 of file lws-plugin-ssh.h.

◆ SSHMO_PENDIN

#define SSHMO_PENDIN   62

Definition at line 97 of file lws-plugin-ssh.h.

◆ SSHMO_OPOST

#define SSHMO_OPOST   70

Definition at line 98 of file lws-plugin-ssh.h.

◆ SSHMO_OLCUC

#define SSHMO_OLCUC   71

Definition at line 99 of file lws-plugin-ssh.h.

◆ SSHMO_ONLCR

#define SSHMO_ONLCR   72

Definition at line 100 of file lws-plugin-ssh.h.

◆ SSHMO_OCRNL

#define SSHMO_OCRNL   73

Definition at line 101 of file lws-plugin-ssh.h.

◆ SSHMO_ONOCR

#define SSHMO_ONOCR   74

Definition at line 102 of file lws-plugin-ssh.h.

◆ SSHMO_ONLRET

#define SSHMO_ONLRET   75

Definition at line 103 of file lws-plugin-ssh.h.

◆ SSHMO_CS7

#define SSHMO_CS7   90

Definition at line 104 of file lws-plugin-ssh.h.

◆ SSHMO_CS8

#define SSHMO_CS8   91

Definition at line 105 of file lws-plugin-ssh.h.

◆ SSHMO_PARENB

#define SSHMO_PARENB   92

Definition at line 106 of file lws-plugin-ssh.h.

◆ SSHMO_PARODD

#define SSHMO_PARODD   93

Definition at line 107 of file lws-plugin-ssh.h.

◆ SSHMO_TTY_OP_ISPEED

#define SSHMO_TTY_OP_ISPEED   128

Definition at line 108 of file lws-plugin-ssh.h.

◆ SSHMO_TTY_OP_OSPEED

#define SSHMO_TTY_OP_OSPEED   129

Definition at line 110 of file lws-plugin-ssh.h.