home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 13 / MA_Cover_13.bin / source / c / nfsd / src / pcnfsd_prot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-24  |  592 b   |  32 lines

  1. /*  Constants defined by the PCNFSD protocol
  2.  
  3.     ©1999 Joseph Walton
  4.  
  5.     This software is distributed under the terms of the GNU General Public
  6.     License; either version 2 of the License, or (at your option) any
  7.     later version.
  8. */
  9.  
  10. #ifndef NFSD_PCNFSD_PROT_H
  11. #define NFSD_PCNFSD_PROT_H
  12.  
  13. #define IDENTLEN 32
  14. #define PASSWORDLEN 64
  15.  
  16. enum arstat {
  17.     AUTH_RES_OK = 0,
  18.     AUTH_RES_FAKE = 1,
  19.     AUTH_RES_FAIL = 2
  20. };
  21.  
  22. #define PCNFSD_PROGRAM 150001
  23. #define PCNFSD_VERSION 1
  24. #define PCNFSD_PROC_NULL 0
  25. #define PCNFSD_PROC_AUTH 1
  26.  
  27. #define UID_NOBODY 65534
  28. #define GID_NOGROUP 65534
  29.  
  30. #endif
  31.  
  32.