Code: Show/Hide struct Command
{ _linkedlist <_switch> slist; char *cmd; // !_______ -at=blah-s blah char *final; // !command -at=blah-s ____ Command(char *msg); // Parse ~Command(); // Clean up bool check(char *msg); // Check against cmd bool checkParam(char *msg); // Check against final void addParam(char *msg); // Add a switch _switch *getParam(char type); // Check against switches }; |
| Maverick wrote: |
| I suppose it also isn't possible to somehow use the switch to get the full parameter anyway? |
). Probably the biggest difference between the 3 main cores is the language they are written in. I'd be writing stuff in asss, but I can't get stupid grub to work