The Android Open Source Project | dd7bc33 | 2009-03-03 19:32:55 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file was generated by the mkbuiltins program. |
| 3 | */ |
| 4 | |
| 5 | #include "shell.h" |
| 6 | #include "builtins.h" |
| 7 | |
| 8 | const struct builtincmd builtincmd[] = { |
| 9 | |
| 10 | { "command", bltincmd }, |
| 11 | { "bg", bgcmd }, |
| 12 | { "cd", cdcmd }, |
| 13 | { "chdir", cdcmd }, |
| 14 | { "echo", echocmd }, |
| 15 | { "exp", expcmd }, |
| 16 | { "let", expcmd }, |
| 17 | { "false", falsecmd }, |
| 18 | #if WITH_HISTORY |
| 19 | { "fc", histcmd }, |
| 20 | { "inputrc", inputrc }, |
| 21 | #endif |
| 22 | { "fg", fgcmd }, |
| 23 | { "getopts", getoptscmd }, |
| 24 | { "hash", hashcmd }, |
| 25 | { "jobid", jobidcmd }, |
| 26 | { "jobs", jobscmd }, |
| 27 | { "local", localcmd }, |
| 28 | #ifndef SMALL |
| 29 | #endif |
| 30 | { "pwd", pwdcmd }, |
| 31 | { "read", readcmd }, |
| 32 | { "setvar", setvarcmd }, |
| 33 | { "true", truecmd }, |
| 34 | { "type", typecmd }, |
| 35 | { "umask", umaskcmd }, |
| 36 | { "unalias", unaliascmd }, |
| 37 | { "wait", waitcmd }, |
| 38 | { "alias", aliascmd }, |
| 39 | { "ulimit", ulimitcmd }, |
| 40 | { "wordexp", wordexpcmd }, |
| 41 | { 0, 0 }, |
| 42 | }; |
| 43 | |
| 44 | const struct builtincmd splbltincmd[] = { |
| 45 | { "break", breakcmd }, |
| 46 | { "continue", breakcmd }, |
| 47 | { ".", dotcmd }, |
| 48 | { "eval", evalcmd }, |
| 49 | { "exec", execcmd }, |
| 50 | { "exit", exitcmd }, |
| 51 | { "export", exportcmd }, |
| 52 | { "readonly", exportcmd }, |
| 53 | { "return", returncmd }, |
| 54 | { "set", setcmd }, |
| 55 | { "shift", shiftcmd }, |
| 56 | { "times", timescmd }, |
| 57 | { "trap", trapcmd }, |
| 58 | { ":", truecmd }, |
| 59 | { "unset", unsetcmd }, |
| 60 | { 0, 0 }, |
| 61 | }; |