code: 9ferno

ref: 6d69f6fba35087686f79adb2ea0d67944a62ca7b
dir: /appl/svc/httpd/contents.m/

View raw version
Contents: module
{
	PATH:		con	"/dis/svc/httpd/contents.dis";

	Content: adt{
		generic: string;
		specific: string;
		q: real;
	};
	
	contentinit: fn(log : ref Sys->FD);
	mkcontent: fn(specific,generic : string): ref Content;
	uriclass:  fn(name : string): (ref Content, ref Content);
	checkcontent: fn(me: ref Content,oks :list of ref Content, 
			clist : string): int;
};