summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc/cache.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-10-11 05:40:19 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-11 05:40:19 -0700
commit5ce8b167dae710a36cf8ca0aacc456e7f4cb1818 (patch)
treef4bddf26f591f80c443886db22aa75951137d69b /include/linux/sunrpc/cache.h
parent11644e2effeabe4333397d9822a4009624c068ca (diff)
[PATCH] kNFSd: Implement get_word to help in parsing cache updates
get_word understands both \x and \012 quoting styles.
Diffstat (limited to 'include/linux/sunrpc/cache.h')
-rw-r--r--include/linux/sunrpc/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h
index 7d9f0bc0f906..8b06312e499a 100644
--- a/include/linux/sunrpc/cache.h
+++ b/include/linux/sunrpc/cache.h
@@ -273,5 +273,6 @@ extern void cache_drop(struct cache_detail *detail);
extern void add_word(char **bpp, int *lp, char *str);
extern void add_hex(char **bpp, int *lp, char *buf, int blen);
+extern int get_word(char **bpp, char *dest, int bufsize);
#endif /* _LINUX_SUNRPC_CACHE_H_ */