]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nfslib.h
new "mountpoint" export option.
[nfs-utils.git] / support / include / nfslib.h
index 95c3fe707154eae7aa8300c7b3a692c2a71e86d7..c41f92ebcdfbb3c384776ce704725744aae1b279 100644 (file)
@@ -73,6 +73,7 @@ struct exportent {
        int *           e_sqgids;
        int             e_nsqgids;
        int             e_fsid;
+       char *          e_mountpoint;
 };
 
 struct rmtabent {
@@ -122,6 +123,16 @@ struct nfs_fh_len *        getfh_old(struct sockaddr *addr, dev_t dev, ino_t ino);
 struct nfs_fh_len *    getfh(struct sockaddr *addr, const char *);
 struct nfs_fh_len *    getfh_size(struct sockaddr *addr, const char *, int size);
 
+void qword_print(FILE *f, char *str);
+void qword_printhex(FILE *f, char *str, int slen);
+void qword_printint(FILE *f, int num);
+void qword_eol(FILE *f);
+int readline(int fd, char **buf, int *lenp);
+int qword_get(char **bpp, char *dest, int bufsize);
+int qword_get_int(char **bpp, int *anint);
+void cache_flush(int force);
+int check_new_cache(void);
+
 /* lockd. */
 int                    lockdsvc();