shithub: purgatorio

ref: 01338076d1a3610858f41fcbcdc7e46fb1109b77
dir: /appl/cmd/ip/nppp/script.m/

View raw version
Script: module
{
	PATH:	con "/dis/ip/nppp/script.dis";

	ScriptInfo: adt {
		path:			string;
		content:		list of string;
		timeout:		int;
		username:	string;
		password:		string;
	};

	init:	fn(m: Modem): string;
	execute:	fn(m: ref Modem->Device, scriptinfo: ref ScriptInfo): string;
};