diff options
author | Kevin Coffman <kwc@citi.umich.edu> | 2007-10-12 16:35:00 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-10-15 09:50:56 +1000 |
commit | 01f6e717f3e0bf953fadd3de22096c9025c3d38d (patch) | |
tree | e66a677e45b7a32f051443f1cddedcfb6cf1fce2 /support/include/nfslib.h | |
parent | 44f7f2f92038572663acf22b4fd8dc34640c8c81 (diff) | |
download | nfs-utils-01f6e717f3e0bf953fadd3de22096c9025c3d38d.tar.gz nfs-utils-01f6e717f3e0bf953fadd3de22096c9025c3d38d.tar.xz nfs-utils-01f6e717f3e0bf953fadd3de22096c9025c3d38d.zip |
Copy new cacheio functions used by svcgssd to nfslib
Copy private qword_ functions from the svcgssd version into
the general nfslib library. Add prototypes as needed.
Also, update readline to use a bigger buffer allocation as is
needed in the svcgssd version.
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/include/nfslib.h')
-rw-r--r-- | support/include/nfslib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/support/include/nfslib.h b/support/include/nfslib.h index ffa2440..422b012 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -144,6 +144,11 @@ 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); +void qword_add(char **bpp, int *lp, char *str); +void qword_addhex(char **bpp, int *lp, char *buf, int blen); +void qword_addint(char **bpp, int *lp, int n); +void qword_adduint(char **bpp, int *lp, unsigned int n); +void qword_addeol(char **bpp, int *lp); void closeall(int min); |