1
0
mirror of https://github.com/CPunch/Laika.git synced 2026-01-23 02:20:05 +00:00

Deprecated panel, added shell, lrsa.h -> lsodium.h

- Refactoring
This commit is contained in:
2022-02-24 22:13:05 -06:00
parent 5c31fb861b
commit c092d5a9a0
25 changed files with 808 additions and 40 deletions

23
shell/include/scmd.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef SHELLCMD_H
#define SHELLCMD_H
#include <string.h>
#include "sclient.h"
typedef void (*shellCmdCallback)(tShell_client *client, int args, char *argc[]);
typedef struct sShell_cmdDef {
const char *cmd;
const char *help;
shellCmdCallback callback;
} tShell_cmdDef;
extern tShell_cmdDef shellS_cmds[];
void shellS_initCmds(void);
void shellS_cleanupCmds(void);
void shellS_runCmd(tShell_client *client, char *cmd);
#endif