/* $XORP: xorp/xrl/interfaces/cli_processor.xif,v 1.2 2003/01/23 11:14:25 pavlin Exp $ */

/*
 * CLI processor XRL interface.
 */


interface cli_processor/0.1 {
	/**
	 * Process a CLI command.
	 * 
	 * @param processor_name the processor name for this command.
	 * @param cli_term_name the terminal name the command was entered from.
	 * @param cli_session_id the CLI session ID the command was entered
	 * from.
	 * @param command_name the command name to process.
	 * @param command_args the command arguments to process.
	 * @param ret_processor_name the processor name to return back to
	 * the CLI.
	 * @param ret_cli_term_name the terminal name to return back.
	 * @param ret_cli_session_id the CLI session ID to return back.
	 * @param ret_command_output the command output to return back.
	 */
	process_command	? processor_name:txt				\
			& cli_term_name:txt				\
			& cli_session_id:u32				\
			& command_name:txt				\
			& command_args:txt				\
			-> ret_processor_name:txt			\
			& ret_cli_term_name:txt				\
			& ret_cli_session_id:u32			\
			& ret_command_output:txt;
}
