Add rxgk boilerplate
[openafs.git] / src / rxgk / rxgk_procs.c
1 /* rxgk/rxgk_procs.c - Server-side RPC procedures for RXGK */
2 /*
3  * Copyright (C) 2013, 2014 by the Massachusetts Institute of Technology.
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  *
10  * * Redistributions of source code must retain the above copyright
11  *   notice, this list of conditions and the following disclaimer.
12  *
13  * * Redistributions in binary form must reproduce the above copyright
14  *   notice, this list of conditions and the following disclaimer in
15  *   the documentation and/or other materials provided with the
16  *   distribution.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22  * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
23  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
29  * OF THE POSSIBILITY OF SUCH DAMAGE.
30  */
31
32 /*
33  * Server-side RPC procedures for RXGK.
34  */
35
36 #include <afsconfig.h>
37 #include <afs/param.h>
38 #include <afs/stds.h>
39
40 #include <rx/rx.h>
41 #include <rx/rx_identity.h>
42 #include <rx/rxgk.h>
43
44 #include "rxgk_private.h"
45
46 afs_int32
47 SRXGK_GSSNegotiate(struct rx_call *z_call, RXGK_StartParams *client_start,
48                    RXGK_Data *input_token_buffer, RXGK_Data *opaque_in,
49                    RXGK_Data *output_token_buffer, RXGK_Data *opaque_out,
50                    afs_uint32 *gss_major_status, afs_uint32 *gss_minor_status,
51                    RXGK_Data *rxgk_info)
52 {
53     return RXGEN_OPCODE;
54 }
55
56
57 afs_int32
58 SRXGK_CombineTokens(struct rx_call *z_call, RXGK_Data *token0,
59                     RXGK_Data *token1, RXGK_CombineOptions *options,
60                     RXGK_Data *new_token, RXGK_TokenInfo *info)
61 {
62     return RXGEN_OPCODE;
63 }
64
65 afs_int32
66 SRXGK_AFSCombineTokens(struct rx_call *z_call, RXGK_Data *user_tok,
67                        RXGK_Data *cm_tok, RXGK_CombineOptions *options,
68                        afsUUID destination, RXGK_Data *new_token,
69                        RXGK_TokenInfo *info)
70 {
71     return RXGEN_OPCODE;
72 }