diff options
author | Scott Mayhew <smayhew@redhat.com> | 2015-11-02 08:11:31 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-11-02 08:55:04 -0500 |
commit | 1cc193508435b67c362c4e99d3f84d1bd0f342a4 (patch) | |
tree | a11a23f47a75ad2d9ba3ea065622a1c61428c113 /support | |
parent | 273b46473594b8aa4e55f682577d1dd94d44ad50 (diff) | |
download | nfs-utils-1cc193508435b67c362c4e99d3f84d1bd0f342a4.tar.gz nfs-utils-1cc193508435b67c362c4e99d3f84d1bd0f342a4.tar.xz nfs-utils-1cc193508435b67c362c4e99d3f84d1bd0f342a4.zip |
Allow gssd and svcgssd to set the libtirpc debug level
The interface for controlling the debug level in libtirpc was added
over a year ago, but nothing's taking advantage of it.
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/include/nfslib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/include/nfslib.h b/support/include/nfslib.h index c9a13cb..ddd71ac 100644 --- a/support/include/nfslib.h +++ b/support/include/nfslib.h @@ -176,6 +176,9 @@ size_t strlcpy(char *, const char *, size_t); ssize_t atomicio(ssize_t (*f) (int, void*, size_t), int, void *, size_t); +#ifdef HAVE_LIBTIRPC_SET_DEBUG +void libtirpc_set_debug(char *name, int level, int use_stderr); +#endif #define UNUSED(x) UNUSED_ ## x __attribute__((unused)) |