summaryrefslogtreecommitdiff
path: root/support/include
diff options
context:
space:
mode:
Diffstat (limited to 'support/include')
-rw-r--r--support/include/exportfs.h3
-rw-r--r--support/include/misc.h1
-rw-r--r--support/include/nfs/export.h5
-rw-r--r--support/include/nfslib.h7
4 files changed, 14 insertions, 2 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 4021e60..0c70290 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -54,6 +54,9 @@ int client_check(nfs_client *, struct hostent *);
int client_match(nfs_client *, char *hname);
void client_release(nfs_client *);
void client_freeall(void);
+char * client_compose(struct in_addr addr);
+int client_member(char *client, char *name);
+
int export_read(char *fname);
void export_add(nfs_export *);
diff --git a/support/include/misc.h b/support/include/misc.h
index a3cdcfd..7d099d0 100644
--- a/support/include/misc.h
+++ b/support/include/misc.h
@@ -20,5 +20,6 @@ int matchhostname(const char *h1, const char *h2);
struct hostent;
struct hostent *hostent_dup(struct hostent *hp);
struct hostent *get_hostent (const char *addr, int len, int type);
+struct hostent *get_reliable_hostbyaddr(const char *addr, int len, int type);
#endif /* MISC_H */
diff --git a/support/include/nfs/export.h b/support/include/nfs/export.h
index 344ece5..d79a179 100644
--- a/support/include/nfs/export.h
+++ b/support/include/nfs/export.h
@@ -20,10 +20,11 @@
#define NFSEXP_UIDMAP 0x0040
#define NFSEXP_KERBEROS 0x0080 /* not available */
#define NFSEXP_SUNSECURE 0x0100
-#define NFSEXP_CROSSMNT 0x0200
+#define NFSEXP_NOHIDE 0x0200
#define NFSEXP_NOSUBTREECHECK 0x0400
#define NFSEXP_NOAUTHNLM 0x0800
#define NFSEXP_FSID 0x2000
-#define NFSEXP_ALLFLAGS 0x3FFF
+#define NFSEXP_CROSSMNT 0x4000
+#define NFSEXP_ALLFLAGS 0x7FFF
#endif /* _NSF_EXPORT_H */
diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index 90bd33a..f896933 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -126,6 +126,13 @@ 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 readline(int fd, char **buf, int *lenp);
+int qword_get(char **bpp, char *dest, int bufsize);
+int qword_get_int(char **bpp, int *anint);
+
+void cache_flush(int force);
+int check_new_cache(void);
+
/* lockd. */
int lockdsvc();