22#ifndef _TIRPC_AUTH_GSS_H
23#define _TIRPC_AUTH_GSS_H
44#define RPCSEC_SSPI_VERSION 1
46#define sspi_name_t SEC_CHAR *
47#define sspi_qop_t uint32_t
59#define SSPI_C_NO_NAME ((sspi_name_t) NULL)
60#define SSPI_C_NO_BUFFER ((sspi_buffer_t) NULL)
61#define SSPI_C_NO_CONTEXT ((PCtxtHandle) NULL)
bool_t authsspi_service(AUTH *auth, int svc)
AUTH * authsspi_create(CLIENT *, sspi_name_t, struct rpc_sspi_sec *)
void sspi_release_buffer(sspi_buffer_desc *buf)
bool_t xdr_rpc_sspi_init_args(XDR *xdrs, sspi_buffer_desc *p)
@ RPCSEC_SSPI_CONTINUE_INIT
AUTH * authsspi_create_default(CLIENT *, char *, int)
uint32_t sspi_verify_mic(void *ctx, u_int seq, sspi_buffer_desc *bufin, sspi_buffer_desc *bufout, u_int *qop_state)
struct _sspi_OID_desc sspi_OID_desc
@ RPCSEC_SSPI_SVC_INTEGRITY
@ RPCSEC_SSPI_SVC_PRIVACY
struct _sspi_buffer_desc sspi_buffer_desc
uint32_t sspi_unwrap(void *ctx, u_int seq, sspi_buffer_desc *bufin, sspi_buffer_desc *bufout, u_int *conf_state, u_int *qop_state)
void log_hexdump(bool_t on, const u_char *title, const u_char *buf, int len, int offset)
uint32_t sspi_import_name(sspi_buffer_desc *name_in, sspi_name_t *name_out)
void log_status(char *m, uint32_t major, uint32_t minor)
bool_t xdr_rpc_sspi_init_res(XDR *xdrs, struct rpc_sspi_init_res *p)
uint32_t sspi_get_mic(void *ctx, u_int qop, u_int seq, sspi_buffer_desc *bufin, sspi_buffer_desc *bufout)
bool_t xdr_rpc_sspi_data(XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, PCtxtHandle ctx, sspi_qop_t qop, rpc_sspi_svc_t svc, u_int seq)
__BEGIN_DECLS bool_t xdr_rpc_sspi_cred(XDR *xdrs, struct rpc_sspi_cred *p)
void log_debug(const char *fmt,...)
struct _sspi_buffer_desc * sspi_buffer_t
uint32_t sspi_wrap(void *ctx, u_int seq, sspi_buffer_desc *bufin, sspi_buffer_desc *bufout, u_int *conf_state)
struct _sspi_OID_desc * sspi_OID
GLenum GLuint GLenum GLsizei const GLchar * buf
sspi_buffer_desc gr_token
bool_t(* xdrproc_t)(XDR *,...)