Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef enum {red, green, blue, none} color;
- typedef struct Fichier Fichier;
- void cls();
- void printc(char *format, char *string, color c);
- void wait(int second);
- void auth();
- void help();
- void ls(Fichier *pwd);
- void cd(char *arg, Fichier **ppwd, Fichier *proot);
- void cat(Fichier *pwd, char *arg);
- void exec(Fichier *pwd, char *arg);
- int split(char *chaine, char **argv, char *delim);
- int saisie_commande(Fichier **ppwd, Fichier *proot);
- void nouveau_fichier(Fichier *pfichier, int type, char nom[], Fichier *pparent);
- void set_env(Fichier **ppwd, Fichier *proot);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement