1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-01 14:00:06 +00:00

Handled edgecase of shell peer disconnecting

- minor refactor of shell client, added shellC_isShellOpen()
This commit is contained in:
2022-03-03 10:28:43 -06:00
parent 72e0b6d5d0
commit e6dbada6ec
8 changed files with 66 additions and 39 deletions

View File

@@ -18,6 +18,8 @@ typedef struct sShell_client {
int peerTblCap;
} tShell_client;
#define shellC_isShellOpen(x) (x->openShell != NULL)
void shellC_init(tShell_client *client);
void shellC_cleanup(tShell_client *client);