X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fnfslib.h;h=d4f4150152de5390a737d463b27bccf077f52a57;hb=a64b65aac7af65f96a24cd89fc07a31dbb5980ab;hp=3e25761cef700c70e4f16700e38fb617ee013bea;hpb=49b164d978ee6266df7ba0bd335cb34337e7c381;p=nfs-utils.git diff --git a/support/include/nfslib.h b/support/include/nfslib.h index 3e25761..d4f4150 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -51,12 +51,6 @@ #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);