X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnetwork.h;h=2a3a1105498df483adbd5722ae226e32763fb1dd;hp=2cdf02ea971ee12bdddf11b12d3819fa92acdc99;hb=05f93b531d59df6e976d9b40c97b51546524040a;hpb=9889b48572e672f4535ca9dafd98d81146b7b834 diff --git a/utils/mount/network.h b/utils/mount/network.h index 2cdf02e..2a3a110 100644 --- a/utils/mount/network.h +++ b/utils/mount/network.h @@ -44,7 +44,6 @@ int nfs_probe_bothports(const struct sockaddr *, const socklen_t, struct pmap *, const struct sockaddr *, const socklen_t, struct pmap *); int nfs_gethostbyname(const char *, struct sockaddr_in *); -int nfs_name_to_address(const char *, struct sockaddr *, socklen_t *); int nfs_lookup(const char *hostname, const sa_family_t family, struct sockaddr *sap, socklen_t *salen); int nfs_string_to_sockaddr(const char *, struct sockaddr *, socklen_t *); @@ -58,6 +57,8 @@ int clnt_ping(struct sockaddr_in *, const unsigned long, struct mount_options; +int nfs_nfs_proto_family(struct mount_options *options, sa_family_t *family); +int nfs_mount_proto_family(struct mount_options *options, sa_family_t *family); int nfs_nfs_version(struct mount_options *options, unsigned long *version); int nfs_nfs_protocol(struct mount_options *options, unsigned long *protocol);