]> granicus.if.org Git - libtirpc/commitdiff
Added SVCAUTH_DESTROY and svcauth_destroy macros to
authorSteve Dickson <steved@redhat.com>
Fri, 20 Apr 2007 19:04:22 +0000 (15:04 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 20 Apr 2007 19:04:22 +0000 (15:04 -0400)
fix undefined errors

Signed-off-by: Steve Dickson <steved@redhat.com>
tirpc/rpc/svc_auth.h

index 89d3571bf155427d0ff0b39845d3eafb3724a29a..9f26c4a554a193c36b4598603deaaa843393c8bc 100644 (file)
@@ -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
  */