Listing 1 r-Function Declaration

RFILE *rfopen(sfname, sftype)  /* Opens a file on a File Server     */
  char *sfname;                /* <server-name>!<file-name>       */
  char *sftype;                /* file access type - same as fopen */
  
int rfclose(rstream)           /* Closes file on a File Server      */
  RFILE *rstream;              /* rfile pointer from rfopen routine */
  
int rfread(buf, size, nitems, rstream) /* Reads data from a remote file */
  char *bur;                           /* application buffer for data   */
  int size;                            /* size of item to read          */
  int nitems;                          /* number of items to read       */
  RFILE *rstream;                      /* rfile pointer from rfopen     */
  
int rfwrite(buf, size, nitems, rstream) /* Writes data to a remote file  */
  char  *buf;                           /* application buffer for data   */
  int    size;                          /* size of item to write         */
  int    nitems;                        /* number of items to write      */
  RFILE *rstream;                       /* rfile pointer from rfopen     */
  
int rfeof(rstream)            /* Test for End-of-File                */
  RFILE *rstream;             /* rfile pointer from rfopen routine    */