9#ifndef PROTOCORE_CLIENT_CLIENT_H
10#define PROTOCORE_CLIENT_CLIENT_H
18 PROTOCORE_SSH_CLIENT_IDLE = 0,
19 PROTOCORE_SSH_CLIENT_CONNECTING,
20 PROTOCORE_SSH_CLIENT_UP,
21 PROTOCORE_SSH_CLIENT_FAILED
24#if PROTOCORE_ENABLE_SSH_CLIENT
32 const uint8_t *auth_seed;
33 const uint8_t *host_pin;
34 const char *bind_addr;
38} protocore_ssh_client_cfg;
71 const uint8_t *payload;
77 const protocore_ssh_client_cfg *cfg;
83 protocore_ssh_client_state state_of;
85 void (*
const send)(
const uint8_t *work);
86 void (*
const crypto_work)(
const uint8_t *work);
87 void (*
const state)(
const uint8_t *work);
88 void (*
const begin)(
const uint8_t *work);
89 void (*
const poll)(uint8_t *work);
90 void (*
const end)(
const uint8_t *work);
94extern SshClientNs SshClient;
105uint8_t *protocore_ssh_client_span(
void);
EMBED_BEGIN_DECLS EMBED_ENUM_BYTE(protocore_ssh_client_state, PROTOCORE_SSH_CLIENT_IDLE=0, PROTOCORE_SSH_CLIENT_CONNECTING, PROTOCORE_SSH_CLIENT_UP, PROTOCORE_SSH_CLIENT_FAILED)
Lifecycle phase of the forward, for observability.
Root infrastructure: fixed widths, serializers, opcodes and sizes, for every layer above.