root/source4/heimdal/lib/krb5/codec.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. krb5_decode_EncTicketPart
  2. krb5_encode_EncTicketPart
  3. krb5_decode_EncASRepPart
  4. krb5_encode_EncASRepPart
  5. krb5_decode_EncTGSRepPart
  6. krb5_encode_EncTGSRepPart
  7. krb5_decode_EncAPRepPart
  8. krb5_encode_EncAPRepPart
  9. krb5_decode_Authenticator
  10. krb5_encode_Authenticator
  11. krb5_decode_EncKrbCredPart
  12. krb5_encode_EncKrbCredPart
  13. krb5_decode_ETYPE_INFO
  14. krb5_encode_ETYPE_INFO
  15. krb5_decode_ETYPE_INFO2
  16. krb5_encode_ETYPE_INFO2

   1 /*
   2  * Copyright (c) 1998 - 2001 Kungliga Tekniska Högskolan
   3  * (Royal Institute of Technology, Stockholm, Sweden).
   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  * 1. Redistributions of source code must retain the above copyright
  11  *    notice, this list of conditions and the following disclaimer.
  12  *
  13  * 2. Redistributions in binary form must reproduce the above copyright
  14  *    notice, this list of conditions and the following disclaimer in the
  15  *    documentation and/or other materials provided with the distribution.
  16  *
  17  * 3. Neither the name of the Institute nor the names of its contributors
  18  *    may be used to endorse or promote products derived from this software
  19  *    without specific prior written permission.
  20  *
  21  * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
  22  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
  25  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  26  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  27  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  28  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  29  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  30  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  31  * SUCH DAMAGE.
  32  */
  33 
  34 #include "krb5_locl.h"
  35 
  36 #undef __attribute__
  37 #define __attribute__(x)
  38 
  39 RCSID("$Id$");
  40 
  41 #ifndef HEIMDAL_SMALLER
  42 
  43 krb5_error_code KRB5_LIB_FUNCTION
  44 krb5_decode_EncTicketPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
  45                            const void *data,
  46                            size_t length,
  47                            EncTicketPart *t,
  48                            size_t *len)
  49     __attribute__((deprecated))
  50 {
  51     return decode_EncTicketPart(data, length, t, len);
  52 }
  53 
  54 krb5_error_code KRB5_LIB_FUNCTION
  55 krb5_encode_EncTicketPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
  56                            void *data,
  57                            size_t length,
  58                            EncTicketPart *t,
  59                            size_t *len)
  60     __attribute__((deprecated))
  61 {
  62     return encode_EncTicketPart(data, length, t, len);
  63 }
  64 
  65 krb5_error_code KRB5_LIB_FUNCTION
  66 krb5_decode_EncASRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
  67                           const void *data,
  68                           size_t length,
  69                           EncASRepPart *t,
  70                           size_t *len)
  71     __attribute__((deprecated))
  72 {
  73     return decode_EncASRepPart(data, length, t, len);
  74 }
  75 
  76 krb5_error_code KRB5_LIB_FUNCTION
  77 krb5_encode_EncASRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
  78                           void *data,
  79                           size_t length,
  80                           EncASRepPart *t,
  81                           size_t *len)
  82     __attribute__((deprecated))
  83 {
  84     return encode_EncASRepPart(data, length, t, len);
  85 }
  86 
  87 krb5_error_code KRB5_LIB_FUNCTION
  88 krb5_decode_EncTGSRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
  89                            const void *data,
  90                            size_t length,
  91                            EncTGSRepPart *t,
  92                            size_t *len)
  93     __attribute__((deprecated))
  94 {
  95     return decode_EncTGSRepPart(data, length, t, len);
  96 }
  97 
  98 krb5_error_code KRB5_LIB_FUNCTION
  99 krb5_encode_EncTGSRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 100                            void *data,
 101                            size_t length,
 102                            EncTGSRepPart *t,
 103                            size_t *len)
 104     __attribute__((deprecated))
 105 {
 106     return encode_EncTGSRepPart(data, length, t, len);
 107 }
 108 
 109 krb5_error_code KRB5_LIB_FUNCTION
 110 krb5_decode_EncAPRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 111                           const void *data,
 112                           size_t length,
 113                           EncAPRepPart *t,
 114                           size_t *len)
 115     __attribute__((deprecated))
 116 {
 117     return decode_EncAPRepPart(data, length, t, len);
 118 }
 119 
 120 krb5_error_code KRB5_LIB_FUNCTION
 121 krb5_encode_EncAPRepPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 122                           void *data,
 123                           size_t length,
 124                           EncAPRepPart *t,
 125                           size_t *len)
 126     __attribute__((deprecated))
 127 {
 128     return encode_EncAPRepPart(data, length, t, len);
 129 }
 130 
 131 krb5_error_code KRB5_LIB_FUNCTION
 132 krb5_decode_Authenticator (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 133                            const void *data,
 134                            size_t length,
 135                            Authenticator *t,
 136                            size_t *len)
 137     __attribute__((deprecated))
 138 {
 139     return decode_Authenticator(data, length, t, len);
 140 }
 141 
 142 krb5_error_code KRB5_LIB_FUNCTION
 143 krb5_encode_Authenticator (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 144                            void *data,
 145                            size_t length,
 146                            Authenticator *t,
 147                            size_t *len)
 148     __attribute__((deprecated))
 149 {
 150     return encode_Authenticator(data, length, t, len);
 151 }
 152 
 153 krb5_error_code KRB5_LIB_FUNCTION
 154 krb5_decode_EncKrbCredPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 155                             const void *data,
 156                             size_t length,
 157                             EncKrbCredPart *t,
 158                             size_t *len)
 159     __attribute__((deprecated))
 160 {
 161     return decode_EncKrbCredPart(data, length, t, len);
 162 }
 163 
 164 krb5_error_code KRB5_LIB_FUNCTION
 165 krb5_encode_EncKrbCredPart (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 166                             void *data,
 167                             size_t length,
 168                             EncKrbCredPart *t,
 169                             size_t *len)
 170     __attribute__((deprecated))
 171 {
 172     return encode_EncKrbCredPart (data, length, t, len);
 173 }
 174 
 175 krb5_error_code KRB5_LIB_FUNCTION
 176 krb5_decode_ETYPE_INFO (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 177                         const void *data,
 178                         size_t length,
 179                         ETYPE_INFO *t,
 180                         size_t *len)
 181     __attribute__((deprecated))
 182 {
 183     return decode_ETYPE_INFO(data, length, t, len);
 184 }
 185 
 186 krb5_error_code KRB5_LIB_FUNCTION
 187 krb5_encode_ETYPE_INFO (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 188                         void *data,
 189                         size_t length,
 190                         ETYPE_INFO *t,
 191                         size_t *len)
 192     __attribute__((deprecated))
 193 {
 194     return encode_ETYPE_INFO (data, length, t, len);
 195 }
 196 
 197 krb5_error_code KRB5_LIB_FUNCTION
 198 krb5_decode_ETYPE_INFO2 (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 199                         const void *data,
 200                         size_t length,
 201                         ETYPE_INFO2 *t,
 202                         size_t *len)
 203     __attribute__((deprecated))
 204 {
 205     return decode_ETYPE_INFO2(data, length, t, len);
 206 }
 207 
 208 krb5_error_code KRB5_LIB_FUNCTION
 209 krb5_encode_ETYPE_INFO2 (krb5_context context,
     /* [<][>][^][v][top][bottom][index][help] */
 210                          void *data,
 211                          size_t length,
 212                          ETYPE_INFO2 *t,
 213                          size_t *len)
 214     __attribute__((deprecated))
 215 {
 216     return encode_ETYPE_INFO2 (data, length, t, len);
 217 }
 218 
 219 #endif /* HEIMDAL_SMALLER */

/* [<][>][^][v][top][bottom][index][help] */