afsconfig-and-rcsid-all-around-20010705
[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 #else
13 #include <afs/param.h>
14 #endif
15 #include <afsconfig.h>
16
17 RCSID("$Header$");
18
19 #ifdef KERNEL
20 #ifndef UKERNEL
21 #include "../h/types.h"
22 #else /* !UKERNEL */
23 #include "afs/sysincludes.h"
24 #endif /* !UKERNEL */
25 #include "../rx/rx.h"
26 #else /* KERNEL */
27 #include "rx.h"
28 #endif /* KERNEL */
29
30 /* The null security object.  No authentication, no nothing. */
31
32 static struct rx_securityOps null_ops;
33 static struct rx_securityClass null_object = {&null_ops, 0, 0};
34
35 struct rx_securityClass *rxnull_NewServerSecurityObject()
36 {
37     return &null_object;
38 }
39
40 struct rx_securityClass *rxnull_NewClientSecurityObject()
41 {
42     return &null_object;
43 }