code: purgatorio

ref: 79c64a79a248c31733d4ec0ff9fe1a1e57a58f51
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;
};