X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fnfslib.h;h=95c3fe707154eae7aa8300c7b3a692c2a71e86d7;hb=0036a143c415eac6388d992a4e637e7004147296;hp=8736d49da9fbd89dd13c3bc0272bd6becaa2bc58;hpb=70a0e44cc77a7d8fc78c5514889bcd5d4fde3599;p=nfs-utils.git diff --git a/support/include/nfslib.h b/support/include/nfslib.h index 8736d49..95c3fe7 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -72,6 +72,7 @@ struct exportent { int e_nsquids; int * e_sqgids; int e_nsqgids; + int e_fsid; }; struct rmtabent { @@ -84,7 +85,7 @@ struct rmtabent { * configuration file parsing */ void setexportent(char *fname, char *type); -struct exportent * getexportent(void); +struct exportent * getexportent(int,int); void putexportent(struct exportent *xep); void endexportent(void); struct exportent * mkexportent(char *hname, char *path, char *opts); @@ -124,4 +125,7 @@ struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size); /* lockd. */ int lockdsvc(); +int svctcp_socket (u_long __number, int __reuse); +int svcudp_socket (u_long __number, int __reuse); + #endif /* NFSLIB_H */