Newer
Older
Scratch / lockwasher / src / bin / shell / shell.h
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 294 bytes Scratch
#include <sys/types.h>

struct argsStruct {
  struct argsStruct *next;
  char *arg;
  };
  
typedef struct {
  int argc;
  char **argv;
  uInt8 bg;
  struct argsStruct *args;
  } inputBuffer;

void parseInput(inputBuffer *,char *);
int commands(inputBuffer *);
void execProgram(inputBuffer *);