From 5ce8b167dae710a36cf8ca0aacc456e7f4cb1818 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 11 Oct 2002 05:40:19 -0700 Subject: [PATCH] kNFSd: Implement get_word to help in parsing cache updates get_word understands both \x and \012 quoting styles. --- include/linux/sunrpc/cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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_ */ -- cgit v1.2.3