scriptic: Support searching by name

Rather than hardcoding scriptic scripts, we can look through all
known script names.
This commit is contained in:
Sean Cross 2014-09-11 16:44:42 +08:00
parent 72f92b7fd2
commit 50dc503837
2 changed files with 23 additions and 5 deletions

View file

@ -163,7 +163,7 @@ struct scriptic {
int scriptic_execute(const struct scriptic *script);
const struct scriptic *scriptic_get(const char *name);
int scriptic_run(const char *name);
#endif /* __ASSEMBLY__ */