-- FQ.Mesa, last edit December 29, 1982 3:09 pm

-- see comments in FQImpl.Mesa

  DIRECTORY
  Subr: TYPE USING[TTYProcs];
  
FQ: DEFINITIONS = {

Result: TYPE = {foundCorrectVersion, foundWrongVersion, notFound};

-- be careful about useRopes: ropes are not available for BringOver in the boot file
FileQuery: PROC [host, directory, shortname: LONG STRING, 
		version: CARDINAL, createtime: LONG CARDINAL, wantExplicitVersion: BOOL,
		h: Subr.TTYProcs, targetFileName: LONG STRING, useRopes: BOOL ← TRUE] 
	RETURNS [fres: Result, remoteVersion: CARDINAL, 
		remoteCreateTime, remoteByteLength: LONG CARDINAL];
		
FileQueryBangH: PROC [host, directory, shortname: LONG STRING, 
		createtime: LONG CARDINAL, h: Subr.TTYProcs, useRopes: BOOL ← TRUE] 
	RETURNS [fres: Result, remoteVersion: CARDINAL, 
		remoteCreateTime, remoteByteLength: LONG CARDINAL];

}.