shithub: purgatorio

ref: 354b56d6bfdca067a6f04a39c4ce4bc9c0160861
dir: /module/grid/srvbrowse.m/

View raw version
Srvbrowse: module
{
	PATH:	con "/dis/grid/lib/srvbrowse.dis";

	services : list of ref Registries->Service;

	init : fn ();
	refreshservices : fn (filter: list of list of (string, string));
	servicepath2Service : fn (path, qid: string): list of ref Registries->Service;
	servicepath2Dir : fn (path: string, qid: int): (array of ref sys->Dir, int);
	getresname : fn (srvc: ref Registries->Service): (string, string);
	getqid : fn (srvc: ref Registries->Service): string;
	find : fn (filter: list of list of (string, string)): list of ref Registries->Service;
	addservice: fn (srvc: ref Registries->Service);
	searchwin: fn (ctxt: ref Draw->Context, chanout: chan of string, filter: list of list of (string, string));
};