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

  1. /*  Configuration file headers
  2.  
  3.     ©1998 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_CONFIG_H
  11. #define NFSD_CONFIG_H
  12.  
  13. #include <exec/nodes.h>
  14.  
  15. struct ConfigEntry {
  16.     struct MinNode ce_Node;
  17.     STRPTR ce_Path;
  18.     STRPTR ce_ExportAs;
  19.     ULONG ce_ExportIP;
  20.     ULONG ce_IPMask;
  21.     BOOL ce_ReadWrite;
  22.  
  23.     /* Extra fields added 9th April 1999.
  24.         They're signed, and -1 means "unset" */
  25.     LONG ce_UID;
  26.     LONG ce_GID;
  27.     LONG ce_Protection;
  28.     BOOL ce_ForceAll; /* Should all entries have these values, or just the mountpoint? */
  29. };
  30.  
  31. /* Public prototypes */
  32. BOOL process_cfg(STRPTR cfg_name);
  33.  
  34. #endif
  35.  
  36.