diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-01-11 19:52:47 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-01-12 05:52:55 -0500 |
commit | a8449be2ab58d67d5028a280f94e661358b58e97 (patch) | |
tree | 75512ec399cd6da647337eee415800bc4af7f17d /support/include | |
parent | 99979a6cf2f862d2365d27fa90fab4416c374903 (diff) | |
download | nfs-utils-a8449be2ab58d67d5028a280f94e661358b58e97.tar.gz nfs-utils-a8449be2ab58d67d5028a280f94e661358b58e97.tar.xz nfs-utils-a8449be2ab58d67d5028a280f94e661358b58e97.zip |
nfs-utils: make private cookie to hex conversion a library routine
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include')
-rw-r--r-- | support/include/nsm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/include/nsm.h b/support/include/nsm.h index 7554493..28314d1 100644 --- a/support/include/nsm.h +++ b/support/include/nsm.h @@ -60,5 +60,7 @@ extern _Bool nsm_insert_monitored_host(const char *hostname, const struct sockaddr *sap, const struct mon *m); extern void nsm_delete_monitored_host(const char *hostname); extern void nsm_delete_notified_host(const char *hostname); +extern size_t nsm_priv_to_hex(const char *priv, char *buf, + const size_t buflen); #endif /* !NFS_UTILS_SUPPORT_NSM_H */ |