/*
 * This file was generated by the mkbuiltins program.
 */

#include <stdlib.h>
#include "shell.h"
#include "builtins.h"

int bltincmd(int, char **);
int aliascmd(int, char **);
int bgcmd(int, char **);
int bindcmd(int, char **);
int breakcmd(int, char **);
int cdcmd(int, char **);
int commandcmd(int, char **);
int dotcmd(int, char **);
int echocmd(int, char **);
int evalcmd(int, char **);
int execcmd(int, char **);
int exitcmd(int, char **);
int expcmd(int, char **);
int exportcmd(int, char **);
int falsecmd(int, char **);
int fgcmd(int, char **);
int getoptscmd(int, char **);
int hashcmd(int, char **);
int jobidcmd(int, char **);
int jobscmd(int, char **);
int localcmd(int, char **);
int pwdcmd(int, char **);
int readcmd(int, char **);
int returncmd(int, char **);
int setcmd(int, char **);
int setvarcmd(int, char **);
int shiftcmd(int, char **);
int testcmd(int, char **);
int timescmd(int, char **);
int trapcmd(int, char **);
int truecmd(int, char **);
int typecmd(int, char **);
int ulimitcmd(int, char **);
int umaskcmd(int, char **);
int unaliascmd(int, char **);
int unsetcmd(int, char **);
int waitcmd(int, char **);
int wordexpcmd(int, char **);

int (*const builtinfunc[])(int, char **) = {
	bltincmd,
	aliascmd,
	bgcmd,
	bindcmd,
	breakcmd,
	cdcmd,
	commandcmd,
	dotcmd,
	echocmd,
	evalcmd,
	execcmd,
	exitcmd,
	expcmd,
	exportcmd,
	falsecmd,
	fgcmd,
	getoptscmd,
	hashcmd,
	jobidcmd,
	jobscmd,
	localcmd,
	pwdcmd,
	readcmd,
	returncmd,
	setcmd,
	setvarcmd,
	shiftcmd,
	testcmd,
	timescmd,
	trapcmd,
	truecmd,
	typecmd,
	ulimitcmd,
	umaskcmd,
	unaliascmd,
	unsetcmd,
	waitcmd,
	wordexpcmd,
};

const struct builtincmd builtincmd[] = {
	{ "builtin", 0, 0 },
	{ "alias", 1, 0 },
	{ "bg", 2, 0 },
	{ "bind", 3, 0 },
	{ "break", 4, 1 },
	{ "continue", 4, 1 },
	{ "cd", 5, 0 },
	{ "chdir", 5, 0 },
	{ "command", 6, 0 },
	{ ".", 7, 1 },
	{ "echo", 8, 0 },
	{ "eval", 9, 1 },
	{ "exec", 10, 1 },
	{ "exit", 11, 1 },
	{ "exp", 12, 0 },
	{ "let", 12, 0 },
	{ "export", 13, 1 },
	{ "readonly", 13, 1 },
	{ "false", 14, 0 },
	{ "fg", 15, 0 },
	{ "getopts", 16, 0 },
	{ "hash", 17, 0 },
	{ "jobid", 18, 0 },
	{ "jobs", 19, 0 },
	{ "local", 20, 0 },
	{ "pwd", 21, 0 },
	{ "read", 22, 0 },
	{ "return", 23, 1 },
	{ "set", 24, 1 },
	{ "setvar", 25, 0 },
	{ "shift", 26, 1 },
	{ "test", 27, 0 },
	{ "[", 27, 0 },
	{ "times", 28, 1 },
	{ "trap", 29, 1 },
	{ ":", 30, 1 },
	{ "true", 30, 0 },
	{ "type", 31, 0 },
	{ "ulimit", 32, 0 },
	{ "umask", 33, 0 },
	{ "unalias", 34, 0 },
	{ "unset", 35, 1 },
	{ "wait", 36, 0 },
	{ "wordexp", 37, 0 },
	{ NULL, 0, 0 }
};
