home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / tcpip / nfs-serv.1 / nfs-serv / nfs-server-2.1 / auth.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-10  |  1.1 KB  |  39 lines

  1. /*
  2.  * auth.h    This module takes care of request authorization.
  3.  *
  4.  * Authors:    Mark A. Shand, May 1988
  5.  *        Rick Sladkey, <jrs@world.std.com>
  6.  *        Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
  7.  *
  8.  *        Copyright 1988 Mark A. Shand
  9.  *        This software maybe be used for any purpose provided
  10.  *        the above copyright notice is retained.  It is supplied
  11.  *        as is, with no warranty expressed or implied.
  12.  */
  13.  
  14. /* Global AUTH variables. */
  15. extern int            allow_non_root;
  16. extern int            promiscuous;
  17. extern int            re_export;
  18. extern int            auth_initialized;
  19. extern int            trace_spoof;
  20. extern exportnode        *export_list;
  21. extern options            default_options;
  22. extern clnt_param        *clients;
  23. extern clnt_param        *unknown_clients;
  24. extern clnt_param        *default_client;
  25.  
  26. /*
  27.  * These externs are set in the dispatcher (dispatch.c) for
  28.  * determination of the file system attributes by functions which
  29.  * do writes to the file system.
  30.  */        
  31. extern struct svc_req         *svc_rqstp;
  32. extern int            client_authenticate;
  33.  
  34. /* Global Function prototypes. */
  35. extern _PRO( void auth_init, (char *fname)                );
  36. extern _PRO( clnt_param *auth_clnt, (struct svc_req *rqstp, char *path)    );
  37.  
  38. /* End of auth.h. */
  39.