diff options
author | neilbrown <neilbrown> | 2003-05-21 06:25:15 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2003-05-21 06:25:15 +0000 |
commit | 1275be70ca6cd6c4bec07a3381f7b510086c5526 (patch) | |
tree | abf376a1065ae319906ab108bc59095d9a9fe13d /support/include | |
parent | 827f2a0c8c7606ad0245bfa4b9c81075f0de18c7 (diff) | |
download | nfs-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.h | 2 | ||||
-rw-r--r-- | support/include/nfslib.h | 4 |
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(); |