Some doc path fixes from Anders
[pkg-k5-afs_openafs.git] / src / rx / rx_null.c
blob809fc67b4bc05e3f5bbd114c2edb0f4f69641530
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
10 #include <afsconfig.h>
11 #include <afs/param.h>
13 #ifdef KERNEL
14 # ifndef UKERNEL
15 # include "h/types.h"
16 # else /* !UKERNEL */
17 # include "afs/sysincludes.h"
18 # endif /* !UKERNEL */
19 #else /* KERNEL */
20 # include <roken.h>
21 #endif /* KERNEL */
23 #include "rx.h"
25 /* The null security object. No authentication, no nothing. */
27 static struct rx_securityOps null_ops;
28 static struct rx_securityClass null_object = { &null_ops, 0, 0 };
30 struct rx_securityClass *
31 rxnull_NewServerSecurityObject(void)
33 return &null_object;
36 struct rx_securityClass *
37 rxnull_NewClientSecurityObject(void)
39 return &null_object;