summaryrefslogtreecommitdiffstats
path: root/support/include
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2003-05-21 06:25:15 +0000
committerneilbrown <neilbrown>2003-05-21 06:25:15 +0000
commit1275be70ca6cd6c4bec07a3381f7b510086c5526 (patch)
treeabf376a1065ae319906ab108bc59095d9a9fe13d /support/include
parent827f2a0c8c7606ad0245bfa4b9c81075f0de18c7 (diff)
downloadnfs-utils-1275be70ca6cd6c4bec07a3381f7b510086c5526.tar.gz
nfs-utils-1275be70ca6cd6c4bec07a3381f7b510086c5526.tar.xz
nfs-utils-1275be70ca6cd6c4bec07a3381f7b510086c5526.zip
Support new kernel upcalls for export cache management.
Diffstat (limited to 'support/include')
-rw-r--r--support/include/exportfs.h2
-rw-r--r--support/include/nfslib.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 4021e60..dfd51f2 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -54,6 +54,8 @@ 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/nfslib.h b/support/include/nfslib.h
index 90bd33a..5112b91 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -126,6 +126,10 @@ 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);
+int check_new_cache(void);
/* lockd. */
int lockdsvc();