X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=support%2Finclude%2Fmisc.h;h=eedc1feaf4eaa712e0b725c77bb9a732c83bb38b;hb=9a5293a10551c03b4fb976503dd24da569fcadb3;hp=9a1b25df2160b4d1f74dc59bdff808ced955ea3e;hpb=d38ea02d0e4bcdc4e0114567028596f7bcba45b9;p=nfs-utils.git diff --git a/support/include/misc.h b/support/include/misc.h index 9a1b25d..eedc1fe 100644 --- a/support/include/misc.h +++ b/support/include/misc.h @@ -15,13 +15,9 @@ int randomkey(unsigned char *keyout, int len); int weakrandomkey(unsigned char *keyout, int len); -int matchhostname(const char *h1, const char *h2); - -struct hostent; -struct hostent *hostent_dup(struct hostent *hp); -struct hostent *get_hostent (const char *addr, int len, int type); -struct hostent *get_reliable_hostbyaddr(const char *addr, int len, int type); - extern int is_mountpoint(char *path); +/* size of the file pointer buffers for rpc procfs files */ +#define RPC_CHAN_BUF_SIZE 32768 + #endif /* MISC_H */