58#ifndef _TIRPC_AUTH_GSS_H
59#define _TIRPC_AUTH_GSS_H
80#define RPCSEC_GSS_VERSION 1
98#define g_OID_equal(o1, o2) \
99 (((o1)->length == (o2)->length) && \
100 ((o1)->elements != 0) && ((o2)->elements != 0) && \
101 (memcmp((o1)->elements, (o2)->elements, (int) (o1)->length) == 0))
126#define MAXSEQ 0x80000000
AUTH * authgss_create(CLIENT *clnt, gss_name_t name, struct rpc_gss_sec *sec)
bool_t authgss_service(AUTH *auth, int svc)
bool_t authgss_get_private_data(AUTH *auth, struct authgss_private_data *pd)
AUTH * authgss_create_default(CLIENT *clnt, char *service, struct rpc_gss_sec *sec)
@ RPCSEC_GSS_SVC_INTEGRITY
@ RPCSEC_GSS_CONTINUE_INIT
void log_hexdump(bool_t on, const u_char *title, const u_char *buf, int len, int offset)
void log_debug(const char *fmt,...)
bool_t xdr_rpc_gss_data(XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, gss_ctx_id_t ctx, gss_qop_t qop, rpc_gss_svc_t svc, u_int seq)
bool_t xdr_rpc_gss_init_res(XDR *xdrs, struct rpc_gss_init_res *p)
bool_t xdr_rpc_gss_cred(XDR *xdrs, struct rpc_gss_cred *p)
void log_status(char *m, OM_uint32 maj_stat, OM_uint32 min_stat)
bool_t xdr_rpc_gss_init_args(XDR *xdrs, gss_buffer_desc *p)
GLenum GLuint GLenum GLsizei const GLchar * buf
gss_buffer_desc pd_ctx_hndl
bool_t(* xdrproc_t)(XDR *,...)