]> git.decadent.org.uk Git - nfs-utils.git/commit
statd: Add API to canonicalize mon_names
authorChuck Lever <chuck.lever@oracle.com>
Thu, 14 Jan 2010 17:24:08 +0000 (12:24 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 15 Jan 2010 19:55:51 +0000 (14:55 -0500)
commitffee293b10bbb80599ff4345a3155ff36ec05112
tree6fe1342864bbe73490ac610d70391d61a86ac290
parent7f98c14d38badedd30d2d4a6b1d15e913967bf87
statd: Add API to canonicalize mon_names

Provide a shared function to generate canonical names that statd
uses to index its on-disk monitor list.  This function can resolve
DNS hostnames, and IPv4 and IPv6 presentation addresses.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
utils/statd/hostname.c
utils/statd/statd.h