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