2 * utils/mountd/mountd.h
4 * Declarations for mountd.
6 * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
18 union mountd_arguments {
22 union mountd_results {
29 * Global Function prototypes.
31 bool_t mount_null_1_svc(struct svc_req *, void *, void *);
32 bool_t mount_mnt_1_svc(struct svc_req *, dirpath *, fhstatus *);
33 bool_t mount_dump_1_svc(struct svc_req *, void *, mountlist *);
34 bool_t mount_umnt_1_svc(struct svc_req *, dirpath *, void *);
35 bool_t mount_umntall_1_svc(struct svc_req *, void *, void *);
36 bool_t mount_export_1_svc(struct svc_req *, void *, exports *);
37 bool_t mount_exportall_1_svc(struct svc_req *, void *, exports *);
38 bool_t mount_pathconf_2_svc(struct svc_req *, dirpath *, ppathcnf *);
39 bool_t mount_mnt_3_svc(struct svc_req *, dirpath *, mountres3 *);
41 void mount_dispatch(struct svc_req *, SVCXPRT *);
42 void auth_init(char *export_file);
43 int auth_reload(void);
44 nfs_export * auth_authenticate(char *what, struct sockaddr_in *sin,
46 void auth_export(nfs_export *exp);
48 void mountlist_add(char *host, const char *path);
49 void mountlist_del(char *host, const char *path);
50 void mountlist_del_all(struct sockaddr_in *sin);
51 mountlist mountlist_list(void);