diff options
Diffstat (limited to 'support/include')
| -rw-r--r-- | support/include/nfsrpc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/support/include/nfsrpc.h b/support/include/nfsrpc.h index dff6af7..d6d4a1c 100644 --- a/support/include/nfsrpc.h +++ b/support/include/nfsrpc.h @@ -90,6 +90,18 @@ extern CLIENT *nfs_get_priv_rpcclient( const struct sockaddr *, struct timeval *); /* + * Convert a netid to a protocol number and protocol family + */ +extern int nfs_get_proto(const char *netid, sa_family_t *family, + unsigned long *protocol); + +/* + * Convert a protocol family and protocol name to a netid + */ +extern char *nfs_get_netid(const sa_family_t family, + const unsigned long protocol); + +/* * Convert a socket address to a universal address */ extern char *nfs_sockaddr2universal(const struct sockaddr *); |
