pish/include/Common.h

16 lines
383 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;
2022-10-29 22:55:36 -05:00
char* envp[20]; // Enviroment Varibles
} CommandStruct;
void CopyCommandStruct(CommandStruct* oldCommand, CommandStruct* newCommand, int start, int end);
void ResetCommandStruct(CommandStruct* command);
2022-10-29 22:55:36 -05:00
#endif