14 lines
337 B
C
Executable File
14 lines
337 B
C
Executable File
#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 |