libnfs.a: Provide shared helpers for managing netids
authorChuck Lever <chuck.lever@oracle.com>
Fri, 11 Dec 2009 15:34:42 +0000 (10:34 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 11 Dec 2009 21:13:16 +0000 (16:13 -0500)
commit626010056efb7baa76b08b5e6572720e02e425b4
treea12e006ac3ea9030723e2f1a430c09c60da86dba
parent26a14b65991b79d317638f78dc6b4e5ac1ef712e
libnfs.a: Provide shared helpers for managing netids

Introduce a couple of shared functions that can convert netids to
protocol numbers and families, and back.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfsrpc.h
support/nfs/getport.c