summaryrefslogtreecommitdiff
path: root/tirpc/rpc/svc_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'tirpc/rpc/svc_auth.h')
-rw-r--r--tirpc/rpc/svc_auth.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tirpc/rpc/svc_auth.h b/tirpc/rpc/svc_auth.h
index 67608d0..44b38bf 100644
--- a/tirpc/rpc/svc_auth.h
+++ b/tirpc/rpc/svc_auth.h
@@ -41,6 +41,16 @@
#ifndef _RPC_SVC_AUTH_H
#define _RPC_SVC_AUTH_H
+#include <rpc/rpcsec_gss.h>
+
+typedef struct {
+ bool_t established;
+ rpc_gss_service_t service;
+ u_int qop_rcvd;
+ void *context;
+ u_int seq_num;
+} svc_rpc_gss_parms_t;
+
/*
* Interface to server-side authentication flavors.
*/
@@ -53,6 +63,8 @@ typedef struct SVCAUTH {
int (*svc_ah_destroy)(struct SVCAUTH *);
} *svc_ah_ops;
caddr_t svc_ah_private;
+ svc_rpc_gss_parms_t svc_gss_params;
+ rpc_gss_rawcred_t raw_cred;
} SVCAUTH;
#define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \