15#ifndef PROTOCORE_APP_SERVER_H
16#define PROTOCORE_APP_SERVER_H
58 void (*
const classify)(uint8_t *work);
69static const SshAppServerNs SshAppServer __attribute__((unused)) = {
RFC 4254 connection protocol: channel multiplexing, windows, and port forwarding.
void protocore_ssh_app_server_classify(uint8_t *work)
SshAppServerVars SshAppServerV
The operands and the outcome.
void(*const classify)(uint8_t *work)
proto_bool accept
in/out: set when an accepted SFTP subsystem flips acceptance
uint32_t channel
the channel it names
uint8_t slot
the SSH slot the request arrived on
SshChanReqArgs req
what one channel request names and carries
RFC 4254 sec 5.4 CHANNEL_REQUEST: the type it names, and the body that follows.
const uint8_t * rtype
the request type
size_t off
in/out: the request-specific argument, advanced past what was read
const uint8_t * payload
the request body
size_t len
how many bytes it has
uint32_t rtype_len
its length
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS