1/* 2 * Copyright (c) 2011-12 Apple Inc. All Rights Reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23/* This is a generated file */ 24#ifndef __asn1_der_private_h__ 25#define __asn1_der_private_h__ 26 27#include <stdarg.h> 28 29int 30_asn1_bmember_isset_bit ( 31 const void */*data*/, 32 unsigned int /*bit*/, 33 size_t /*size*/); 34 35void 36_asn1_bmember_put_bit ( 37 unsigned char */*p*/, 38 const void */*data*/, 39 unsigned int /*bit*/, 40 size_t /*size*/, 41 unsigned int */*bitset*/); 42 43int 44_asn1_copy ( 45 const struct asn1_template */*t*/, 46 const void */*from*/, 47 void */*to*/); 48 49int 50_asn1_copy_top ( 51 const struct asn1_template */*t*/, 52 const void */*from*/, 53 void */*to*/); 54 55int 56_asn1_decode ( 57 const struct asn1_template */*t*/, 58 unsigned /*flags*/, 59 const unsigned char */*p*/, 60 size_t /*len*/, 61 void */*data*/, 62 size_t */*size*/); 63 64int 65_asn1_decode_top ( 66 const struct asn1_template */*t*/, 67 unsigned /*flags*/, 68 const unsigned char */*p*/, 69 size_t /*len*/, 70 void */*data*/, 71 size_t */*size*/); 72 73int 74_asn1_encode ( 75 const struct asn1_template */*t*/, 76 unsigned char */*p*/, 77 size_t /*len*/, 78 const void */*data*/, 79 size_t */*size*/); 80 81int 82_asn1_encode_fuzzer ( 83 const struct asn1_template */*t*/, 84 unsigned char */*p*/, 85 size_t /*len*/, 86 const void */*data*/, 87 size_t */*size*/); 88 89void 90_asn1_free ( 91 const struct asn1_template */*t*/, 92 void */*data*/); 93 94size_t 95_asn1_length ( 96 const struct asn1_template */*t*/, 97 const void */*data*/); 98 99size_t 100_asn1_length_fuzzer ( 101 const struct asn1_template */*t*/, 102 const void */*data*/); 103 104size_t 105_asn1_sizeofType (const struct asn1_template */*t*/); 106 107time_t 108_der_timegm (struct tm */*tm*/); 109 110int 111_heim_der_set_sort ( 112 const void */*a1*/, 113 const void */*a2*/); 114 115int 116_heim_fix_dce ( 117 size_t /*reallen*/, 118 size_t */*len*/); 119 120size_t 121_heim_len_int (int /*val*/); 122 123size_t 124_heim_len_unsigned (unsigned /*val*/); 125 126int 127_heim_time2generalizedtime ( 128 time_t /*t*/, 129 heim_octet_string */*s*/, 130 int /*gtimep*/); 131 132#endif /* __asn1_der_private_h__ */ 133