X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fnfslib.h;h=3e25761cef700c70e4f16700e38fb617ee013bea;hp=a1932a591334d0991259e1b62cde88ce53bf1df7;hb=49b164d978ee6266df7ba0bd335cb34337e7c381;hpb=f73e7b9f69835d483cee95e6a20b6307b9d16b77 diff --git a/support/include/nfslib.h b/support/include/nfslib.h index a1932a5..3e25761 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -9,7 +9,9 @@ #ifndef NFSLIB_H #define NFSLIB_H -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -57,7 +59,7 @@ enum cle_maptypes { /* * Data related to a single exports entry as returned by getexportent. - * FIXME: export options should probably be parsed at a later time to + * FIXME: export options should probably be parsed at a later time to * allow overrides when using exportfs. */ struct exportent { @@ -118,7 +120,7 @@ int wildmat(char *text, char *pattern); * nfsd library functions. */ int nfsctl(int, struct nfsctl_arg *, union nfsctl_res *); -int nfssvc(int port, int nrservs); +int nfssvc(int port, int nrservs, unsigned int versbits, unsigned int portbits, char *haddr); int nfsaddclient(struct nfsctl_client *clp); int nfsdelclient(struct nfsctl_client *clp); int nfsexport(struct nfsctl_export *exp);