~ubuntu-branches/ubuntu/precise/nfs-utils/precise-updates

« back to all changes in this revision

Viewing changes to utils/mountd/mountd.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-07-23 17:54:36 UTC
  • mfrom: (14.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110723175436-mu7zaa6637prifpq
* Merge from Debian unstable (LP: #728586, LP: #789117), remaining
  changes:
  - debian/nfs-common.{statd,statd-mounting,gssd,idmapd}.upstart,
    debian/control, debian/nfs-common.{preinst,postinst,prerm,postrm},
    debian/rules: drop nfs-common init script in favor of upstart jobs,
    and build-depend on debhelper (>= 7.3.15ubuntu3) for correct upstart
    init handling.
  - Depend on rpcbind (>= 0.2.0-6ubuntu1) for upstart support.
  - debian/nfs-kernel-server.postinst: don't call "invoke-rc.d nfs-common"
    in the postinst, this is redundant anyway and the nfs-common init script
    is gone now.
  - nfs-kernel-server.default:  Add comment about how to disable nfs4.
  - debian/patches/multiarch-kerberos-paths: Search for kerberos libs
    in multiarch locations.
  - nfs-kernel-server.init: Unmount nfsd fs when init script stops
  - ubuntu-fix-kernel-version-handling: avoid segfaults from short kernel
    version numbers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
void            mount_dispatch(struct svc_req *, SVCXPRT *);
42
42
void            auth_init(char *export_file);
43
43
unsigned int    auth_reload(void);
44
 
nfs_export *    auth_authenticate(char *what, struct sockaddr_in *sin,
45
 
                                        char *path);
 
44
nfs_export *    auth_authenticate(const char *what,
 
45
                                        const struct sockaddr *caller,
 
46
                                        const char *path);
46
47
void            auth_export(nfs_export *exp);
47
48
 
48
49
void            mountlist_add(char *host, const char *path);
49
50
void            mountlist_del(char *host, const char *path);
50
 
void            mountlist_del_all(struct sockaddr_in *sin);
 
51
void            mountlist_del_all(const struct sockaddr *sap);
51
52
mountlist       mountlist_list(void);
52
53
 
 
54
void            cache_open(void);
 
55
struct nfs_fh_len *
 
56
                cache_get_filehandle(nfs_export *exp, int len, char *p);
 
57
int             cache_export(nfs_export *exp, char *path);
53
58
 
54
59
#endif /* MOUNTD_H */