From: Steve Dickson Date: Fri, 20 Apr 2007 19:04:22 +0000 (-0400) Subject: Added SVCAUTH_DESTROY and svcauth_destroy macros to X-Git-Tag: libtirpc-0_1_8~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c9e6b9129fb40313bc5ba1a99a9903426de44b4;p=libtirpc Added SVCAUTH_DESTROY and svcauth_destroy macros to fix undefined errors Signed-off-by: Steve Dickson --- diff --git a/tirpc/rpc/svc_auth.h b/tirpc/rpc/svc_auth.h index 89d3571..9f26c4a 100644 --- a/tirpc/rpc/svc_auth.h +++ b/tirpc/rpc/svc_auth.h @@ -54,6 +54,9 @@ typedef struct { caddr_t svc_ah_private; } SVCAUTH; +#define SVCAUTH_DESTROY(cred) ((*(cred)->svc_ah_ops->svc_ah_destroy)()) +#define svcauth_destroy(cred) ((*(cred)->svc_ah_ops->svc_ah_destroy)()) + /* * Server side authenticator */