16 lines
383 B
C
Executable File
16 lines
383 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;
|
|
char* envp[20]; // Enviroment Varibles
|
|
} CommandStruct;
|
|
|
|
void CopyCommandStruct(CommandStruct* oldCommand, CommandStruct* newCommand, int start, int end);
|
|
void ResetCommandStruct(CommandStruct* command);
|
|
|
|
#endif
|