rx-race-condition-cleanup-by-adding-busy-status-20010605
[openafs.git] / src / rx / rx_null.c
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
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  */
9
10 #ifdef  KERNEL
11 #include "afs/param.h"
12 #ifndef UKERNEL
13 #include "../h/types.h"
14 #else /* !UKERNEL */
15 #include "afs/sysincludes.h"
16 #endif /* !UKERNEL */
17 #include "../rx/rx.h"
18 #else /* KERNEL */
19 #include <afs/param.h>
20 #include "rx.h"
21 #endif /* KERNEL */
22
23 /* The null security object.  No authentication, no nothing. */
24
25 static struct rx_securityOps null_ops;
26 static struct rx_securityClass null_object = {&null_ops, 0, 0};
27
28 struct rx_securityClass *rxnull_NewServerSecurityObject()
29 {
30     return &null_object;
31 }
32
33 struct rx_securityClass *rxnull_NewClientSecurityObject()
34 {
35     return &null_object;
36 }