Big commit: Cleaned formatting of Pish, added CommandStruct and Common.h for it
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
|
||||
typedef struct CommandStruct {
|
||||
char** argv;
|
||||
int argc;
|
||||
} CommandStruct;
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef INTEGRATED_H
|
||||
#define INTEGRATED_H
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
void IntegratedCheck(char* command);
|
||||
|
||||
#endif
|
||||
+5
-2
@@ -1,8 +1,11 @@
|
||||
#ifndef PISH_H
|
||||
#define PISH_H
|
||||
|
||||
char* getcmd(void);
|
||||
void exec(char* command);
|
||||
#include "Common.h"
|
||||
|
||||
void Pish(void);
|
||||
void Execute(char* command);
|
||||
char* GetInput(void);
|
||||
void ParseInput(char* inputString, CommandStruct command);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user