home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / c / c-niftp.zip / unix-niftp-5.6 / lib / mmdf / util.h < prev   
C/C++ Source or Header  |  1991-06-07  |  1KB  |  42 lines

  1. /* unix-niftp lib/mmdf/util.h $Revision: 5.6 $ $Date: 1991/06/07 17:01:17 $ */
  2.  
  3. /*
  4.  *     file:  util.h
  5.  * some mmdf definitions used by mail interface routines
  6.  * last changed 27-feb-84
  7.  * $Log: util.h,v $
  8.  * Revision 5.6  1991/06/07  17:01:17  pb
  9.  * Distribution of Oct90deslib+PPaids: Include des/lib/ and a few aids for PP sites
  10.  *
  11.  * Revision 5.5  90/08/01  13:36:28  pb
  12.  * Distribution of Aug90RealPP+sequent: Full PP release and support for Sequent X.25 board
  13.  * 
  14.  * Revision 5.2  89/01/13  14:48:53  pb
  15.  * Distribution of Jan89SuckMail: Support Sucking of mail
  16.  * 
  17.  * Revision 5.0  87/03/23  03:46:12  bin
  18.  * Merger of latest UCL and Nottingham versions together with
  19.  * an extensive spring clean.
  20.  * Now UNIX-NIFTP prerelease.
  21.  * 
  22. */
  23.  
  24. #define NOTOK   -1
  25. #define OK      0
  26. #define NO      0
  27.  
  28. #define HIGHFD 15       /* max no of open files - high file descriptor*/
  29.  
  30. #define BUFSIZE 256     /* buffer for reading/writing file */
  31.  
  32. union pipunion
  33. {
  34.     int pipcall[2];
  35.     struct pipstruct
  36.     {
  37.         int prd;
  38.         int pwrt;
  39.     } pip;
  40. };
  41. typedef union pipunion Pip;
  42.