view rvinterf/etmsync/cmdtab.h @ 390:bb4814eb51e4

target-utils abb[rw] commands: call abb_init() to avoid dead hang
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 07:11:16 +0000
parents 909f00c15f27
children
line wrap: on
line source

struct cmdtab {
	char *cmd;
	int minargs;
	int maxargs;
	int (*func)();
};

#define	MAX_CMD_ARGS	16