working on adding a entity workflow

This commit is contained in:
2026-03-16 13:22:59 -07:00
parent d18e4cea55
commit 76d2e27879
50 changed files with 988 additions and 389 deletions

View File

@@ -0,0 +1,33 @@
#ifndef SSH_SERVER_CLIENT_H
#define SSH_SERVER_CLIENT_H
typedef struct {
int inputSize;
int* outputSize;
char* inputBuffer;
char* outputBuffer;
}ssh_terminal_data;
typedef int(*ssh_server_callback)(void* userdata);
typedef int(*ssh_server_run_callback)(void* ssh_terminal_data, void* userdata);
typedef struct {
void* init_var;
void* run_var;
void* stop_var;
ssh_server_callback ssh_init;
ssh_server_run_callback ssh_run;
ssh_server_callback ssh_stop;
}ServerLoopCallbacks;
typedef struct {
int port;
int id;
ServerLoopCallbacks cbs;
}ServerConfig;
int ssh_start(ServerConfig* conf);
#endif