view target-utils/include/cmdtab.h @ 57:10996c267de4

loadtools old buglet: off by 1 error in the max-arguments logic in cmd parsing
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 24 Jun 2013 05:24:19 +0000
parents f4fc449a64ea
children
line wrap: on
line source

/* this structure is used for interactive command dispatch */

struct cmdtab {
	char	*cmd;
	void	(*func)();
};