#ifndef NFSLIB_H
#define NFSLIB_H
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <sys/types.h>
#include <sys/socket.h>
/*
* 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 {
* 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);
void cache_flush(int force);
int check_new_cache(void);
+void closeall(int min);
+
/* lockd. */
int lockdsvc();