pish/include/Common.h

14 lines
337 B
C
Raw Normal View History

#ifndef COMMON_H
#define COMMON_H
const char* GetHomeDir(void);
typedef struct CommandStruct {
char* argv[100]; // Max 100 commands
int argc;
} CommandStruct;
void CopyCommandStruct(CommandStruct* oldCommand, CommandStruct* newCommand, int start, int end);
void ResetCommandStruct(CommandStruct* command);
#endif