home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / tcpip / netkit-a.06 / netkit-a / NetKit-A-0.06 / nfs-server-2.0 / auth.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-13  |  1.1 KB  |  38 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 exportnode        *export_list;
  20. extern options            default_options;
  21. extern clnt_param        *clients;
  22. extern clnt_param        *unknown_clients;
  23. extern clnt_param        *default_client;
  24.  
  25. /*
  26.  * These externs are set in the dispatcher (dispatch.c) for
  27.  * determination of the file system attributes by functions which
  28.  * do writes to the file system.
  29.  */        
  30. extern struct svc_req         *svc_rqstp;
  31. extern int            client_authenticate;
  32.  
  33. /* Global Function prototypes. */
  34. extern _PRO( void auth_init, (char *fname)                );
  35. extern _PRO( clnt_param *auth_clnt, (struct svc_req *rqstp, char *path)    );
  36.  
  37. /* End of auth.h. */
  38.