X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fmisc.h;h=eedc1feaf4eaa712e0b725c77bb9a732c83bb38b;hp=e817bc54f988b9b1aeec0cc7c10f3e9b503551dc;hb=cf5b38e707b629540b5123124228311a620e3dce;hpb=21015ace7d0a356b24a57540ccfeb41d941e78ed diff --git a/support/include/misc.h b/support/include/misc.h index e817bc5..eedc1fe 100644 --- a/support/include/misc.h +++ b/support/include/misc.h @@ -15,11 +15,9 @@ int randomkey(unsigned char *keyout, int len); int weakrandomkey(unsigned char *keyout, int len); -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 */