-- NSFiler
-- Created, Bill Jackson, August 6, 1985

-- Copyright (C) 1985  by Xerox Corporation. All rights reserved. 


NSFiler: DEFINITIONS =
BEGIN

Huh: TYPE = {badCredentials, fromNotFound, cantWrite, whoKnows, noError};
String: TYPE = LONG STRING;

Copy: PROCEDURE [from, to: String, gvname, gvpasswd: String ← NIL, chname, chpasswd: String ← NIL];
-- Similar to FileTransfer (XDE Documentation) but this version is highly simplified to help us get off the ground.
-- 
Error: SIGNAL [reason: Huh];
-- This is the lazy man's way of sending (many) errors across RPC/Lupine

END.