/* ############################################################################# * # sshGameServer * This is a test * * AUTHER: PreacherDHM * DATE: 07/03/26 * ############################################################################# */ /* This is a sample implementation of a libssh based SSH server */ #include "ssh_server_client.h" #include "client_source/client.h" int test(void*); int testrun(void*, void*); int main() { ServerConfig conf = { .id = 123, .port = 2222, .threadCount = 0, .cbs = (ServerLoopCallbacks){ .ssh_init = client_init, .ssh_stop = client_stop, .ssh_run = client_update, .ssh_resize = client_resize, } }; for(int i = 0; i < 12; i++) { conf.clients[i] = 0; } ssh_start(&conf); return 0; }