#include "cmdalgo.h" int cmd_batch( char *cmd, int test ); void cmd_init( void );
cmd_init() and cmd_batch() are generated by CMDGEN. cmd_init() resets the parser to its start state. cmd_batch() provides an input string that the parser will act on. If test is non-zero, no actions associated with the command will be executed.
cmd_batch() returns the same error codes as ci_sendcmd().
Command Server and Client functions.