ReactOS 0.4.15-dev-7942-gd23573b
auth_gss.h File Reference
#include <rpc/clnt.h>
#include <sspi.h>
Include dependency graph for auth_gss.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rpc_gss_sec
 
struct  authgss_private_data
 
struct  rpc_gss_cred
 
struct  rpc_gss_init_res
 

Macros

#define SECURITY_WIN32
 
#define RPCSEC_GSS_VERSION   1
 
#define g_OID_equal(o1, o2)
 
#define MAXSEQ   0x80000000
 

Enumerations

enum  rpc_gss_proc_t { RPCSEC_GSS_DATA = 0 , RPCSEC_GSS_INIT = 1 , RPCSEC_GSS_CONTINUE_INIT = 2 , RPCSEC_GSS_DESTROY = 3 }
 
enum  rpc_gss_svc_t { RPCSEC_GSS_SVC_NONE = 1 , RPCSEC_GSS_SVC_INTEGRITY = 2 , RPCSEC_GSS_SVC_PRIVACY = 3 }
 

Functions

__BEGIN_DECLS bool_t xdr_rpc_gss_cred __P ((XDR *xdrs, struct rpc_gss_cred *p))
 
bool_t xdr_rpc_gss_init_args __P ((XDR *xdrs, gss_buffer_desc *p))
 
bool_t xdr_rpc_gss_init_res __P ((XDR *xdrs, struct rpc_gss_init_res *p))
 
bool_t xdr_rpc_gss_data __P ((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))
 
AUTH *authgss_create __P ((CLIENT *, gss_name_t, struct rpc_gss_sec *))
 
AUTH *authgss_create_default __P ((CLIENT *, char *, struct rpc_gss_sec *))
 
bool_t authgss_service __P ((AUTH *auth, int svc))
 
bool_t authgss_get_private_data __P ((AUTH *auth, struct authgss_private_data *))
 
void log_debug __P ((const char *fmt,...))
 
void log_status __P ((char *m, OM_uint32 major, OM_uint32 minor))
 
void log_hexdump __P ((const u_char *buf, int len, int offset))
 

Variables

gss_OID_desc krb5oid
 
gss_OID_desc spkm3oid
 

Macro Definition Documentation

◆ g_OID_equal

#define g_OID_equal (   o1,
  o2 
)
Value:
(((o1)->length == (o2)->length) && \
((o1)->elements != 0) && ((o2)->elements != 0) && \
(memcmp((o1)->elements, (o2)->elements, (int) (o1)->length) == 0))
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
Definition: utclib.c:112
GLuint GLsizei GLsizei * length
Definition: glext.h:6040

Definition at line 98 of file auth_gss.h.

◆ MAXSEQ

#define MAXSEQ   0x80000000

Definition at line 126 of file auth_gss.h.

◆ RPCSEC_GSS_VERSION

#define RPCSEC_GSS_VERSION   1

Definition at line 80 of file auth_gss.h.

◆ SECURITY_WIN32

#define SECURITY_WIN32

Definition at line 62 of file auth_gss.h.

Enumeration Type Documentation

◆ rpc_gss_proc_t

Enumerator
RPCSEC_GSS_DATA 
RPCSEC_GSS_INIT 
RPCSEC_GSS_CONTINUE_INIT 
RPCSEC_GSS_DESTROY 

Definition at line 66 of file auth_gss.h.

66 {
rpc_gss_proc_t
Definition: auth_gss.h:66
@ RPCSEC_GSS_DATA
Definition: auth_gss.h:67
@ RPCSEC_GSS_DESTROY
Definition: auth_gss.h:70
@ RPCSEC_GSS_INIT
Definition: auth_gss.h:68
@ RPCSEC_GSS_CONTINUE_INIT
Definition: auth_gss.h:69

◆ rpc_gss_svc_t

Enumerator
RPCSEC_GSS_SVC_NONE 
RPCSEC_GSS_SVC_INTEGRITY 
RPCSEC_GSS_SVC_PRIVACY 

Definition at line 74 of file auth_gss.h.

74 {
rpc_gss_svc_t
Definition: auth_gss.h:74
@ RPCSEC_GSS_SVC_NONE
Definition: auth_gss.h:75
@ RPCSEC_GSS_SVC_PRIVACY
Definition: auth_gss.h:77
@ RPCSEC_GSS_SVC_INTEGRITY
Definition: auth_gss.h:76

Function Documentation

◆ __P() [1/11]

bool_t authgss_service __P ( (AUTH *auth, int svc)  )

◆ __P() [2/11]

◆ __P() [3/11]

void log_status __P ( (char *m, OM_uint32 major, OM_uint32 minor )

◆ __P() [4/11]

◆ __P() [5/11]

AUTH *authgss_create __P ( (CLIENT *, gss_name_t, struct rpc_gss_sec *)  )

◆ __P() [6/11]

void log_debug __P ( (const char *fmt,...)  )

◆ __P() [7/11]

◆ __P() [8/11]

bool_t xdr_rpc_gss_init_args __P ( (XDR *xdrs, gss_buffer_desc *p )

◆ __P() [9/11]

◆ __P() [10/11]

◆ __P() [11/11]

bool_t xdr_rpc_gss_data __P ( (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)  )

Variable Documentation

◆ krb5oid

gss_OID_desc krb5oid
extern

◆ spkm3oid

gss_OID_desc spkm3oid
extern