-struct knfs_fh * getfh_old(struct sockaddr *addr, dev_t dev, ino_t ino);
-struct knfs_fh * getfh(struct sockaddr *addr, const char *);
+struct nfs_fh_len * getfh_old(struct sockaddr *addr, dev_t dev, ino_t ino);
+struct nfs_fh_len * getfh(struct sockaddr *addr, const char *);
+struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size);
+
+void qword_print(FILE *f, char *str);
+void qword_printhex(FILE *f, char *str, int slen);
+void qword_printint(FILE *f, int num);
+int 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);
+void cache_flush(int force);
+int check_new_cache(void);
+
+void closeall(int min);