ReactOS  0.4.15-dev-5146-g069b08d
svc_auth_none.c File Reference
#include <wintirpc.h>
#include <rpc/rpc.h>
Include dependency graph for svc_auth_none.c:

Go to the source code of this file.


static bool_t svcauth_none_destroy (SVCAUTH *auth)
static bool_t svcauth_none_wrap (SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr)
enum auth_stat _svcauth_none (struct svc_req *rqst, struct rpc_msg *msg)


struct svc_auth_ops svc_auth_none_ops
SVCAUTH svc_auth_none

Function Documentation

◆ _svcauth_none()

enum auth_stat _svcauth_none ( struct svc_req rqst,
struct rpc_msg msg 

Definition at line 69 of file svc_auth_none.c.

70 {
71  rqst->rq_xprt->xp_auth = &svc_auth_none;
73  return (AUTH_OK);
74 }
SVCXPRT * rq_xprt
Definition: svc.h:139
Definition: auth.h:145
SVCAUTH * xp_auth
Definition: svc.h:122
SVCAUTH svc_auth_none
Definition: svc_auth_none.c:63

◆ svcauth_none_destroy()

static bool_t svcauth_none_destroy ( SVCAUTH auth)

Definition at line 45 of file svc_auth_none.c.

46 {
47  return (TRUE);
48 }
#define TRUE
Definition: types.h:120

◆ svcauth_none_wrap()

static bool_t svcauth_none_wrap ( SVCAUTH auth,
XDR xdrs,
xdrproc_t  xdr_func,
caddr_t  xdr_ptr 

Definition at line 51 of file svc_auth_none.c.

53 {
54  return ((*xdr_func)(xdrs, xdr_ptr));
55 }

Variable Documentation

◆ svc_auth_none

SVCAUTH svc_auth_none
Initial value:
= {
#define NULL
Definition: types.h:112
struct svc_auth_ops svc_auth_none_ops
Definition: svc_auth_none.c:57

Definition at line 63 of file svc_auth_none.c.

Referenced by _svcauth_gss(), and _svcauth_none().

◆ svc_auth_none_ops

struct svc_auth_ops svc_auth_none_ops
Initial value:
= {
static bool_t svcauth_none_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr)
Definition: svc_auth_none.c:51
static bool_t svcauth_none_destroy(SVCAUTH *auth)
Definition: svc_auth_none.c:45

Definition at line 57 of file svc_auth_none.c.