]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nfslib.h
Remove "maptype" support
[nfs-utils.git] / support / include / nfslib.h
index 3e25761cef700c70e4f16700e38fb617ee013bea..d4f4150152de5390a737d463b27bccf077f52a57 100644 (file)
 #define        _PATH_PROC_EXPORTS_ALT  "/proc/fs/nfsd/exports"
 #endif
 
-enum cle_maptypes {
-       CLE_MAP_IDENT = 0,
-       CLE_MAP_FILE,
-       CLE_MAP_UGIDD,
-};
-
 /*
  * Data related to a single exports entry as returned by getexportent.
  * FIXME: export options should probably be parsed at a later time to
@@ -71,7 +65,6 @@ struct exportent {
           use it for anything else. */
        char            m_path[NFS_MAXPATHLEN+1];
        int             e_flags;
-       int             e_maptype;
        int             e_anonuid;
        int             e_anongid;
        int *           e_squids;
@@ -80,6 +73,9 @@ struct exportent {
        int             e_nsqgids;
        int             e_fsid;
        char *          e_mountpoint;
+       int             e_fslocmethod;
+       char *          e_fslocdata;
+       char *          e_uuid;
 };
 
 struct rmtabent {
@@ -132,7 +128,7 @@ 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 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);
@@ -141,9 +137,6 @@ int check_new_cache(void);
 
 void closeall(int min);
 
-/* lockd. */
-int                    lockdsvc();
-
 int                    svctcp_socket (u_long __number, int __reuse);
 int                    svcudp_socket (u_long __number, int __reuse);