X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fnfslib.h;h=82335fc16417b29432344bb9075d3177d1bde19b;hb=259185400a65f2fc0c304b42aae6dde1dddd4baa;hp=8736d49da9fbd89dd13c3bc0272bd6becaa2bc58;hpb=70a0e44cc77a7d8fc78c5514889bcd5d4fde3599;p=nfs-utils.git diff --git a/support/include/nfslib.h b/support/include/nfslib.h index 8736d49..82335fc 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,11 @@ struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size); /* lockd. */ int lockdsvc(); +#ifndef HAVE_SVCTCP_SOCKET +extern int svctcp_socket (u_long __number, int __reuse); +#endif +#ifndef HAVE_SVCUDP_SOCKET +extern int svcudp_socket (u_long __number, int __reuse); +#endif + #endif /* NFSLIB_H */