/********************************************************************
 ** FILE SYSTEM THINGY
 **
 ** (c) Spak, Darrell Tam, c9107253@firebird.newcastle.edu.au (1994)
 ** phone (Australia) 049-829-710
 **                    49-829-710
 ** (c) SST 1994
 **
 ** MANIPULATION OF OUR "ROOT" DIR
 **
 **
 ** TABS to 4
 ********************************************************************/

#include "/snd/everything.h"
#include <st/st_proto.h>
#include "deadheads.h"
#include "globs_protos.h"


/********************************************************************/
                  void CloseRoot(void)
/********************************************************************/
{
	if(localrepport) DeletePort(localrepport);
	if(netrepport) DeletePort(netrepport);
}

/********************************************************************/
                  short OpenRoot(char *name)
/********************************************************************/
{
	if(!(localrepport = CreatePort(0,0)) ||
	   !(netrepport = CreatePort(0,0)) ) {
		return(0);
	}
	return(1);
}
