summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-14 12:23:23 -0500
committerSteve Dickson <steved@redhat.com>2010-01-15 14:55:51 -0500
commitd6ea66438d89c7708a10e464013491655f5361b0 (patch)
treeb72850a4242d735beeef05c28c918a995db8929f /utils/statd/callback.c
parentcbd3a131e5c02bbd7b92a72b3ac467d71cfee1c4 (diff)
downloadnfs-utils-d6ea66438d89c7708a10e464013491655f5361b0.tar.gz
nfs-utils-d6ea66438d89c7708a10e464013491655f5361b0.tar.xz
nfs-utils-d6ea66438d89c7708a10e464013491655f5361b0.zip
statd: add nsm_present_address() API
Add an API to convert a socket address to a presentation address string. This is used for displaying error messages and the like. We prefer getnameinfo(3) over inet_?to?(3) as it supports IPv6 scope IDs. Since statd has to continue to build correctly on systems whose glibc does not have getnameinfo(3), an inet_?to?(3) version is also provided. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'utils/statd/callback.c')
0 files changed, 0 insertions, 0 deletions