nfs-utils: clean up NFSCTL_* macros for handling protocol bits
authorJeff Layton <jlayton@redhat.com>
Sat, 1 Aug 2009 11:20:38 +0000 (07:20 -0400)
committerSteve Dickson <steved@redhat.com>
Sat, 1 Aug 2009 11:20:38 +0000 (07:20 -0400)
commit0d53a1d0ff5635d3af2f0d10e1f00f5de1353490
treef9f5e2cff1e8450224a2ee6755512440c4d05ddf
parent6f25394cb5651e7e44cc3fc0b2b4b2ccba8c3625
nfs-utils: clean up NFSCTL_* macros for handling protocol bits

They are a little hard to follow currently. Clean them up and add new
macros that can set these bits in addition to the ones that unset them.

Also add a new macro that reports when any valid protocol bit is set.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfs/nfs.h
utils/nfsd/nfssvc.h [new file with mode: 0644]