shithub: purgatorio

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