code: 9ferno

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