1*de0e0e4dSAntonio Huete Jimenez /* $OpenBSD: safestack.h,v 1.22 2022/07/16 19:11:51 kn Exp $ */
2f5b1c8a1SJohn Marino /* ====================================================================
3f5b1c8a1SJohn Marino  * Copyright (c) 1999 The OpenSSL Project.  All rights reserved.
4f5b1c8a1SJohn Marino  *
5f5b1c8a1SJohn Marino  * Redistribution and use in source and binary forms, with or without
6f5b1c8a1SJohn Marino  * modification, are permitted provided that the following conditions
7f5b1c8a1SJohn Marino  * are met:
8f5b1c8a1SJohn Marino  *
9f5b1c8a1SJohn Marino  * 1. Redistributions of source code must retain the above copyright
10f5b1c8a1SJohn Marino  *    notice, this list of conditions and the following disclaimer.
11f5b1c8a1SJohn Marino  *
12f5b1c8a1SJohn Marino  * 2. Redistributions in binary form must reproduce the above copyright
13f5b1c8a1SJohn Marino  *    notice, this list of conditions and the following disclaimer in
14f5b1c8a1SJohn Marino  *    the documentation and/or other materials provided with the
15f5b1c8a1SJohn Marino  *    distribution.
16f5b1c8a1SJohn Marino  *
17f5b1c8a1SJohn Marino  * 3. All advertising materials mentioning features or use of this
18f5b1c8a1SJohn Marino  *    software must display the following acknowledgment:
19f5b1c8a1SJohn Marino  *    "This product includes software developed by the OpenSSL Project
20f5b1c8a1SJohn Marino  *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
21f5b1c8a1SJohn Marino  *
22f5b1c8a1SJohn Marino  * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
23f5b1c8a1SJohn Marino  *    endorse or promote products derived from this software without
24f5b1c8a1SJohn Marino  *    prior written permission. For written permission, please contact
25f5b1c8a1SJohn Marino  *    openssl-core@openssl.org.
26f5b1c8a1SJohn Marino  *
27f5b1c8a1SJohn Marino  * 5. Products derived from this software may not be called "OpenSSL"
28f5b1c8a1SJohn Marino  *    nor may "OpenSSL" appear in their names without prior written
29f5b1c8a1SJohn Marino  *    permission of the OpenSSL Project.
30f5b1c8a1SJohn Marino  *
31f5b1c8a1SJohn Marino  * 6. Redistributions of any form whatsoever must retain the following
32f5b1c8a1SJohn Marino  *    acknowledgment:
33f5b1c8a1SJohn Marino  *    "This product includes software developed by the OpenSSL Project
34f5b1c8a1SJohn Marino  *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
35f5b1c8a1SJohn Marino  *
36f5b1c8a1SJohn Marino  * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
37f5b1c8a1SJohn Marino  * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
38f5b1c8a1SJohn Marino  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39f5b1c8a1SJohn Marino  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
40f5b1c8a1SJohn Marino  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41f5b1c8a1SJohn Marino  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42f5b1c8a1SJohn Marino  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
43f5b1c8a1SJohn Marino  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44f5b1c8a1SJohn Marino  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45f5b1c8a1SJohn Marino  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46f5b1c8a1SJohn Marino  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47f5b1c8a1SJohn Marino  * OF THE POSSIBILITY OF SUCH DAMAGE.
48f5b1c8a1SJohn Marino  * ====================================================================
49f5b1c8a1SJohn Marino  *
50f5b1c8a1SJohn Marino  * This product includes cryptographic software written by Eric Young
51f5b1c8a1SJohn Marino  * (eay@cryptsoft.com).  This product includes software written by Tim
52f5b1c8a1SJohn Marino  * Hudson (tjh@cryptsoft.com).
53f5b1c8a1SJohn Marino  *
54f5b1c8a1SJohn Marino  */
55f5b1c8a1SJohn Marino 
56f5b1c8a1SJohn Marino #ifndef HEADER_SAFESTACK_H
57f5b1c8a1SJohn Marino #define HEADER_SAFESTACK_H
58f5b1c8a1SJohn Marino 
59f5b1c8a1SJohn Marino #include <openssl/stack.h>
60f5b1c8a1SJohn Marino 
61f5b1c8a1SJohn Marino #ifndef CHECKED_PTR_OF
62f5b1c8a1SJohn Marino #define CHECKED_PTR_OF(type, p) \
63f5b1c8a1SJohn Marino     ((void*) (1 ? p : (type*)0))
64f5b1c8a1SJohn Marino #endif
65f5b1c8a1SJohn Marino 
66f5b1c8a1SJohn Marino /* In C++ we get problems because an explicit cast is needed from (void *)
67f5b1c8a1SJohn Marino  * we use CHECKED_STACK_OF to ensure the correct type is passed in the macros
68f5b1c8a1SJohn Marino  * below.
69f5b1c8a1SJohn Marino  */
70f5b1c8a1SJohn Marino 
71f5b1c8a1SJohn Marino #define CHECKED_STACK_OF(type, p) \
72f5b1c8a1SJohn Marino     ((_STACK*) (1 ? p : (STACK_OF(type)*)0))
73f5b1c8a1SJohn Marino 
74f5b1c8a1SJohn Marino #define CHECKED_SK_FREE_FUNC(type, p) \
75f5b1c8a1SJohn Marino     ((void (*)(void *)) ((1 ? p : (void (*)(type *))0)))
76f5b1c8a1SJohn Marino 
77f5b1c8a1SJohn Marino #define CHECKED_SK_FREE_FUNC2(type, p) \
78f5b1c8a1SJohn Marino     ((void (*)(void *)) ((1 ? p : (void (*)(type))0)))
79f5b1c8a1SJohn Marino 
80f5b1c8a1SJohn Marino #define CHECKED_SK_CMP_FUNC(type, p) \
81f5b1c8a1SJohn Marino     ((int (*)(const void *, const void *)) \
82f5b1c8a1SJohn Marino 	((1 ? p : (int (*)(const type * const *, const type * const *))0)))
83f5b1c8a1SJohn Marino 
84f5b1c8a1SJohn Marino #define STACK_OF(type) struct stack_st_##type
85f5b1c8a1SJohn Marino #define PREDECLARE_STACK_OF(type) STACK_OF(type);
86f5b1c8a1SJohn Marino 
87f5b1c8a1SJohn Marino #define DECLARE_STACK_OF(type) \
88f5b1c8a1SJohn Marino STACK_OF(type) \
89f5b1c8a1SJohn Marino     { \
90f5b1c8a1SJohn Marino     _STACK stack; \
91f5b1c8a1SJohn Marino     };
92f5b1c8a1SJohn Marino #define DECLARE_SPECIAL_STACK_OF(type, type2) \
93f5b1c8a1SJohn Marino STACK_OF(type) \
94f5b1c8a1SJohn Marino     { \
95f5b1c8a1SJohn Marino     _STACK stack; \
96f5b1c8a1SJohn Marino     };
97f5b1c8a1SJohn Marino 
98f5b1c8a1SJohn Marino #define IMPLEMENT_STACK_OF(type) /* nada (obsolete in new safestack approach)*/
99f5b1c8a1SJohn Marino 
100f5b1c8a1SJohn Marino 
101f5b1c8a1SJohn Marino /* Strings are special: normally an lhash entry will point to a single
102f5b1c8a1SJohn Marino  * (somewhat) mutable object. In the case of strings:
103f5b1c8a1SJohn Marino  *
104f5b1c8a1SJohn Marino  * a) Instead of a single char, there is an array of chars, NUL-terminated.
105f5b1c8a1SJohn Marino  * b) The string may have be immutable.
106f5b1c8a1SJohn Marino  *
107f5b1c8a1SJohn Marino  * So, they need their own declarations. Especially important for
108f5b1c8a1SJohn Marino  * type-checking tools, such as Deputy.
109f5b1c8a1SJohn Marino  *
110f5b1c8a1SJohn Marino o * In practice, however, it appears to be hard to have a const
111f5b1c8a1SJohn Marino  * string. For now, I'm settling for dealing with the fact it is a
112f5b1c8a1SJohn Marino  * string at all.
113f5b1c8a1SJohn Marino  */
114f5b1c8a1SJohn Marino typedef char *OPENSSL_STRING;
115f5b1c8a1SJohn Marino 
116f5b1c8a1SJohn Marino typedef const char *OPENSSL_CSTRING;
117f5b1c8a1SJohn Marino 
118f5b1c8a1SJohn Marino /* Confusingly, LHASH_OF(STRING) deals with char ** throughout, but
119f5b1c8a1SJohn Marino  * STACK_OF(STRING) is really more like STACK_OF(char), only, as
120f5b1c8a1SJohn Marino  * mentioned above, instead of a single char each entry is a
121f5b1c8a1SJohn Marino  * NUL-terminated array of chars. So, we have to implement STRING
122f5b1c8a1SJohn Marino  * specially for STACK_OF. This is dealt with in the autogenerated
123f5b1c8a1SJohn Marino  * macros below.
124f5b1c8a1SJohn Marino  */
125f5b1c8a1SJohn Marino 
126f5b1c8a1SJohn Marino DECLARE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
127f5b1c8a1SJohn Marino 
128f5b1c8a1SJohn Marino /* Similarly, we sometimes use a block of characters, NOT
129f5b1c8a1SJohn Marino  * nul-terminated. These should also be distinguished from "normal"
130f5b1c8a1SJohn Marino  * stacks. */
131f5b1c8a1SJohn Marino 
132f5b1c8a1SJohn Marino typedef void *OPENSSL_BLOCK;
133f5b1c8a1SJohn Marino DECLARE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
134f5b1c8a1SJohn Marino 
135f5b1c8a1SJohn Marino /* SKM_sk_... stack macros are internal to safestack.h:
136f5b1c8a1SJohn Marino  * never use them directly, use sk_<type>_... instead */
137f5b1c8a1SJohn Marino #define SKM_sk_new(type, cmp) \
138f5b1c8a1SJohn Marino 	((STACK_OF(type) *)sk_new(CHECKED_SK_CMP_FUNC(type, cmp)))
139f5b1c8a1SJohn Marino #define SKM_sk_new_null(type) \
140f5b1c8a1SJohn Marino 	((STACK_OF(type) *)sk_new_null())
141f5b1c8a1SJohn Marino #define SKM_sk_free(type, st) \
142f5b1c8a1SJohn Marino 	sk_free(CHECKED_STACK_OF(type, st))
143f5b1c8a1SJohn Marino #define SKM_sk_num(type, st) \
144f5b1c8a1SJohn Marino 	sk_num(CHECKED_STACK_OF(type, st))
145f5b1c8a1SJohn Marino #define SKM_sk_value(type, st,i) \
146f5b1c8a1SJohn Marino 	((type *)sk_value(CHECKED_STACK_OF(type, st), i))
147f5b1c8a1SJohn Marino #define SKM_sk_set(type, st,i,val) \
148f5b1c8a1SJohn Marino 	sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val))
149f5b1c8a1SJohn Marino #define SKM_sk_zero(type, st) \
150f5b1c8a1SJohn Marino 	sk_zero(CHECKED_STACK_OF(type, st))
151f5b1c8a1SJohn Marino #define SKM_sk_push(type, st, val) \
152f5b1c8a1SJohn Marino 	sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
153f5b1c8a1SJohn Marino #define SKM_sk_unshift(type, st, val) \
154f5b1c8a1SJohn Marino 	sk_unshift(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
155f5b1c8a1SJohn Marino #define SKM_sk_find(type, st, val) \
156f5b1c8a1SJohn Marino 	sk_find(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
157f5b1c8a1SJohn Marino #define SKM_sk_find_ex(type, st, val) \
158f5b1c8a1SJohn Marino 	sk_find_ex(CHECKED_STACK_OF(type, st), \
159f5b1c8a1SJohn Marino 		   CHECKED_PTR_OF(type, val))
160f5b1c8a1SJohn Marino #define SKM_sk_delete(type, st, i) \
161f5b1c8a1SJohn Marino 	(type *)sk_delete(CHECKED_STACK_OF(type, st), i)
162f5b1c8a1SJohn Marino #define SKM_sk_delete_ptr(type, st, ptr) \
163f5b1c8a1SJohn Marino 	(type *)sk_delete_ptr(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, ptr))
164f5b1c8a1SJohn Marino #define SKM_sk_insert(type, st,val, i) \
165f5b1c8a1SJohn Marino 	sk_insert(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val), i)
166f5b1c8a1SJohn Marino #define SKM_sk_set_cmp_func(type, st, cmp) \
167f5b1c8a1SJohn Marino 	((int (*)(const type * const *,const type * const *)) \
168f5b1c8a1SJohn Marino 	sk_set_cmp_func(CHECKED_STACK_OF(type, st), CHECKED_SK_CMP_FUNC(type, cmp)))
169f5b1c8a1SJohn Marino #define SKM_sk_dup(type, st) \
170f5b1c8a1SJohn Marino 	(STACK_OF(type) *)sk_dup(CHECKED_STACK_OF(type, st))
171f5b1c8a1SJohn Marino #define SKM_sk_pop_free(type, st, free_func) \
172f5b1c8a1SJohn Marino 	sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
173f5b1c8a1SJohn Marino #define SKM_sk_shift(type, st) \
174f5b1c8a1SJohn Marino 	(type *)sk_shift(CHECKED_STACK_OF(type, st))
175f5b1c8a1SJohn Marino #define SKM_sk_pop(type, st) \
176f5b1c8a1SJohn Marino 	(type *)sk_pop(CHECKED_STACK_OF(type, st))
177f5b1c8a1SJohn Marino #define SKM_sk_sort(type, st) \
178f5b1c8a1SJohn Marino 	sk_sort(CHECKED_STACK_OF(type, st))
179f5b1c8a1SJohn Marino #define SKM_sk_is_sorted(type, st) \
180f5b1c8a1SJohn Marino 	sk_is_sorted(CHECKED_STACK_OF(type, st))
181f5b1c8a1SJohn Marino 
182f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_new(cmp) SKM_sk_new(ACCESS_DESCRIPTION, (cmp))
183f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_new_null() SKM_sk_new_null(ACCESS_DESCRIPTION)
184f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_free(st) SKM_sk_free(ACCESS_DESCRIPTION, (st))
185f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_num(st) SKM_sk_num(ACCESS_DESCRIPTION, (st))
186f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_value(st, i) SKM_sk_value(ACCESS_DESCRIPTION, (st), (i))
187f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_set(st, i, val) SKM_sk_set(ACCESS_DESCRIPTION, (st), (i), (val))
188f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_zero(st) SKM_sk_zero(ACCESS_DESCRIPTION, (st))
189f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_push(st, val) SKM_sk_push(ACCESS_DESCRIPTION, (st), (val))
190f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_unshift(st, val) SKM_sk_unshift(ACCESS_DESCRIPTION, (st), (val))
191f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_find(st, val) SKM_sk_find(ACCESS_DESCRIPTION, (st), (val))
192f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_find_ex(st, val) SKM_sk_find_ex(ACCESS_DESCRIPTION, (st), (val))
193f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_delete(st, i) SKM_sk_delete(ACCESS_DESCRIPTION, (st), (i))
194f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_delete_ptr(st, ptr) SKM_sk_delete_ptr(ACCESS_DESCRIPTION, (st), (ptr))
195f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_insert(st, val, i) SKM_sk_insert(ACCESS_DESCRIPTION, (st), (val), (i))
196f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ACCESS_DESCRIPTION, (st), (cmp))
197f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_dup(st) SKM_sk_dup(ACCESS_DESCRIPTION, st)
198f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (free_func))
199f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_shift(st) SKM_sk_shift(ACCESS_DESCRIPTION, (st))
200f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_pop(st) SKM_sk_pop(ACCESS_DESCRIPTION, (st))
201f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_sort(st) SKM_sk_sort(ACCESS_DESCRIPTION, (st))
202f5b1c8a1SJohn Marino #define sk_ACCESS_DESCRIPTION_is_sorted(st) SKM_sk_is_sorted(ACCESS_DESCRIPTION, (st))
203f5b1c8a1SJohn Marino 
204f5b1c8a1SJohn Marino #define sk_ASIdOrRange_new(cmp) SKM_sk_new(ASIdOrRange, (cmp))
205f5b1c8a1SJohn Marino #define sk_ASIdOrRange_new_null() SKM_sk_new_null(ASIdOrRange)
206f5b1c8a1SJohn Marino #define sk_ASIdOrRange_free(st) SKM_sk_free(ASIdOrRange, (st))
207f5b1c8a1SJohn Marino #define sk_ASIdOrRange_num(st) SKM_sk_num(ASIdOrRange, (st))
208f5b1c8a1SJohn Marino #define sk_ASIdOrRange_value(st, i) SKM_sk_value(ASIdOrRange, (st), (i))
209f5b1c8a1SJohn Marino #define sk_ASIdOrRange_set(st, i, val) SKM_sk_set(ASIdOrRange, (st), (i), (val))
210f5b1c8a1SJohn Marino #define sk_ASIdOrRange_zero(st) SKM_sk_zero(ASIdOrRange, (st))
211f5b1c8a1SJohn Marino #define sk_ASIdOrRange_push(st, val) SKM_sk_push(ASIdOrRange, (st), (val))
212f5b1c8a1SJohn Marino #define sk_ASIdOrRange_unshift(st, val) SKM_sk_unshift(ASIdOrRange, (st), (val))
213f5b1c8a1SJohn Marino #define sk_ASIdOrRange_find(st, val) SKM_sk_find(ASIdOrRange, (st), (val))
214f5b1c8a1SJohn Marino #define sk_ASIdOrRange_find_ex(st, val) SKM_sk_find_ex(ASIdOrRange, (st), (val))
215f5b1c8a1SJohn Marino #define sk_ASIdOrRange_delete(st, i) SKM_sk_delete(ASIdOrRange, (st), (i))
216f5b1c8a1SJohn Marino #define sk_ASIdOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASIdOrRange, (st), (ptr))
217f5b1c8a1SJohn Marino #define sk_ASIdOrRange_insert(st, val, i) SKM_sk_insert(ASIdOrRange, (st), (val), (i))
218f5b1c8a1SJohn Marino #define sk_ASIdOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASIdOrRange, (st), (cmp))
219f5b1c8a1SJohn Marino #define sk_ASIdOrRange_dup(st) SKM_sk_dup(ASIdOrRange, st)
220f5b1c8a1SJohn Marino #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func))
221f5b1c8a1SJohn Marino #define sk_ASIdOrRange_shift(st) SKM_sk_shift(ASIdOrRange, (st))
222f5b1c8a1SJohn Marino #define sk_ASIdOrRange_pop(st) SKM_sk_pop(ASIdOrRange, (st))
223f5b1c8a1SJohn Marino #define sk_ASIdOrRange_sort(st) SKM_sk_sort(ASIdOrRange, (st))
224f5b1c8a1SJohn Marino #define sk_ASIdOrRange_is_sorted(st) SKM_sk_is_sorted(ASIdOrRange, (st))
225f5b1c8a1SJohn Marino 
226f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_new(cmp) SKM_sk_new(ASN1_GENERALSTRING, (cmp))
227f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_new_null() SKM_sk_new_null(ASN1_GENERALSTRING)
228f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_free(st) SKM_sk_free(ASN1_GENERALSTRING, (st))
229f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_num(st) SKM_sk_num(ASN1_GENERALSTRING, (st))
230f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_value(st, i) SKM_sk_value(ASN1_GENERALSTRING, (st), (i))
231f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_set(st, i, val) SKM_sk_set(ASN1_GENERALSTRING, (st), (i), (val))
232f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_zero(st) SKM_sk_zero(ASN1_GENERALSTRING, (st))
233f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_push(st, val) SKM_sk_push(ASN1_GENERALSTRING, (st), (val))
234f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_unshift(st, val) SKM_sk_unshift(ASN1_GENERALSTRING, (st), (val))
235f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_find(st, val) SKM_sk_find(ASN1_GENERALSTRING, (st), (val))
236f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_find_ex(st, val) SKM_sk_find_ex(ASN1_GENERALSTRING, (st), (val))
237f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_delete(st, i) SKM_sk_delete(ASN1_GENERALSTRING, (st), (i))
238f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_GENERALSTRING, (st), (ptr))
239f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_insert(st, val, i) SKM_sk_insert(ASN1_GENERALSTRING, (st), (val), (i))
240f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_GENERALSTRING, (st), (cmp))
241f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_dup(st) SKM_sk_dup(ASN1_GENERALSTRING, st)
242f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_pop_free(st, free_func) SKM_sk_pop_free(ASN1_GENERALSTRING, (st), (free_func))
243f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_shift(st) SKM_sk_shift(ASN1_GENERALSTRING, (st))
244f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_pop(st) SKM_sk_pop(ASN1_GENERALSTRING, (st))
245f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_sort(st) SKM_sk_sort(ASN1_GENERALSTRING, (st))
246f5b1c8a1SJohn Marino #define sk_ASN1_GENERALSTRING_is_sorted(st) SKM_sk_is_sorted(ASN1_GENERALSTRING, (st))
247f5b1c8a1SJohn Marino 
248f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_new(cmp) SKM_sk_new(ASN1_INTEGER, (cmp))
249f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_new_null() SKM_sk_new_null(ASN1_INTEGER)
250f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_free(st) SKM_sk_free(ASN1_INTEGER, (st))
251f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_num(st) SKM_sk_num(ASN1_INTEGER, (st))
252f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_value(st, i) SKM_sk_value(ASN1_INTEGER, (st), (i))
253f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_set(st, i, val) SKM_sk_set(ASN1_INTEGER, (st), (i), (val))
254f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_zero(st) SKM_sk_zero(ASN1_INTEGER, (st))
255f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_push(st, val) SKM_sk_push(ASN1_INTEGER, (st), (val))
256f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_unshift(st, val) SKM_sk_unshift(ASN1_INTEGER, (st), (val))
257f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_find(st, val) SKM_sk_find(ASN1_INTEGER, (st), (val))
258f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_find_ex(st, val) SKM_sk_find_ex(ASN1_INTEGER, (st), (val))
259f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_delete(st, i) SKM_sk_delete(ASN1_INTEGER, (st), (i))
260f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_INTEGER, (st), (ptr))
261f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_insert(st, val, i) SKM_sk_insert(ASN1_INTEGER, (st), (val), (i))
262f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_INTEGER, (st), (cmp))
263f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_dup(st) SKM_sk_dup(ASN1_INTEGER, st)
264f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_pop_free(st, free_func) SKM_sk_pop_free(ASN1_INTEGER, (st), (free_func))
265f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_shift(st) SKM_sk_shift(ASN1_INTEGER, (st))
266f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_pop(st) SKM_sk_pop(ASN1_INTEGER, (st))
267f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_sort(st) SKM_sk_sort(ASN1_INTEGER, (st))
268f5b1c8a1SJohn Marino #define sk_ASN1_INTEGER_is_sorted(st) SKM_sk_is_sorted(ASN1_INTEGER, (st))
269f5b1c8a1SJohn Marino 
270f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_new(cmp) SKM_sk_new(ASN1_OBJECT, (cmp))
271f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_new_null() SKM_sk_new_null(ASN1_OBJECT)
272f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_free(st) SKM_sk_free(ASN1_OBJECT, (st))
273f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_num(st) SKM_sk_num(ASN1_OBJECT, (st))
274f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_value(st, i) SKM_sk_value(ASN1_OBJECT, (st), (i))
275f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_set(st, i, val) SKM_sk_set(ASN1_OBJECT, (st), (i), (val))
276f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_zero(st) SKM_sk_zero(ASN1_OBJECT, (st))
277f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_push(st, val) SKM_sk_push(ASN1_OBJECT, (st), (val))
278f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_unshift(st, val) SKM_sk_unshift(ASN1_OBJECT, (st), (val))
279f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_find(st, val) SKM_sk_find(ASN1_OBJECT, (st), (val))
280f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_find_ex(st, val) SKM_sk_find_ex(ASN1_OBJECT, (st), (val))
281f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_delete(st, i) SKM_sk_delete(ASN1_OBJECT, (st), (i))
282f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_OBJECT, (st), (ptr))
283f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_insert(st, val, i) SKM_sk_insert(ASN1_OBJECT, (st), (val), (i))
284f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_OBJECT, (st), (cmp))
285f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_dup(st) SKM_sk_dup(ASN1_OBJECT, st)
286f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(ASN1_OBJECT, (st), (free_func))
287f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_shift(st) SKM_sk_shift(ASN1_OBJECT, (st))
288f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_pop(st) SKM_sk_pop(ASN1_OBJECT, (st))
289f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_sort(st) SKM_sk_sort(ASN1_OBJECT, (st))
290f5b1c8a1SJohn Marino #define sk_ASN1_OBJECT_is_sorted(st) SKM_sk_is_sorted(ASN1_OBJECT, (st))
291f5b1c8a1SJohn Marino 
292f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_new(cmp) SKM_sk_new(ASN1_STRING_TABLE, (cmp))
293f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_new_null() SKM_sk_new_null(ASN1_STRING_TABLE)
294f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_free(st) SKM_sk_free(ASN1_STRING_TABLE, (st))
295f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_num(st) SKM_sk_num(ASN1_STRING_TABLE, (st))
296f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_value(st, i) SKM_sk_value(ASN1_STRING_TABLE, (st), (i))
297f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_set(st, i, val) SKM_sk_set(ASN1_STRING_TABLE, (st), (i), (val))
298f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_zero(st) SKM_sk_zero(ASN1_STRING_TABLE, (st))
299f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_push(st, val) SKM_sk_push(ASN1_STRING_TABLE, (st), (val))
300f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_unshift(st, val) SKM_sk_unshift(ASN1_STRING_TABLE, (st), (val))
301f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_find(st, val) SKM_sk_find(ASN1_STRING_TABLE, (st), (val))
302f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_find_ex(st, val) SKM_sk_find_ex(ASN1_STRING_TABLE, (st), (val))
303f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_delete(st, i) SKM_sk_delete(ASN1_STRING_TABLE, (st), (i))
304f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_STRING_TABLE, (st), (ptr))
305f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_insert(st, val, i) SKM_sk_insert(ASN1_STRING_TABLE, (st), (val), (i))
306f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_STRING_TABLE, (st), (cmp))
307f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_dup(st) SKM_sk_dup(ASN1_STRING_TABLE, st)
308f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_STRING_TABLE, (st), (free_func))
309f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_shift(st) SKM_sk_shift(ASN1_STRING_TABLE, (st))
310f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_pop(st) SKM_sk_pop(ASN1_STRING_TABLE, (st))
311f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_sort(st) SKM_sk_sort(ASN1_STRING_TABLE, (st))
312f5b1c8a1SJohn Marino #define sk_ASN1_STRING_TABLE_is_sorted(st) SKM_sk_is_sorted(ASN1_STRING_TABLE, (st))
313f5b1c8a1SJohn Marino 
314f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_new(cmp) SKM_sk_new(ASN1_TYPE, (cmp))
315f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_new_null() SKM_sk_new_null(ASN1_TYPE)
316f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_free(st) SKM_sk_free(ASN1_TYPE, (st))
317f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_num(st) SKM_sk_num(ASN1_TYPE, (st))
318f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_value(st, i) SKM_sk_value(ASN1_TYPE, (st), (i))
319f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_set(st, i, val) SKM_sk_set(ASN1_TYPE, (st), (i), (val))
320f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_zero(st) SKM_sk_zero(ASN1_TYPE, (st))
321f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_push(st, val) SKM_sk_push(ASN1_TYPE, (st), (val))
322f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_unshift(st, val) SKM_sk_unshift(ASN1_TYPE, (st), (val))
323f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_find(st, val) SKM_sk_find(ASN1_TYPE, (st), (val))
324f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_find_ex(st, val) SKM_sk_find_ex(ASN1_TYPE, (st), (val))
325f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_delete(st, i) SKM_sk_delete(ASN1_TYPE, (st), (i))
326f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_TYPE, (st), (ptr))
327f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_insert(st, val, i) SKM_sk_insert(ASN1_TYPE, (st), (val), (i))
328f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_TYPE, (st), (cmp))
329f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_dup(st) SKM_sk_dup(ASN1_TYPE, st)
330f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_TYPE, (st), (free_func))
331f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_shift(st) SKM_sk_shift(ASN1_TYPE, (st))
332f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_pop(st) SKM_sk_pop(ASN1_TYPE, (st))
333f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_sort(st) SKM_sk_sort(ASN1_TYPE, (st))
334f5b1c8a1SJohn Marino #define sk_ASN1_TYPE_is_sorted(st) SKM_sk_is_sorted(ASN1_TYPE, (st))
335f5b1c8a1SJohn Marino 
336f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_new(cmp) SKM_sk_new(ASN1_UTF8STRING, (cmp))
337f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_new_null() SKM_sk_new_null(ASN1_UTF8STRING)
338f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_free(st) SKM_sk_free(ASN1_UTF8STRING, (st))
339f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_num(st) SKM_sk_num(ASN1_UTF8STRING, (st))
340f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_value(st, i) SKM_sk_value(ASN1_UTF8STRING, (st), (i))
341f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_set(st, i, val) SKM_sk_set(ASN1_UTF8STRING, (st), (i), (val))
342f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_zero(st) SKM_sk_zero(ASN1_UTF8STRING, (st))
343f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_push(st, val) SKM_sk_push(ASN1_UTF8STRING, (st), (val))
344f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_unshift(st, val) SKM_sk_unshift(ASN1_UTF8STRING, (st), (val))
345f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_find(st, val) SKM_sk_find(ASN1_UTF8STRING, (st), (val))
346f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_find_ex(st, val) SKM_sk_find_ex(ASN1_UTF8STRING, (st), (val))
347f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_delete(st, i) SKM_sk_delete(ASN1_UTF8STRING, (st), (i))
348f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_UTF8STRING, (st), (ptr))
349f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_insert(st, val, i) SKM_sk_insert(ASN1_UTF8STRING, (st), (val), (i))
350f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_UTF8STRING, (st), (cmp))
351f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_dup(st) SKM_sk_dup(ASN1_UTF8STRING, st)
352f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_pop_free(st, free_func) SKM_sk_pop_free(ASN1_UTF8STRING, (st), (free_func))
353f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_shift(st) SKM_sk_shift(ASN1_UTF8STRING, (st))
354f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_pop(st) SKM_sk_pop(ASN1_UTF8STRING, (st))
355f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_sort(st) SKM_sk_sort(ASN1_UTF8STRING, (st))
356f5b1c8a1SJohn Marino #define sk_ASN1_UTF8STRING_is_sorted(st) SKM_sk_is_sorted(ASN1_UTF8STRING, (st))
357f5b1c8a1SJohn Marino 
358f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_new(cmp) SKM_sk_new(ASN1_VALUE, (cmp))
359f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_new_null() SKM_sk_new_null(ASN1_VALUE)
360f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_free(st) SKM_sk_free(ASN1_VALUE, (st))
361f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_num(st) SKM_sk_num(ASN1_VALUE, (st))
362f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_value(st, i) SKM_sk_value(ASN1_VALUE, (st), (i))
363f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_set(st, i, val) SKM_sk_set(ASN1_VALUE, (st), (i), (val))
364f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_zero(st) SKM_sk_zero(ASN1_VALUE, (st))
365f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_push(st, val) SKM_sk_push(ASN1_VALUE, (st), (val))
366f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_unshift(st, val) SKM_sk_unshift(ASN1_VALUE, (st), (val))
367f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_find(st, val) SKM_sk_find(ASN1_VALUE, (st), (val))
368f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_find_ex(st, val) SKM_sk_find_ex(ASN1_VALUE, (st), (val))
369f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_delete(st, i) SKM_sk_delete(ASN1_VALUE, (st), (i))
370f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_VALUE, (st), (ptr))
371f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_insert(st, val, i) SKM_sk_insert(ASN1_VALUE, (st), (val), (i))
372f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_VALUE, (st), (cmp))
373f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_dup(st) SKM_sk_dup(ASN1_VALUE, st)
374f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_VALUE, (st), (free_func))
375f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_shift(st) SKM_sk_shift(ASN1_VALUE, (st))
376f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_pop(st) SKM_sk_pop(ASN1_VALUE, (st))
377f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_sort(st) SKM_sk_sort(ASN1_VALUE, (st))
378f5b1c8a1SJohn Marino #define sk_ASN1_VALUE_is_sorted(st) SKM_sk_is_sorted(ASN1_VALUE, (st))
379f5b1c8a1SJohn Marino 
380f5b1c8a1SJohn Marino #define sk_BIO_new(cmp) SKM_sk_new(BIO, (cmp))
381f5b1c8a1SJohn Marino #define sk_BIO_new_null() SKM_sk_new_null(BIO)
382f5b1c8a1SJohn Marino #define sk_BIO_free(st) SKM_sk_free(BIO, (st))
383f5b1c8a1SJohn Marino #define sk_BIO_num(st) SKM_sk_num(BIO, (st))
384f5b1c8a1SJohn Marino #define sk_BIO_value(st, i) SKM_sk_value(BIO, (st), (i))
385f5b1c8a1SJohn Marino #define sk_BIO_set(st, i, val) SKM_sk_set(BIO, (st), (i), (val))
386f5b1c8a1SJohn Marino #define sk_BIO_zero(st) SKM_sk_zero(BIO, (st))
387f5b1c8a1SJohn Marino #define sk_BIO_push(st, val) SKM_sk_push(BIO, (st), (val))
388f5b1c8a1SJohn Marino #define sk_BIO_unshift(st, val) SKM_sk_unshift(BIO, (st), (val))
389f5b1c8a1SJohn Marino #define sk_BIO_find(st, val) SKM_sk_find(BIO, (st), (val))
390f5b1c8a1SJohn Marino #define sk_BIO_find_ex(st, val) SKM_sk_find_ex(BIO, (st), (val))
391f5b1c8a1SJohn Marino #define sk_BIO_delete(st, i) SKM_sk_delete(BIO, (st), (i))
392f5b1c8a1SJohn Marino #define sk_BIO_delete_ptr(st, ptr) SKM_sk_delete_ptr(BIO, (st), (ptr))
393f5b1c8a1SJohn Marino #define sk_BIO_insert(st, val, i) SKM_sk_insert(BIO, (st), (val), (i))
394f5b1c8a1SJohn Marino #define sk_BIO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BIO, (st), (cmp))
395f5b1c8a1SJohn Marino #define sk_BIO_dup(st) SKM_sk_dup(BIO, st)
396f5b1c8a1SJohn Marino #define sk_BIO_pop_free(st, free_func) SKM_sk_pop_free(BIO, (st), (free_func))
397f5b1c8a1SJohn Marino #define sk_BIO_shift(st) SKM_sk_shift(BIO, (st))
398f5b1c8a1SJohn Marino #define sk_BIO_pop(st) SKM_sk_pop(BIO, (st))
399f5b1c8a1SJohn Marino #define sk_BIO_sort(st) SKM_sk_sort(BIO, (st))
400f5b1c8a1SJohn Marino #define sk_BIO_is_sorted(st) SKM_sk_is_sorted(BIO, (st))
401f5b1c8a1SJohn Marino 
402f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_new(cmp) SKM_sk_new(BY_DIR_ENTRY, (cmp))
403f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_new_null() SKM_sk_new_null(BY_DIR_ENTRY)
404f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_free(st) SKM_sk_free(BY_DIR_ENTRY, (st))
405f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_num(st) SKM_sk_num(BY_DIR_ENTRY, (st))
406f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_value(st, i) SKM_sk_value(BY_DIR_ENTRY, (st), (i))
407f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_set(st, i, val) SKM_sk_set(BY_DIR_ENTRY, (st), (i), (val))
408f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_zero(st) SKM_sk_zero(BY_DIR_ENTRY, (st))
409f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_push(st, val) SKM_sk_push(BY_DIR_ENTRY, (st), (val))
410f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_unshift(st, val) SKM_sk_unshift(BY_DIR_ENTRY, (st), (val))
411f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_find(st, val) SKM_sk_find(BY_DIR_ENTRY, (st), (val))
412f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_find_ex(st, val) SKM_sk_find_ex(BY_DIR_ENTRY, (st), (val))
413f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_delete(st, i) SKM_sk_delete(BY_DIR_ENTRY, (st), (i))
414f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(BY_DIR_ENTRY, (st), (ptr))
415f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_insert(st, val, i) SKM_sk_insert(BY_DIR_ENTRY, (st), (val), (i))
416f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BY_DIR_ENTRY, (st), (cmp))
417f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_dup(st) SKM_sk_dup(BY_DIR_ENTRY, st)
418f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(BY_DIR_ENTRY, (st), (free_func))
419f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_shift(st) SKM_sk_shift(BY_DIR_ENTRY, (st))
420f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_pop(st) SKM_sk_pop(BY_DIR_ENTRY, (st))
421f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_sort(st) SKM_sk_sort(BY_DIR_ENTRY, (st))
422f5b1c8a1SJohn Marino #define sk_BY_DIR_ENTRY_is_sorted(st) SKM_sk_is_sorted(BY_DIR_ENTRY, (st))
423f5b1c8a1SJohn Marino 
424f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_new(cmp) SKM_sk_new(BY_DIR_HASH, (cmp))
425f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_new_null() SKM_sk_new_null(BY_DIR_HASH)
426f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_free(st) SKM_sk_free(BY_DIR_HASH, (st))
427f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_num(st) SKM_sk_num(BY_DIR_HASH, (st))
428f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_value(st, i) SKM_sk_value(BY_DIR_HASH, (st), (i))
429f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_set(st, i, val) SKM_sk_set(BY_DIR_HASH, (st), (i), (val))
430f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_zero(st) SKM_sk_zero(BY_DIR_HASH, (st))
431f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_push(st, val) SKM_sk_push(BY_DIR_HASH, (st), (val))
432f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_unshift(st, val) SKM_sk_unshift(BY_DIR_HASH, (st), (val))
433f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_find(st, val) SKM_sk_find(BY_DIR_HASH, (st), (val))
434f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_find_ex(st, val) SKM_sk_find_ex(BY_DIR_HASH, (st), (val))
435f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_delete(st, i) SKM_sk_delete(BY_DIR_HASH, (st), (i))
436f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_delete_ptr(st, ptr) SKM_sk_delete_ptr(BY_DIR_HASH, (st), (ptr))
437f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_insert(st, val, i) SKM_sk_insert(BY_DIR_HASH, (st), (val), (i))
438f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BY_DIR_HASH, (st), (cmp))
439f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_dup(st) SKM_sk_dup(BY_DIR_HASH, st)
440f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_pop_free(st, free_func) SKM_sk_pop_free(BY_DIR_HASH, (st), (free_func))
441f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_shift(st) SKM_sk_shift(BY_DIR_HASH, (st))
442f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_pop(st) SKM_sk_pop(BY_DIR_HASH, (st))
443f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_sort(st) SKM_sk_sort(BY_DIR_HASH, (st))
444f5b1c8a1SJohn Marino #define sk_BY_DIR_HASH_is_sorted(st) SKM_sk_is_sorted(BY_DIR_HASH, (st))
445f5b1c8a1SJohn Marino 
446cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_new(cmp) SKM_sk_new(CMS_CertificateChoices, (cmp))
447cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_new_null() SKM_sk_new_null(CMS_CertificateChoices)
448cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_free(st) SKM_sk_free(CMS_CertificateChoices, (st))
449cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_num(st) SKM_sk_num(CMS_CertificateChoices, (st))
450cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_value(st, i) SKM_sk_value(CMS_CertificateChoices, (st), (i))
451cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_set(st, i, val) SKM_sk_set(CMS_CertificateChoices, (st), (i), (val))
452cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_zero(st) SKM_sk_zero(CMS_CertificateChoices, (st))
453cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_push(st, val) SKM_sk_push(CMS_CertificateChoices, (st), (val))
454cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_unshift(st, val) SKM_sk_unshift(CMS_CertificateChoices, (st), (val))
455cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_find(st, val) SKM_sk_find(CMS_CertificateChoices, (st), (val))
456cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_find_ex(st, val) SKM_sk_find_ex(CMS_CertificateChoices, (st), (val))
457cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_delete(st, i) SKM_sk_delete(CMS_CertificateChoices, (st), (i))
458cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_CertificateChoices, (st), (ptr))
459cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_insert(st, val, i) SKM_sk_insert(CMS_CertificateChoices, (st), (val), (i))
460cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_CertificateChoices, (st), (cmp))
461cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_dup(st) SKM_sk_dup(CMS_CertificateChoices, st)
462cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_pop_free(st, free_func) SKM_sk_pop_free(CMS_CertificateChoices, (st), (free_func))
463cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_shift(st) SKM_sk_shift(CMS_CertificateChoices, (st))
464cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_pop(st) SKM_sk_pop(CMS_CertificateChoices, (st))
465cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_sort(st) SKM_sk_sort(CMS_CertificateChoices, (st))
466cca6fc52SDaniel Fojt #define sk_CMS_CertificateChoices_is_sorted(st) SKM_sk_is_sorted(CMS_CertificateChoices, (st))
467cca6fc52SDaniel Fojt 
468cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_new(cmp) SKM_sk_new(CMS_RecipientEncryptedKey, (cmp))
469cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_new_null() SKM_sk_new_null(CMS_RecipientEncryptedKey)
470cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_free(st) SKM_sk_free(CMS_RecipientEncryptedKey, (st))
471cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_num(st) SKM_sk_num(CMS_RecipientEncryptedKey, (st))
472cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_value(st, i) SKM_sk_value(CMS_RecipientEncryptedKey, (st), (i))
473cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_set(st, i, val) SKM_sk_set(CMS_RecipientEncryptedKey, (st), (i), (val))
474cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_zero(st) SKM_sk_zero(CMS_RecipientEncryptedKey, (st))
475cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_push(st, val) SKM_sk_push(CMS_RecipientEncryptedKey, (st), (val))
476cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_unshift(st, val) SKM_sk_unshift(CMS_RecipientEncryptedKey, (st), (val))
477cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_find(st, val) SKM_sk_find(CMS_RecipientEncryptedKey, (st), (val))
478cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_find_ex(st, val) SKM_sk_find_ex(CMS_RecipientEncryptedKey, (st), (val))
479cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_delete(st, i) SKM_sk_delete(CMS_RecipientEncryptedKey, (st), (i))
480cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RecipientEncryptedKey, (st), (ptr))
481cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_insert(st, val, i) SKM_sk_insert(CMS_RecipientEncryptedKey, (st), (val), (i))
482cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RecipientEncryptedKey, (st), (cmp))
483cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_dup(st) SKM_sk_dup(CMS_RecipientEncryptedKey, st)
484cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_pop_free(st, free_func) SKM_sk_pop_free(CMS_RecipientEncryptedKey, (st), (free_func))
485cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_shift(st) SKM_sk_shift(CMS_RecipientEncryptedKey, (st))
486cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_pop(st) SKM_sk_pop(CMS_RecipientEncryptedKey, (st))
487cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_sort(st) SKM_sk_sort(CMS_RecipientEncryptedKey, (st))
488cca6fc52SDaniel Fojt #define sk_CMS_RecipientEncryptedKey_is_sorted(st) SKM_sk_is_sorted(CMS_RecipientEncryptedKey, (st))
489cca6fc52SDaniel Fojt 
490cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_new(cmp) SKM_sk_new(CMS_RecipientInfo, (cmp))
491cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_new_null() SKM_sk_new_null(CMS_RecipientInfo)
492cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_free(st) SKM_sk_free(CMS_RecipientInfo, (st))
493cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_num(st) SKM_sk_num(CMS_RecipientInfo, (st))
494cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_value(st, i) SKM_sk_value(CMS_RecipientInfo, (st), (i))
495cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_set(st, i, val) SKM_sk_set(CMS_RecipientInfo, (st), (i), (val))
496cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_zero(st) SKM_sk_zero(CMS_RecipientInfo, (st))
497cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_push(st, val) SKM_sk_push(CMS_RecipientInfo, (st), (val))
498cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_unshift(st, val) SKM_sk_unshift(CMS_RecipientInfo, (st), (val))
499cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_find(st, val) SKM_sk_find(CMS_RecipientInfo, (st), (val))
500cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_find_ex(st, val) SKM_sk_find_ex(CMS_RecipientInfo, (st), (val))
501cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_delete(st, i) SKM_sk_delete(CMS_RecipientInfo, (st), (i))
502cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RecipientInfo, (st), (ptr))
503cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_insert(st, val, i) SKM_sk_insert(CMS_RecipientInfo, (st), (val), (i))
504cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RecipientInfo, (st), (cmp))
505cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_dup(st) SKM_sk_dup(CMS_RecipientInfo, st)
506cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_RecipientInfo, (st), (free_func))
507cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_shift(st) SKM_sk_shift(CMS_RecipientInfo, (st))
508cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_pop(st) SKM_sk_pop(CMS_RecipientInfo, (st))
509cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_sort(st) SKM_sk_sort(CMS_RecipientInfo, (st))
510cca6fc52SDaniel Fojt #define sk_CMS_RecipientInfo_is_sorted(st) SKM_sk_is_sorted(CMS_RecipientInfo, (st))
511cca6fc52SDaniel Fojt 
512cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_new(cmp) SKM_sk_new(CMS_RevocationInfoChoice, (cmp))
513cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_new_null() SKM_sk_new_null(CMS_RevocationInfoChoice)
514cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_free(st) SKM_sk_free(CMS_RevocationInfoChoice, (st))
515cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_num(st) SKM_sk_num(CMS_RevocationInfoChoice, (st))
516cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_value(st, i) SKM_sk_value(CMS_RevocationInfoChoice, (st), (i))
517cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_set(st, i, val) SKM_sk_set(CMS_RevocationInfoChoice, (st), (i), (val))
518cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_zero(st) SKM_sk_zero(CMS_RevocationInfoChoice, (st))
519cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_push(st, val) SKM_sk_push(CMS_RevocationInfoChoice, (st), (val))
520cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_unshift(st, val) SKM_sk_unshift(CMS_RevocationInfoChoice, (st), (val))
521cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_find(st, val) SKM_sk_find(CMS_RevocationInfoChoice, (st), (val))
522cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_find_ex(st, val) SKM_sk_find_ex(CMS_RevocationInfoChoice, (st), (val))
523cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_delete(st, i) SKM_sk_delete(CMS_RevocationInfoChoice, (st), (i))
524cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RevocationInfoChoice, (st), (ptr))
525cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_insert(st, val, i) SKM_sk_insert(CMS_RevocationInfoChoice, (st), (val), (i))
526cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RevocationInfoChoice, (st), (cmp))
527cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_dup(st) SKM_sk_dup(CMS_RevocationInfoChoice, st)
528cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_pop_free(st, free_func) SKM_sk_pop_free(CMS_RevocationInfoChoice, (st), (free_func))
529cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_shift(st) SKM_sk_shift(CMS_RevocationInfoChoice, (st))
530cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_pop(st) SKM_sk_pop(CMS_RevocationInfoChoice, (st))
531cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_sort(st) SKM_sk_sort(CMS_RevocationInfoChoice, (st))
532cca6fc52SDaniel Fojt #define sk_CMS_RevocationInfoChoice_is_sorted(st) SKM_sk_is_sorted(CMS_RevocationInfoChoice, (st))
533cca6fc52SDaniel Fojt 
534cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_new(cmp) SKM_sk_new(CMS_SignerInfo, (cmp))
535cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_new_null() SKM_sk_new_null(CMS_SignerInfo)
536cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_free(st) SKM_sk_free(CMS_SignerInfo, (st))
537cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_num(st) SKM_sk_num(CMS_SignerInfo, (st))
538cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_value(st, i) SKM_sk_value(CMS_SignerInfo, (st), (i))
539cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_set(st, i, val) SKM_sk_set(CMS_SignerInfo, (st), (i), (val))
540cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_zero(st) SKM_sk_zero(CMS_SignerInfo, (st))
541cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_push(st, val) SKM_sk_push(CMS_SignerInfo, (st), (val))
542cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_unshift(st, val) SKM_sk_unshift(CMS_SignerInfo, (st), (val))
543cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_find(st, val) SKM_sk_find(CMS_SignerInfo, (st), (val))
544cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_find_ex(st, val) SKM_sk_find_ex(CMS_SignerInfo, (st), (val))
545cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_delete(st, i) SKM_sk_delete(CMS_SignerInfo, (st), (i))
546cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_SignerInfo, (st), (ptr))
547cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_insert(st, val, i) SKM_sk_insert(CMS_SignerInfo, (st), (val), (i))
548cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_SignerInfo, (st), (cmp))
549cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_dup(st) SKM_sk_dup(CMS_SignerInfo, st)
550cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_SignerInfo, (st), (free_func))
551cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_shift(st) SKM_sk_shift(CMS_SignerInfo, (st))
552cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_pop(st) SKM_sk_pop(CMS_SignerInfo, (st))
553cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_sort(st) SKM_sk_sort(CMS_SignerInfo, (st))
554cca6fc52SDaniel Fojt #define sk_CMS_SignerInfo_is_sorted(st) SKM_sk_is_sorted(CMS_SignerInfo, (st))
555cca6fc52SDaniel Fojt 
556f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_new(cmp) SKM_sk_new(CONF_IMODULE, (cmp))
557f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_new_null() SKM_sk_new_null(CONF_IMODULE)
558f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_free(st) SKM_sk_free(CONF_IMODULE, (st))
559f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_num(st) SKM_sk_num(CONF_IMODULE, (st))
560f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_value(st, i) SKM_sk_value(CONF_IMODULE, (st), (i))
561f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_set(st, i, val) SKM_sk_set(CONF_IMODULE, (st), (i), (val))
562f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_zero(st) SKM_sk_zero(CONF_IMODULE, (st))
563f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_push(st, val) SKM_sk_push(CONF_IMODULE, (st), (val))
564f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_unshift(st, val) SKM_sk_unshift(CONF_IMODULE, (st), (val))
565f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_find(st, val) SKM_sk_find(CONF_IMODULE, (st), (val))
566f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_find_ex(st, val) SKM_sk_find_ex(CONF_IMODULE, (st), (val))
567f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_delete(st, i) SKM_sk_delete(CONF_IMODULE, (st), (i))
568f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_IMODULE, (st), (ptr))
569f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_insert(st, val, i) SKM_sk_insert(CONF_IMODULE, (st), (val), (i))
570f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_IMODULE, (st), (cmp))
571f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_dup(st) SKM_sk_dup(CONF_IMODULE, st)
572f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_IMODULE, (st), (free_func))
573f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_shift(st) SKM_sk_shift(CONF_IMODULE, (st))
574f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_pop(st) SKM_sk_pop(CONF_IMODULE, (st))
575f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_sort(st) SKM_sk_sort(CONF_IMODULE, (st))
576f5b1c8a1SJohn Marino #define sk_CONF_IMODULE_is_sorted(st) SKM_sk_is_sorted(CONF_IMODULE, (st))
577f5b1c8a1SJohn Marino 
578f5b1c8a1SJohn Marino #define sk_CONF_MODULE_new(cmp) SKM_sk_new(CONF_MODULE, (cmp))
579f5b1c8a1SJohn Marino #define sk_CONF_MODULE_new_null() SKM_sk_new_null(CONF_MODULE)
580f5b1c8a1SJohn Marino #define sk_CONF_MODULE_free(st) SKM_sk_free(CONF_MODULE, (st))
581f5b1c8a1SJohn Marino #define sk_CONF_MODULE_num(st) SKM_sk_num(CONF_MODULE, (st))
582f5b1c8a1SJohn Marino #define sk_CONF_MODULE_value(st, i) SKM_sk_value(CONF_MODULE, (st), (i))
583f5b1c8a1SJohn Marino #define sk_CONF_MODULE_set(st, i, val) SKM_sk_set(CONF_MODULE, (st), (i), (val))
584f5b1c8a1SJohn Marino #define sk_CONF_MODULE_zero(st) SKM_sk_zero(CONF_MODULE, (st))
585f5b1c8a1SJohn Marino #define sk_CONF_MODULE_push(st, val) SKM_sk_push(CONF_MODULE, (st), (val))
586f5b1c8a1SJohn Marino #define sk_CONF_MODULE_unshift(st, val) SKM_sk_unshift(CONF_MODULE, (st), (val))
587f5b1c8a1SJohn Marino #define sk_CONF_MODULE_find(st, val) SKM_sk_find(CONF_MODULE, (st), (val))
588f5b1c8a1SJohn Marino #define sk_CONF_MODULE_find_ex(st, val) SKM_sk_find_ex(CONF_MODULE, (st), (val))
589f5b1c8a1SJohn Marino #define sk_CONF_MODULE_delete(st, i) SKM_sk_delete(CONF_MODULE, (st), (i))
590f5b1c8a1SJohn Marino #define sk_CONF_MODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_MODULE, (st), (ptr))
591f5b1c8a1SJohn Marino #define sk_CONF_MODULE_insert(st, val, i) SKM_sk_insert(CONF_MODULE, (st), (val), (i))
592f5b1c8a1SJohn Marino #define sk_CONF_MODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_MODULE, (st), (cmp))
593f5b1c8a1SJohn Marino #define sk_CONF_MODULE_dup(st) SKM_sk_dup(CONF_MODULE, st)
594f5b1c8a1SJohn Marino #define sk_CONF_MODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_MODULE, (st), (free_func))
595f5b1c8a1SJohn Marino #define sk_CONF_MODULE_shift(st) SKM_sk_shift(CONF_MODULE, (st))
596f5b1c8a1SJohn Marino #define sk_CONF_MODULE_pop(st) SKM_sk_pop(CONF_MODULE, (st))
597f5b1c8a1SJohn Marino #define sk_CONF_MODULE_sort(st) SKM_sk_sort(CONF_MODULE, (st))
598f5b1c8a1SJohn Marino #define sk_CONF_MODULE_is_sorted(st) SKM_sk_is_sorted(CONF_MODULE, (st))
599f5b1c8a1SJohn Marino 
600f5b1c8a1SJohn Marino #define sk_CONF_VALUE_new(cmp) SKM_sk_new(CONF_VALUE, (cmp))
601f5b1c8a1SJohn Marino #define sk_CONF_VALUE_new_null() SKM_sk_new_null(CONF_VALUE)
602f5b1c8a1SJohn Marino #define sk_CONF_VALUE_free(st) SKM_sk_free(CONF_VALUE, (st))
603f5b1c8a1SJohn Marino #define sk_CONF_VALUE_num(st) SKM_sk_num(CONF_VALUE, (st))
604f5b1c8a1SJohn Marino #define sk_CONF_VALUE_value(st, i) SKM_sk_value(CONF_VALUE, (st), (i))
605f5b1c8a1SJohn Marino #define sk_CONF_VALUE_set(st, i, val) SKM_sk_set(CONF_VALUE, (st), (i), (val))
606f5b1c8a1SJohn Marino #define sk_CONF_VALUE_zero(st) SKM_sk_zero(CONF_VALUE, (st))
607f5b1c8a1SJohn Marino #define sk_CONF_VALUE_push(st, val) SKM_sk_push(CONF_VALUE, (st), (val))
608f5b1c8a1SJohn Marino #define sk_CONF_VALUE_unshift(st, val) SKM_sk_unshift(CONF_VALUE, (st), (val))
609f5b1c8a1SJohn Marino #define sk_CONF_VALUE_find(st, val) SKM_sk_find(CONF_VALUE, (st), (val))
610f5b1c8a1SJohn Marino #define sk_CONF_VALUE_find_ex(st, val) SKM_sk_find_ex(CONF_VALUE, (st), (val))
611f5b1c8a1SJohn Marino #define sk_CONF_VALUE_delete(st, i) SKM_sk_delete(CONF_VALUE, (st), (i))
612f5b1c8a1SJohn Marino #define sk_CONF_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_VALUE, (st), (ptr))
613f5b1c8a1SJohn Marino #define sk_CONF_VALUE_insert(st, val, i) SKM_sk_insert(CONF_VALUE, (st), (val), (i))
614f5b1c8a1SJohn Marino #define sk_CONF_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_VALUE, (st), (cmp))
615f5b1c8a1SJohn Marino #define sk_CONF_VALUE_dup(st) SKM_sk_dup(CONF_VALUE, st)
616f5b1c8a1SJohn Marino #define sk_CONF_VALUE_pop_free(st, free_func) SKM_sk_pop_free(CONF_VALUE, (st), (free_func))
617f5b1c8a1SJohn Marino #define sk_CONF_VALUE_shift(st) SKM_sk_shift(CONF_VALUE, (st))
618f5b1c8a1SJohn Marino #define sk_CONF_VALUE_pop(st) SKM_sk_pop(CONF_VALUE, (st))
619f5b1c8a1SJohn Marino #define sk_CONF_VALUE_sort(st) SKM_sk_sort(CONF_VALUE, (st))
620f5b1c8a1SJohn Marino #define sk_CONF_VALUE_is_sorted(st) SKM_sk_is_sorted(CONF_VALUE, (st))
621f5b1c8a1SJohn Marino 
622f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_new(cmp) SKM_sk_new(CRYPTO_EX_DATA_FUNCS, (cmp))
623f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_new_null() SKM_sk_new_null(CRYPTO_EX_DATA_FUNCS)
624f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_free(st) SKM_sk_free(CRYPTO_EX_DATA_FUNCS, (st))
625f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_num(st) SKM_sk_num(CRYPTO_EX_DATA_FUNCS, (st))
626f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_value(st, i) SKM_sk_value(CRYPTO_EX_DATA_FUNCS, (st), (i))
627f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_set(st, i, val) SKM_sk_set(CRYPTO_EX_DATA_FUNCS, (st), (i), (val))
628f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_zero(st) SKM_sk_zero(CRYPTO_EX_DATA_FUNCS, (st))
629f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_push(st, val) SKM_sk_push(CRYPTO_EX_DATA_FUNCS, (st), (val))
630f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_unshift(st, val) SKM_sk_unshift(CRYPTO_EX_DATA_FUNCS, (st), (val))
631f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_find(st, val) SKM_sk_find(CRYPTO_EX_DATA_FUNCS, (st), (val))
632f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_find_ex(st, val) SKM_sk_find_ex(CRYPTO_EX_DATA_FUNCS, (st), (val))
633f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_delete(st, i) SKM_sk_delete(CRYPTO_EX_DATA_FUNCS, (st), (i))
634f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_delete_ptr(st, ptr) SKM_sk_delete_ptr(CRYPTO_EX_DATA_FUNCS, (st), (ptr))
635f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_insert(st, val, i) SKM_sk_insert(CRYPTO_EX_DATA_FUNCS, (st), (val), (i))
636f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CRYPTO_EX_DATA_FUNCS, (st), (cmp))
637f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_dup(st) SKM_sk_dup(CRYPTO_EX_DATA_FUNCS, st)
638f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_pop_free(st, free_func) SKM_sk_pop_free(CRYPTO_EX_DATA_FUNCS, (st), (free_func))
639f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_shift(st) SKM_sk_shift(CRYPTO_EX_DATA_FUNCS, (st))
640f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_pop(st) SKM_sk_pop(CRYPTO_EX_DATA_FUNCS, (st))
641f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_sort(st) SKM_sk_sort(CRYPTO_EX_DATA_FUNCS, (st))
642f5b1c8a1SJohn Marino #define sk_CRYPTO_EX_DATA_FUNCS_is_sorted(st) SKM_sk_is_sorted(CRYPTO_EX_DATA_FUNCS, (st))
643f5b1c8a1SJohn Marino 
644f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_new(cmp) SKM_sk_new(CRYPTO_dynlock, (cmp))
645f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_new_null() SKM_sk_new_null(CRYPTO_dynlock)
646f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_free(st) SKM_sk_free(CRYPTO_dynlock, (st))
647f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_num(st) SKM_sk_num(CRYPTO_dynlock, (st))
648f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_value(st, i) SKM_sk_value(CRYPTO_dynlock, (st), (i))
649f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_set(st, i, val) SKM_sk_set(CRYPTO_dynlock, (st), (i), (val))
650f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_zero(st) SKM_sk_zero(CRYPTO_dynlock, (st))
651f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_push(st, val) SKM_sk_push(CRYPTO_dynlock, (st), (val))
652f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_unshift(st, val) SKM_sk_unshift(CRYPTO_dynlock, (st), (val))
653f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_find(st, val) SKM_sk_find(CRYPTO_dynlock, (st), (val))
654f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_find_ex(st, val) SKM_sk_find_ex(CRYPTO_dynlock, (st), (val))
655f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_delete(st, i) SKM_sk_delete(CRYPTO_dynlock, (st), (i))
656f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_delete_ptr(st, ptr) SKM_sk_delete_ptr(CRYPTO_dynlock, (st), (ptr))
657f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_insert(st, val, i) SKM_sk_insert(CRYPTO_dynlock, (st), (val), (i))
658f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CRYPTO_dynlock, (st), (cmp))
659f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_dup(st) SKM_sk_dup(CRYPTO_dynlock, st)
660f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_pop_free(st, free_func) SKM_sk_pop_free(CRYPTO_dynlock, (st), (free_func))
661f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_shift(st) SKM_sk_shift(CRYPTO_dynlock, (st))
662f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_pop(st) SKM_sk_pop(CRYPTO_dynlock, (st))
663f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_sort(st) SKM_sk_sort(CRYPTO_dynlock, (st))
664f5b1c8a1SJohn Marino #define sk_CRYPTO_dynlock_is_sorted(st) SKM_sk_is_sorted(CRYPTO_dynlock, (st))
665f5b1c8a1SJohn Marino 
666*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_new(cmp) SKM_sk_new(CTLOG, (cmp))
667*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_new_null() SKM_sk_new_null(CTLOG)
668*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_free(st) SKM_sk_free(CTLOG, (st))
669*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_num(st) SKM_sk_num(CTLOG, (st))
670*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_value(st, i) SKM_sk_value(CTLOG, (st), (i))
671*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_set(st, i, val) SKM_sk_set(CTLOG, (st), (i), (val))
672*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_zero(st) SKM_sk_zero(CTLOG, (st))
673*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_push(st, val) SKM_sk_push(CTLOG, (st), (val))
674*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_unshift(st, val) SKM_sk_unshift(CTLOG, (st), (val))
675*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_find(st, val) SKM_sk_find(CTLOG, (st), (val))
676*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_find_ex(st, val) SKM_sk_find_ex(CTLOG, (st), (val))
677*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_delete(st, i) SKM_sk_delete(CTLOG, (st), (i))
678*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_delete_ptr(st, ptr) SKM_sk_delete_ptr(CTLOG, (st), (ptr))
679*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_insert(st, val, i) SKM_sk_insert(CTLOG, (st), (val), (i))
680*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CTLOG, (st), (cmp))
681*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_dup(st) SKM_sk_dup(CTLOG, st)
682*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_pop_free(st, free_func) SKM_sk_pop_free(CTLOG, (st), (free_func))
683*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_shift(st) SKM_sk_shift(CTLOG, (st))
684*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_pop(st) SKM_sk_pop(CTLOG, (st))
685*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_sort(st) SKM_sk_sort(CTLOG, (st))
686*de0e0e4dSAntonio Huete Jimenez #define sk_CTLOG_is_sorted(st) SKM_sk_is_sorted(CTLOG, (st))
687*de0e0e4dSAntonio Huete Jimenez 
688f5b1c8a1SJohn Marino #define sk_DIST_POINT_new(cmp) SKM_sk_new(DIST_POINT, (cmp))
689f5b1c8a1SJohn Marino #define sk_DIST_POINT_new_null() SKM_sk_new_null(DIST_POINT)
690f5b1c8a1SJohn Marino #define sk_DIST_POINT_free(st) SKM_sk_free(DIST_POINT, (st))
691f5b1c8a1SJohn Marino #define sk_DIST_POINT_num(st) SKM_sk_num(DIST_POINT, (st))
692f5b1c8a1SJohn Marino #define sk_DIST_POINT_value(st, i) SKM_sk_value(DIST_POINT, (st), (i))
693f5b1c8a1SJohn Marino #define sk_DIST_POINT_set(st, i, val) SKM_sk_set(DIST_POINT, (st), (i), (val))
694f5b1c8a1SJohn Marino #define sk_DIST_POINT_zero(st) SKM_sk_zero(DIST_POINT, (st))
695f5b1c8a1SJohn Marino #define sk_DIST_POINT_push(st, val) SKM_sk_push(DIST_POINT, (st), (val))
696f5b1c8a1SJohn Marino #define sk_DIST_POINT_unshift(st, val) SKM_sk_unshift(DIST_POINT, (st), (val))
697f5b1c8a1SJohn Marino #define sk_DIST_POINT_find(st, val) SKM_sk_find(DIST_POINT, (st), (val))
698f5b1c8a1SJohn Marino #define sk_DIST_POINT_find_ex(st, val) SKM_sk_find_ex(DIST_POINT, (st), (val))
699f5b1c8a1SJohn Marino #define sk_DIST_POINT_delete(st, i) SKM_sk_delete(DIST_POINT, (st), (i))
700f5b1c8a1SJohn Marino #define sk_DIST_POINT_delete_ptr(st, ptr) SKM_sk_delete_ptr(DIST_POINT, (st), (ptr))
701f5b1c8a1SJohn Marino #define sk_DIST_POINT_insert(st, val, i) SKM_sk_insert(DIST_POINT, (st), (val), (i))
702f5b1c8a1SJohn Marino #define sk_DIST_POINT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(DIST_POINT, (st), (cmp))
703f5b1c8a1SJohn Marino #define sk_DIST_POINT_dup(st) SKM_sk_dup(DIST_POINT, st)
704f5b1c8a1SJohn Marino #define sk_DIST_POINT_pop_free(st, free_func) SKM_sk_pop_free(DIST_POINT, (st), (free_func))
705f5b1c8a1SJohn Marino #define sk_DIST_POINT_shift(st) SKM_sk_shift(DIST_POINT, (st))
706f5b1c8a1SJohn Marino #define sk_DIST_POINT_pop(st) SKM_sk_pop(DIST_POINT, (st))
707f5b1c8a1SJohn Marino #define sk_DIST_POINT_sort(st) SKM_sk_sort(DIST_POINT, (st))
708f5b1c8a1SJohn Marino #define sk_DIST_POINT_is_sorted(st) SKM_sk_is_sorted(DIST_POINT, (st))
709f5b1c8a1SJohn Marino 
710f5b1c8a1SJohn Marino #define sk_ENGINE_new(cmp) SKM_sk_new(ENGINE, (cmp))
711f5b1c8a1SJohn Marino #define sk_ENGINE_new_null() SKM_sk_new_null(ENGINE)
712f5b1c8a1SJohn Marino #define sk_ENGINE_free(st) SKM_sk_free(ENGINE, (st))
713f5b1c8a1SJohn Marino #define sk_ENGINE_num(st) SKM_sk_num(ENGINE, (st))
714f5b1c8a1SJohn Marino #define sk_ENGINE_value(st, i) SKM_sk_value(ENGINE, (st), (i))
715f5b1c8a1SJohn Marino #define sk_ENGINE_set(st, i, val) SKM_sk_set(ENGINE, (st), (i), (val))
716f5b1c8a1SJohn Marino #define sk_ENGINE_zero(st) SKM_sk_zero(ENGINE, (st))
717f5b1c8a1SJohn Marino #define sk_ENGINE_push(st, val) SKM_sk_push(ENGINE, (st), (val))
718f5b1c8a1SJohn Marino #define sk_ENGINE_unshift(st, val) SKM_sk_unshift(ENGINE, (st), (val))
719f5b1c8a1SJohn Marino #define sk_ENGINE_find(st, val) SKM_sk_find(ENGINE, (st), (val))
720f5b1c8a1SJohn Marino #define sk_ENGINE_find_ex(st, val) SKM_sk_find_ex(ENGINE, (st), (val))
721f5b1c8a1SJohn Marino #define sk_ENGINE_delete(st, i) SKM_sk_delete(ENGINE, (st), (i))
722f5b1c8a1SJohn Marino #define sk_ENGINE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ENGINE, (st), (ptr))
723f5b1c8a1SJohn Marino #define sk_ENGINE_insert(st, val, i) SKM_sk_insert(ENGINE, (st), (val), (i))
724f5b1c8a1SJohn Marino #define sk_ENGINE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ENGINE, (st), (cmp))
725f5b1c8a1SJohn Marino #define sk_ENGINE_dup(st) SKM_sk_dup(ENGINE, st)
726f5b1c8a1SJohn Marino #define sk_ENGINE_pop_free(st, free_func) SKM_sk_pop_free(ENGINE, (st), (free_func))
727f5b1c8a1SJohn Marino #define sk_ENGINE_shift(st) SKM_sk_shift(ENGINE, (st))
728f5b1c8a1SJohn Marino #define sk_ENGINE_pop(st) SKM_sk_pop(ENGINE, (st))
729f5b1c8a1SJohn Marino #define sk_ENGINE_sort(st) SKM_sk_sort(ENGINE, (st))
730f5b1c8a1SJohn Marino #define sk_ENGINE_is_sorted(st) SKM_sk_is_sorted(ENGINE, (st))
731f5b1c8a1SJohn Marino 
732f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_new(cmp) SKM_sk_new(ENGINE_CLEANUP_ITEM, (cmp))
733f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_new_null() SKM_sk_new_null(ENGINE_CLEANUP_ITEM)
734f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_free(st) SKM_sk_free(ENGINE_CLEANUP_ITEM, (st))
735f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_num(st) SKM_sk_num(ENGINE_CLEANUP_ITEM, (st))
736f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_value(st, i) SKM_sk_value(ENGINE_CLEANUP_ITEM, (st), (i))
737f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_set(st, i, val) SKM_sk_set(ENGINE_CLEANUP_ITEM, (st), (i), (val))
738f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_zero(st) SKM_sk_zero(ENGINE_CLEANUP_ITEM, (st))
739f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_push(st, val) SKM_sk_push(ENGINE_CLEANUP_ITEM, (st), (val))
740f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_unshift(st, val) SKM_sk_unshift(ENGINE_CLEANUP_ITEM, (st), (val))
741f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_find(st, val) SKM_sk_find(ENGINE_CLEANUP_ITEM, (st), (val))
742f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_find_ex(st, val) SKM_sk_find_ex(ENGINE_CLEANUP_ITEM, (st), (val))
743f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_delete(st, i) SKM_sk_delete(ENGINE_CLEANUP_ITEM, (st), (i))
744f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_delete_ptr(st, ptr) SKM_sk_delete_ptr(ENGINE_CLEANUP_ITEM, (st), (ptr))
745f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_insert(st, val, i) SKM_sk_insert(ENGINE_CLEANUP_ITEM, (st), (val), (i))
746f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ENGINE_CLEANUP_ITEM, (st), (cmp))
747f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_dup(st) SKM_sk_dup(ENGINE_CLEANUP_ITEM, st)
748f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_pop_free(st, free_func) SKM_sk_pop_free(ENGINE_CLEANUP_ITEM, (st), (free_func))
749f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_shift(st) SKM_sk_shift(ENGINE_CLEANUP_ITEM, (st))
750f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_pop(st) SKM_sk_pop(ENGINE_CLEANUP_ITEM, (st))
751f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_sort(st) SKM_sk_sort(ENGINE_CLEANUP_ITEM, (st))
752f5b1c8a1SJohn Marino #define sk_ENGINE_CLEANUP_ITEM_is_sorted(st) SKM_sk_is_sorted(ENGINE_CLEANUP_ITEM, (st))
753f5b1c8a1SJohn Marino 
754f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_new(cmp) SKM_sk_new(ESS_CERT_ID, (cmp))
755f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_new_null() SKM_sk_new_null(ESS_CERT_ID)
756f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_free(st) SKM_sk_free(ESS_CERT_ID, (st))
757f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_num(st) SKM_sk_num(ESS_CERT_ID, (st))
758f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_value(st, i) SKM_sk_value(ESS_CERT_ID, (st), (i))
759f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_set(st, i, val) SKM_sk_set(ESS_CERT_ID, (st), (i), (val))
760f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_zero(st) SKM_sk_zero(ESS_CERT_ID, (st))
761f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_push(st, val) SKM_sk_push(ESS_CERT_ID, (st), (val))
762f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_unshift(st, val) SKM_sk_unshift(ESS_CERT_ID, (st), (val))
763f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_find(st, val) SKM_sk_find(ESS_CERT_ID, (st), (val))
764f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_find_ex(st, val) SKM_sk_find_ex(ESS_CERT_ID, (st), (val))
765f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_delete(st, i) SKM_sk_delete(ESS_CERT_ID, (st), (i))
766f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_delete_ptr(st, ptr) SKM_sk_delete_ptr(ESS_CERT_ID, (st), (ptr))
767f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_insert(st, val, i) SKM_sk_insert(ESS_CERT_ID, (st), (val), (i))
768f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ESS_CERT_ID, (st), (cmp))
769f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_dup(st) SKM_sk_dup(ESS_CERT_ID, st)
770f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_pop_free(st, free_func) SKM_sk_pop_free(ESS_CERT_ID, (st), (free_func))
771f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_shift(st) SKM_sk_shift(ESS_CERT_ID, (st))
772f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_pop(st) SKM_sk_pop(ESS_CERT_ID, (st))
773f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_sort(st) SKM_sk_sort(ESS_CERT_ID, (st))
774f5b1c8a1SJohn Marino #define sk_ESS_CERT_ID_is_sorted(st) SKM_sk_is_sorted(ESS_CERT_ID, (st))
775f5b1c8a1SJohn Marino 
776*de0e0e4dSAntonio Huete Jimenez #ifdef LIBRESSL_INTERNAL
777*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_new(cmp) SKM_sk_new(ESS_CERT_ID_V2, (cmp))
778*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_new_null() SKM_sk_new_null(ESS_CERT_ID_V2)
779*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_free(st) SKM_sk_free(ESS_CERT_ID_V2, (st))
780*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_num(st) SKM_sk_num(ESS_CERT_ID_V2, (st))
781*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_value(st, i) SKM_sk_value(ESS_CERT_ID_V2, (st), (i))
782*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_set(st, i, val) SKM_sk_set(ESS_CERT_ID_V2, (st), (i), (val))
783*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_zero(st) SKM_sk_zero(ESS_CERT_ID_V2, (st))
784*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_push(st, val) SKM_sk_push(ESS_CERT_ID_V2, (st), (val))
785*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_unshift(st, val) SKM_sk_unshift(ESS_CERT_ID_V2, (st), (val))
786*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_find(st, val) SKM_sk_find(ESS_CERT_ID_V2, (st), (val))
787*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_find_ex(st, val) SKM_sk_find_ex(ESS_CERT_ID_V2, (st), (val))
788*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_delete(st, i) SKM_sk_delete(ESS_CERT_ID_V2, (st), (i))
789*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_delete_ptr(st, ptr) SKM_sk_delete_ptr(ESS_CERT_ID_V2, (st), (ptr))
790*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_insert(st, val, i) SKM_sk_insert(ESS_CERT_ID_V2, (st), (val), (i))
791*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ESS_CERT_ID_V2, (st), (cmp))
792*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_dup(st) SKM_sk_dup(ESS_CERT_ID_V2, st)
793*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_pop_free(st, free_func) SKM_sk_pop_free(ESS_CERT_ID_V2, (st), (free_func))
794*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_shift(st) SKM_sk_shift(ESS_CERT_ID_V2, (st))
795*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_pop(st) SKM_sk_pop(ESS_CERT_ID_V2, (st))
796*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_sort(st) SKM_sk_sort(ESS_CERT_ID_V2, (st))
797*de0e0e4dSAntonio Huete Jimenez #define sk_ESS_CERT_ID_V2_is_sorted(st) SKM_sk_is_sorted(ESS_CERT_ID_V2, (st))
798*de0e0e4dSAntonio Huete Jimenez #endif /* LIBRESSL_INTERNAL */
799*de0e0e4dSAntonio Huete Jimenez 
800f5b1c8a1SJohn Marino #define sk_EVP_MD_new(cmp) SKM_sk_new(EVP_MD, (cmp))
801f5b1c8a1SJohn Marino #define sk_EVP_MD_new_null() SKM_sk_new_null(EVP_MD)
802f5b1c8a1SJohn Marino #define sk_EVP_MD_free(st) SKM_sk_free(EVP_MD, (st))
803f5b1c8a1SJohn Marino #define sk_EVP_MD_num(st) SKM_sk_num(EVP_MD, (st))
804f5b1c8a1SJohn Marino #define sk_EVP_MD_value(st, i) SKM_sk_value(EVP_MD, (st), (i))
805f5b1c8a1SJohn Marino #define sk_EVP_MD_set(st, i, val) SKM_sk_set(EVP_MD, (st), (i), (val))
806f5b1c8a1SJohn Marino #define sk_EVP_MD_zero(st) SKM_sk_zero(EVP_MD, (st))
807f5b1c8a1SJohn Marino #define sk_EVP_MD_push(st, val) SKM_sk_push(EVP_MD, (st), (val))
808f5b1c8a1SJohn Marino #define sk_EVP_MD_unshift(st, val) SKM_sk_unshift(EVP_MD, (st), (val))
809f5b1c8a1SJohn Marino #define sk_EVP_MD_find(st, val) SKM_sk_find(EVP_MD, (st), (val))
810f5b1c8a1SJohn Marino #define sk_EVP_MD_find_ex(st, val) SKM_sk_find_ex(EVP_MD, (st), (val))
811f5b1c8a1SJohn Marino #define sk_EVP_MD_delete(st, i) SKM_sk_delete(EVP_MD, (st), (i))
812f5b1c8a1SJohn Marino #define sk_EVP_MD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_MD, (st), (ptr))
813f5b1c8a1SJohn Marino #define sk_EVP_MD_insert(st, val, i) SKM_sk_insert(EVP_MD, (st), (val), (i))
814f5b1c8a1SJohn Marino #define sk_EVP_MD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_MD, (st), (cmp))
815f5b1c8a1SJohn Marino #define sk_EVP_MD_dup(st) SKM_sk_dup(EVP_MD, st)
816f5b1c8a1SJohn Marino #define sk_EVP_MD_pop_free(st, free_func) SKM_sk_pop_free(EVP_MD, (st), (free_func))
817f5b1c8a1SJohn Marino #define sk_EVP_MD_shift(st) SKM_sk_shift(EVP_MD, (st))
818f5b1c8a1SJohn Marino #define sk_EVP_MD_pop(st) SKM_sk_pop(EVP_MD, (st))
819f5b1c8a1SJohn Marino #define sk_EVP_MD_sort(st) SKM_sk_sort(EVP_MD, (st))
820f5b1c8a1SJohn Marino #define sk_EVP_MD_is_sorted(st) SKM_sk_is_sorted(EVP_MD, (st))
821f5b1c8a1SJohn Marino 
822f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_new(cmp) SKM_sk_new(EVP_PBE_CTL, (cmp))
823f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_new_null() SKM_sk_new_null(EVP_PBE_CTL)
824f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_free(st) SKM_sk_free(EVP_PBE_CTL, (st))
825f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_num(st) SKM_sk_num(EVP_PBE_CTL, (st))
826f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_value(st, i) SKM_sk_value(EVP_PBE_CTL, (st), (i))
827f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_set(st, i, val) SKM_sk_set(EVP_PBE_CTL, (st), (i), (val))
828f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_zero(st) SKM_sk_zero(EVP_PBE_CTL, (st))
829f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_push(st, val) SKM_sk_push(EVP_PBE_CTL, (st), (val))
830f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_unshift(st, val) SKM_sk_unshift(EVP_PBE_CTL, (st), (val))
831f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_find(st, val) SKM_sk_find(EVP_PBE_CTL, (st), (val))
832f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_find_ex(st, val) SKM_sk_find_ex(EVP_PBE_CTL, (st), (val))
833f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_delete(st, i) SKM_sk_delete(EVP_PBE_CTL, (st), (i))
834f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_PBE_CTL, (st), (ptr))
835f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_insert(st, val, i) SKM_sk_insert(EVP_PBE_CTL, (st), (val), (i))
836f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_PBE_CTL, (st), (cmp))
837f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_dup(st) SKM_sk_dup(EVP_PBE_CTL, st)
838f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_pop_free(st, free_func) SKM_sk_pop_free(EVP_PBE_CTL, (st), (free_func))
839f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_shift(st) SKM_sk_shift(EVP_PBE_CTL, (st))
840f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_pop(st) SKM_sk_pop(EVP_PBE_CTL, (st))
841f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_sort(st) SKM_sk_sort(EVP_PBE_CTL, (st))
842f5b1c8a1SJohn Marino #define sk_EVP_PBE_CTL_is_sorted(st) SKM_sk_is_sorted(EVP_PBE_CTL, (st))
843f5b1c8a1SJohn Marino 
844f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_new(cmp) SKM_sk_new(EVP_PKEY_ASN1_METHOD, (cmp))
845f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_new_null() SKM_sk_new_null(EVP_PKEY_ASN1_METHOD)
846f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_free(st) SKM_sk_free(EVP_PKEY_ASN1_METHOD, (st))
847f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_num(st) SKM_sk_num(EVP_PKEY_ASN1_METHOD, (st))
848f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_value(st, i) SKM_sk_value(EVP_PKEY_ASN1_METHOD, (st), (i))
849f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_set(st, i, val) SKM_sk_set(EVP_PKEY_ASN1_METHOD, (st), (i), (val))
850f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_zero(st) SKM_sk_zero(EVP_PKEY_ASN1_METHOD, (st))
851f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_push(st, val) SKM_sk_push(EVP_PKEY_ASN1_METHOD, (st), (val))
852f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_unshift(st, val) SKM_sk_unshift(EVP_PKEY_ASN1_METHOD, (st), (val))
853f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_find(st, val) SKM_sk_find(EVP_PKEY_ASN1_METHOD, (st), (val))
854f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_find_ex(st, val) SKM_sk_find_ex(EVP_PKEY_ASN1_METHOD, (st), (val))
855f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_delete(st, i) SKM_sk_delete(EVP_PKEY_ASN1_METHOD, (st), (i))
856f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_PKEY_ASN1_METHOD, (st), (ptr))
857f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_insert(st, val, i) SKM_sk_insert(EVP_PKEY_ASN1_METHOD, (st), (val), (i))
858f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_PKEY_ASN1_METHOD, (st), (cmp))
859f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_dup(st) SKM_sk_dup(EVP_PKEY_ASN1_METHOD, st)
860f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_pop_free(st, free_func) SKM_sk_pop_free(EVP_PKEY_ASN1_METHOD, (st), (free_func))
861f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_shift(st) SKM_sk_shift(EVP_PKEY_ASN1_METHOD, (st))
862f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_pop(st) SKM_sk_pop(EVP_PKEY_ASN1_METHOD, (st))
863f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_sort(st) SKM_sk_sort(EVP_PKEY_ASN1_METHOD, (st))
864f5b1c8a1SJohn Marino #define sk_EVP_PKEY_ASN1_METHOD_is_sorted(st) SKM_sk_is_sorted(EVP_PKEY_ASN1_METHOD, (st))
865f5b1c8a1SJohn Marino 
866f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_new(cmp) SKM_sk_new(EVP_PKEY_METHOD, (cmp))
867f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_new_null() SKM_sk_new_null(EVP_PKEY_METHOD)
868f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_free(st) SKM_sk_free(EVP_PKEY_METHOD, (st))
869f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_num(st) SKM_sk_num(EVP_PKEY_METHOD, (st))
870f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_value(st, i) SKM_sk_value(EVP_PKEY_METHOD, (st), (i))
871f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_set(st, i, val) SKM_sk_set(EVP_PKEY_METHOD, (st), (i), (val))
872f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_zero(st) SKM_sk_zero(EVP_PKEY_METHOD, (st))
873f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_push(st, val) SKM_sk_push(EVP_PKEY_METHOD, (st), (val))
874f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_unshift(st, val) SKM_sk_unshift(EVP_PKEY_METHOD, (st), (val))
875f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_find(st, val) SKM_sk_find(EVP_PKEY_METHOD, (st), (val))
876f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_find_ex(st, val) SKM_sk_find_ex(EVP_PKEY_METHOD, (st), (val))
877f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_delete(st, i) SKM_sk_delete(EVP_PKEY_METHOD, (st), (i))
878f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_PKEY_METHOD, (st), (ptr))
879f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_insert(st, val, i) SKM_sk_insert(EVP_PKEY_METHOD, (st), (val), (i))
880f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_PKEY_METHOD, (st), (cmp))
881f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_dup(st) SKM_sk_dup(EVP_PKEY_METHOD, st)
882f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_pop_free(st, free_func) SKM_sk_pop_free(EVP_PKEY_METHOD, (st), (free_func))
883f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_shift(st) SKM_sk_shift(EVP_PKEY_METHOD, (st))
884f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_pop(st) SKM_sk_pop(EVP_PKEY_METHOD, (st))
885f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_sort(st) SKM_sk_sort(EVP_PKEY_METHOD, (st))
886f5b1c8a1SJohn Marino #define sk_EVP_PKEY_METHOD_is_sorted(st) SKM_sk_is_sorted(EVP_PKEY_METHOD, (st))
887f5b1c8a1SJohn Marino 
888f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_new(cmp) SKM_sk_new(GENERAL_NAME, (cmp))
889f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_new_null() SKM_sk_new_null(GENERAL_NAME)
890f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_free(st) SKM_sk_free(GENERAL_NAME, (st))
891f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_num(st) SKM_sk_num(GENERAL_NAME, (st))
892f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_value(st, i) SKM_sk_value(GENERAL_NAME, (st), (i))
893f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_set(st, i, val) SKM_sk_set(GENERAL_NAME, (st), (i), (val))
894f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_zero(st) SKM_sk_zero(GENERAL_NAME, (st))
895f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_push(st, val) SKM_sk_push(GENERAL_NAME, (st), (val))
896f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_unshift(st, val) SKM_sk_unshift(GENERAL_NAME, (st), (val))
897f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_find(st, val) SKM_sk_find(GENERAL_NAME, (st), (val))
898f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_find_ex(st, val) SKM_sk_find_ex(GENERAL_NAME, (st), (val))
899f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_delete(st, i) SKM_sk_delete(GENERAL_NAME, (st), (i))
900f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAME, (st), (ptr))
901f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_insert(st, val, i) SKM_sk_insert(GENERAL_NAME, (st), (val), (i))
902f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAME, (st), (cmp))
903f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_dup(st) SKM_sk_dup(GENERAL_NAME, st)
904f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAME, (st), (free_func))
905f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_shift(st) SKM_sk_shift(GENERAL_NAME, (st))
906f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_pop(st) SKM_sk_pop(GENERAL_NAME, (st))
907f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_sort(st) SKM_sk_sort(GENERAL_NAME, (st))
908f5b1c8a1SJohn Marino #define sk_GENERAL_NAME_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAME, (st))
909f5b1c8a1SJohn Marino 
910f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_new(cmp) SKM_sk_new(GENERAL_NAMES, (cmp))
911f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_new_null() SKM_sk_new_null(GENERAL_NAMES)
912f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_free(st) SKM_sk_free(GENERAL_NAMES, (st))
913f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_num(st) SKM_sk_num(GENERAL_NAMES, (st))
914f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_value(st, i) SKM_sk_value(GENERAL_NAMES, (st), (i))
915f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_set(st, i, val) SKM_sk_set(GENERAL_NAMES, (st), (i), (val))
916f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_zero(st) SKM_sk_zero(GENERAL_NAMES, (st))
917f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_push(st, val) SKM_sk_push(GENERAL_NAMES, (st), (val))
918f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_unshift(st, val) SKM_sk_unshift(GENERAL_NAMES, (st), (val))
919f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_find(st, val) SKM_sk_find(GENERAL_NAMES, (st), (val))
920f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_find_ex(st, val) SKM_sk_find_ex(GENERAL_NAMES, (st), (val))
921f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_delete(st, i) SKM_sk_delete(GENERAL_NAMES, (st), (i))
922f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAMES, (st), (ptr))
923f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_insert(st, val, i) SKM_sk_insert(GENERAL_NAMES, (st), (val), (i))
924f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAMES, (st), (cmp))
925f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_dup(st) SKM_sk_dup(GENERAL_NAMES, st)
926f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAMES, (st), (free_func))
927f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_shift(st) SKM_sk_shift(GENERAL_NAMES, (st))
928f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_pop(st) SKM_sk_pop(GENERAL_NAMES, (st))
929f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_sort(st) SKM_sk_sort(GENERAL_NAMES, (st))
930f5b1c8a1SJohn Marino #define sk_GENERAL_NAMES_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAMES, (st))
931f5b1c8a1SJohn Marino 
932f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_new(cmp) SKM_sk_new(GENERAL_SUBTREE, (cmp))
933f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_new_null() SKM_sk_new_null(GENERAL_SUBTREE)
934f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_free(st) SKM_sk_free(GENERAL_SUBTREE, (st))
935f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_num(st) SKM_sk_num(GENERAL_SUBTREE, (st))
936f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_value(st, i) SKM_sk_value(GENERAL_SUBTREE, (st), (i))
937f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_set(st, i, val) SKM_sk_set(GENERAL_SUBTREE, (st), (i), (val))
938f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_zero(st) SKM_sk_zero(GENERAL_SUBTREE, (st))
939f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_push(st, val) SKM_sk_push(GENERAL_SUBTREE, (st), (val))
940f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_unshift(st, val) SKM_sk_unshift(GENERAL_SUBTREE, (st), (val))
941f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_find(st, val) SKM_sk_find(GENERAL_SUBTREE, (st), (val))
942f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_find_ex(st, val) SKM_sk_find_ex(GENERAL_SUBTREE, (st), (val))
943f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_delete(st, i) SKM_sk_delete(GENERAL_SUBTREE, (st), (i))
944f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_SUBTREE, (st), (ptr))
945f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_insert(st, val, i) SKM_sk_insert(GENERAL_SUBTREE, (st), (val), (i))
946f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_SUBTREE, (st), (cmp))
947f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_dup(st) SKM_sk_dup(GENERAL_SUBTREE, st)
948f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_SUBTREE, (st), (free_func))
949f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_shift(st) SKM_sk_shift(GENERAL_SUBTREE, (st))
950f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_pop(st) SKM_sk_pop(GENERAL_SUBTREE, (st))
951f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_sort(st) SKM_sk_sort(GENERAL_SUBTREE, (st))
952f5b1c8a1SJohn Marino #define sk_GENERAL_SUBTREE_is_sorted(st) SKM_sk_is_sorted(GENERAL_SUBTREE, (st))
953f5b1c8a1SJohn Marino 
954f5b1c8a1SJohn Marino #define sk_IPAddressFamily_new(cmp) SKM_sk_new(IPAddressFamily, (cmp))
955f5b1c8a1SJohn Marino #define sk_IPAddressFamily_new_null() SKM_sk_new_null(IPAddressFamily)
956f5b1c8a1SJohn Marino #define sk_IPAddressFamily_free(st) SKM_sk_free(IPAddressFamily, (st))
957f5b1c8a1SJohn Marino #define sk_IPAddressFamily_num(st) SKM_sk_num(IPAddressFamily, (st))
958f5b1c8a1SJohn Marino #define sk_IPAddressFamily_value(st, i) SKM_sk_value(IPAddressFamily, (st), (i))
959f5b1c8a1SJohn Marino #define sk_IPAddressFamily_set(st, i, val) SKM_sk_set(IPAddressFamily, (st), (i), (val))
960f5b1c8a1SJohn Marino #define sk_IPAddressFamily_zero(st) SKM_sk_zero(IPAddressFamily, (st))
961f5b1c8a1SJohn Marino #define sk_IPAddressFamily_push(st, val) SKM_sk_push(IPAddressFamily, (st), (val))
962f5b1c8a1SJohn Marino #define sk_IPAddressFamily_unshift(st, val) SKM_sk_unshift(IPAddressFamily, (st), (val))
963f5b1c8a1SJohn Marino #define sk_IPAddressFamily_find(st, val) SKM_sk_find(IPAddressFamily, (st), (val))
964f5b1c8a1SJohn Marino #define sk_IPAddressFamily_find_ex(st, val) SKM_sk_find_ex(IPAddressFamily, (st), (val))
965f5b1c8a1SJohn Marino #define sk_IPAddressFamily_delete(st, i) SKM_sk_delete(IPAddressFamily, (st), (i))
966f5b1c8a1SJohn Marino #define sk_IPAddressFamily_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressFamily, (st), (ptr))
967f5b1c8a1SJohn Marino #define sk_IPAddressFamily_insert(st, val, i) SKM_sk_insert(IPAddressFamily, (st), (val), (i))
968f5b1c8a1SJohn Marino #define sk_IPAddressFamily_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressFamily, (st), (cmp))
969f5b1c8a1SJohn Marino #define sk_IPAddressFamily_dup(st) SKM_sk_dup(IPAddressFamily, st)
970f5b1c8a1SJohn Marino #define sk_IPAddressFamily_pop_free(st, free_func) SKM_sk_pop_free(IPAddressFamily, (st), (free_func))
971f5b1c8a1SJohn Marino #define sk_IPAddressFamily_shift(st) SKM_sk_shift(IPAddressFamily, (st))
972f5b1c8a1SJohn Marino #define sk_IPAddressFamily_pop(st) SKM_sk_pop(IPAddressFamily, (st))
973f5b1c8a1SJohn Marino #define sk_IPAddressFamily_sort(st) SKM_sk_sort(IPAddressFamily, (st))
974f5b1c8a1SJohn Marino #define sk_IPAddressFamily_is_sorted(st) SKM_sk_is_sorted(IPAddressFamily, (st))
975f5b1c8a1SJohn Marino 
976f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_new(cmp) SKM_sk_new(IPAddressOrRange, (cmp))
977f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_new_null() SKM_sk_new_null(IPAddressOrRange)
978f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_free(st) SKM_sk_free(IPAddressOrRange, (st))
979f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_num(st) SKM_sk_num(IPAddressOrRange, (st))
980f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_value(st, i) SKM_sk_value(IPAddressOrRange, (st), (i))
981f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_set(st, i, val) SKM_sk_set(IPAddressOrRange, (st), (i), (val))
982f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_zero(st) SKM_sk_zero(IPAddressOrRange, (st))
983f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_push(st, val) SKM_sk_push(IPAddressOrRange, (st), (val))
984f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_unshift(st, val) SKM_sk_unshift(IPAddressOrRange, (st), (val))
985f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_find(st, val) SKM_sk_find(IPAddressOrRange, (st), (val))
986f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_find_ex(st, val) SKM_sk_find_ex(IPAddressOrRange, (st), (val))
987f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_delete(st, i) SKM_sk_delete(IPAddressOrRange, (st), (i))
988f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressOrRange, (st), (ptr))
989f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_insert(st, val, i) SKM_sk_insert(IPAddressOrRange, (st), (val), (i))
990f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressOrRange, (st), (cmp))
991f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_dup(st) SKM_sk_dup(IPAddressOrRange, st)
992f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_pop_free(st, free_func) SKM_sk_pop_free(IPAddressOrRange, (st), (free_func))
993f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_shift(st) SKM_sk_shift(IPAddressOrRange, (st))
994f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_pop(st) SKM_sk_pop(IPAddressOrRange, (st))
995f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_sort(st) SKM_sk_sort(IPAddressOrRange, (st))
996f5b1c8a1SJohn Marino #define sk_IPAddressOrRange_is_sorted(st) SKM_sk_is_sorted(IPAddressOrRange, (st))
997f5b1c8a1SJohn Marino 
998f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_new(cmp) SKM_sk_new(MEM_OBJECT_DATA, (cmp))
999f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_new_null() SKM_sk_new_null(MEM_OBJECT_DATA)
1000f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_free(st) SKM_sk_free(MEM_OBJECT_DATA, (st))
1001f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_num(st) SKM_sk_num(MEM_OBJECT_DATA, (st))
1002f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_value(st, i) SKM_sk_value(MEM_OBJECT_DATA, (st), (i))
1003f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_set(st, i, val) SKM_sk_set(MEM_OBJECT_DATA, (st), (i), (val))
1004f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_zero(st) SKM_sk_zero(MEM_OBJECT_DATA, (st))
1005f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_push(st, val) SKM_sk_push(MEM_OBJECT_DATA, (st), (val))
1006f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_unshift(st, val) SKM_sk_unshift(MEM_OBJECT_DATA, (st), (val))
1007f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_find(st, val) SKM_sk_find(MEM_OBJECT_DATA, (st), (val))
1008f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_find_ex(st, val) SKM_sk_find_ex(MEM_OBJECT_DATA, (st), (val))
1009f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_delete(st, i) SKM_sk_delete(MEM_OBJECT_DATA, (st), (i))
1010f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_delete_ptr(st, ptr) SKM_sk_delete_ptr(MEM_OBJECT_DATA, (st), (ptr))
1011f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_insert(st, val, i) SKM_sk_insert(MEM_OBJECT_DATA, (st), (val), (i))
1012f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MEM_OBJECT_DATA, (st), (cmp))
1013f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_dup(st) SKM_sk_dup(MEM_OBJECT_DATA, st)
1014f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_pop_free(st, free_func) SKM_sk_pop_free(MEM_OBJECT_DATA, (st), (free_func))
1015f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_shift(st) SKM_sk_shift(MEM_OBJECT_DATA, (st))
1016f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_pop(st) SKM_sk_pop(MEM_OBJECT_DATA, (st))
1017f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_sort(st) SKM_sk_sort(MEM_OBJECT_DATA, (st))
1018f5b1c8a1SJohn Marino #define sk_MEM_OBJECT_DATA_is_sorted(st) SKM_sk_is_sorted(MEM_OBJECT_DATA, (st))
1019f5b1c8a1SJohn Marino 
1020f5b1c8a1SJohn Marino #define sk_MIME_HEADER_new(cmp) SKM_sk_new(MIME_HEADER, (cmp))
1021f5b1c8a1SJohn Marino #define sk_MIME_HEADER_new_null() SKM_sk_new_null(MIME_HEADER)
1022f5b1c8a1SJohn Marino #define sk_MIME_HEADER_free(st) SKM_sk_free(MIME_HEADER, (st))
1023f5b1c8a1SJohn Marino #define sk_MIME_HEADER_num(st) SKM_sk_num(MIME_HEADER, (st))
1024f5b1c8a1SJohn Marino #define sk_MIME_HEADER_value(st, i) SKM_sk_value(MIME_HEADER, (st), (i))
1025f5b1c8a1SJohn Marino #define sk_MIME_HEADER_set(st, i, val) SKM_sk_set(MIME_HEADER, (st), (i), (val))
1026f5b1c8a1SJohn Marino #define sk_MIME_HEADER_zero(st) SKM_sk_zero(MIME_HEADER, (st))
1027f5b1c8a1SJohn Marino #define sk_MIME_HEADER_push(st, val) SKM_sk_push(MIME_HEADER, (st), (val))
1028f5b1c8a1SJohn Marino #define sk_MIME_HEADER_unshift(st, val) SKM_sk_unshift(MIME_HEADER, (st), (val))
1029f5b1c8a1SJohn Marino #define sk_MIME_HEADER_find(st, val) SKM_sk_find(MIME_HEADER, (st), (val))
1030f5b1c8a1SJohn Marino #define sk_MIME_HEADER_find_ex(st, val) SKM_sk_find_ex(MIME_HEADER, (st), (val))
1031f5b1c8a1SJohn Marino #define sk_MIME_HEADER_delete(st, i) SKM_sk_delete(MIME_HEADER, (st), (i))
1032f5b1c8a1SJohn Marino #define sk_MIME_HEADER_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_HEADER, (st), (ptr))
1033f5b1c8a1SJohn Marino #define sk_MIME_HEADER_insert(st, val, i) SKM_sk_insert(MIME_HEADER, (st), (val), (i))
1034f5b1c8a1SJohn Marino #define sk_MIME_HEADER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_HEADER, (st), (cmp))
1035f5b1c8a1SJohn Marino #define sk_MIME_HEADER_dup(st) SKM_sk_dup(MIME_HEADER, st)
1036f5b1c8a1SJohn Marino #define sk_MIME_HEADER_pop_free(st, free_func) SKM_sk_pop_free(MIME_HEADER, (st), (free_func))
1037f5b1c8a1SJohn Marino #define sk_MIME_HEADER_shift(st) SKM_sk_shift(MIME_HEADER, (st))
1038f5b1c8a1SJohn Marino #define sk_MIME_HEADER_pop(st) SKM_sk_pop(MIME_HEADER, (st))
1039f5b1c8a1SJohn Marino #define sk_MIME_HEADER_sort(st) SKM_sk_sort(MIME_HEADER, (st))
1040f5b1c8a1SJohn Marino #define sk_MIME_HEADER_is_sorted(st) SKM_sk_is_sorted(MIME_HEADER, (st))
1041f5b1c8a1SJohn Marino 
1042f5b1c8a1SJohn Marino #define sk_MIME_PARAM_new(cmp) SKM_sk_new(MIME_PARAM, (cmp))
1043f5b1c8a1SJohn Marino #define sk_MIME_PARAM_new_null() SKM_sk_new_null(MIME_PARAM)
1044f5b1c8a1SJohn Marino #define sk_MIME_PARAM_free(st) SKM_sk_free(MIME_PARAM, (st))
1045f5b1c8a1SJohn Marino #define sk_MIME_PARAM_num(st) SKM_sk_num(MIME_PARAM, (st))
1046f5b1c8a1SJohn Marino #define sk_MIME_PARAM_value(st, i) SKM_sk_value(MIME_PARAM, (st), (i))
1047f5b1c8a1SJohn Marino #define sk_MIME_PARAM_set(st, i, val) SKM_sk_set(MIME_PARAM, (st), (i), (val))
1048f5b1c8a1SJohn Marino #define sk_MIME_PARAM_zero(st) SKM_sk_zero(MIME_PARAM, (st))
1049f5b1c8a1SJohn Marino #define sk_MIME_PARAM_push(st, val) SKM_sk_push(MIME_PARAM, (st), (val))
1050f5b1c8a1SJohn Marino #define sk_MIME_PARAM_unshift(st, val) SKM_sk_unshift(MIME_PARAM, (st), (val))
1051f5b1c8a1SJohn Marino #define sk_MIME_PARAM_find(st, val) SKM_sk_find(MIME_PARAM, (st), (val))
1052f5b1c8a1SJohn Marino #define sk_MIME_PARAM_find_ex(st, val) SKM_sk_find_ex(MIME_PARAM, (st), (val))
1053f5b1c8a1SJohn Marino #define sk_MIME_PARAM_delete(st, i) SKM_sk_delete(MIME_PARAM, (st), (i))
1054f5b1c8a1SJohn Marino #define sk_MIME_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_PARAM, (st), (ptr))
1055f5b1c8a1SJohn Marino #define sk_MIME_PARAM_insert(st, val, i) SKM_sk_insert(MIME_PARAM, (st), (val), (i))
1056f5b1c8a1SJohn Marino #define sk_MIME_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_PARAM, (st), (cmp))
1057f5b1c8a1SJohn Marino #define sk_MIME_PARAM_dup(st) SKM_sk_dup(MIME_PARAM, st)
1058f5b1c8a1SJohn Marino #define sk_MIME_PARAM_pop_free(st, free_func) SKM_sk_pop_free(MIME_PARAM, (st), (free_func))
1059f5b1c8a1SJohn Marino #define sk_MIME_PARAM_shift(st) SKM_sk_shift(MIME_PARAM, (st))
1060f5b1c8a1SJohn Marino #define sk_MIME_PARAM_pop(st) SKM_sk_pop(MIME_PARAM, (st))
1061f5b1c8a1SJohn Marino #define sk_MIME_PARAM_sort(st) SKM_sk_sort(MIME_PARAM, (st))
1062f5b1c8a1SJohn Marino #define sk_MIME_PARAM_is_sorted(st) SKM_sk_is_sorted(MIME_PARAM, (st))
1063f5b1c8a1SJohn Marino 
1064f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_new(cmp) SKM_sk_new(NAME_FUNCS, (cmp))
1065f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_new_null() SKM_sk_new_null(NAME_FUNCS)
1066f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_free(st) SKM_sk_free(NAME_FUNCS, (st))
1067f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_num(st) SKM_sk_num(NAME_FUNCS, (st))
1068f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_value(st, i) SKM_sk_value(NAME_FUNCS, (st), (i))
1069f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_set(st, i, val) SKM_sk_set(NAME_FUNCS, (st), (i), (val))
1070f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_zero(st) SKM_sk_zero(NAME_FUNCS, (st))
1071f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_push(st, val) SKM_sk_push(NAME_FUNCS, (st), (val))
1072f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_unshift(st, val) SKM_sk_unshift(NAME_FUNCS, (st), (val))
1073f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_find(st, val) SKM_sk_find(NAME_FUNCS, (st), (val))
1074f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_find_ex(st, val) SKM_sk_find_ex(NAME_FUNCS, (st), (val))
1075f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_delete(st, i) SKM_sk_delete(NAME_FUNCS, (st), (i))
1076f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_delete_ptr(st, ptr) SKM_sk_delete_ptr(NAME_FUNCS, (st), (ptr))
1077f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_insert(st, val, i) SKM_sk_insert(NAME_FUNCS, (st), (val), (i))
1078f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(NAME_FUNCS, (st), (cmp))
1079f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_dup(st) SKM_sk_dup(NAME_FUNCS, st)
1080f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_pop_free(st, free_func) SKM_sk_pop_free(NAME_FUNCS, (st), (free_func))
1081f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_shift(st) SKM_sk_shift(NAME_FUNCS, (st))
1082f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_pop(st) SKM_sk_pop(NAME_FUNCS, (st))
1083f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_sort(st) SKM_sk_sort(NAME_FUNCS, (st))
1084f5b1c8a1SJohn Marino #define sk_NAME_FUNCS_is_sorted(st) SKM_sk_is_sorted(NAME_FUNCS, (st))
1085f5b1c8a1SJohn Marino 
1086f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_new(cmp) SKM_sk_new(OCSP_CERTID, (cmp))
1087f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_new_null() SKM_sk_new_null(OCSP_CERTID)
1088f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_free(st) SKM_sk_free(OCSP_CERTID, (st))
1089f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_num(st) SKM_sk_num(OCSP_CERTID, (st))
1090f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_value(st, i) SKM_sk_value(OCSP_CERTID, (st), (i))
1091f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_set(st, i, val) SKM_sk_set(OCSP_CERTID, (st), (i), (val))
1092f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_zero(st) SKM_sk_zero(OCSP_CERTID, (st))
1093f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_push(st, val) SKM_sk_push(OCSP_CERTID, (st), (val))
1094f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_unshift(st, val) SKM_sk_unshift(OCSP_CERTID, (st), (val))
1095f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_find(st, val) SKM_sk_find(OCSP_CERTID, (st), (val))
1096f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_find_ex(st, val) SKM_sk_find_ex(OCSP_CERTID, (st), (val))
1097f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_delete(st, i) SKM_sk_delete(OCSP_CERTID, (st), (i))
1098f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_CERTID, (st), (ptr))
1099f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_insert(st, val, i) SKM_sk_insert(OCSP_CERTID, (st), (val), (i))
1100f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_CERTID, (st), (cmp))
1101f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_dup(st) SKM_sk_dup(OCSP_CERTID, st)
1102f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_CERTID, (st), (free_func))
1103f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_shift(st) SKM_sk_shift(OCSP_CERTID, (st))
1104f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_pop(st) SKM_sk_pop(OCSP_CERTID, (st))
1105f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_sort(st) SKM_sk_sort(OCSP_CERTID, (st))
1106f5b1c8a1SJohn Marino #define sk_OCSP_CERTID_is_sorted(st) SKM_sk_is_sorted(OCSP_CERTID, (st))
1107f5b1c8a1SJohn Marino 
1108f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_new(cmp) SKM_sk_new(OCSP_ONEREQ, (cmp))
1109f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_new_null() SKM_sk_new_null(OCSP_ONEREQ)
1110f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_free(st) SKM_sk_free(OCSP_ONEREQ, (st))
1111f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_num(st) SKM_sk_num(OCSP_ONEREQ, (st))
1112f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_value(st, i) SKM_sk_value(OCSP_ONEREQ, (st), (i))
1113f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_set(st, i, val) SKM_sk_set(OCSP_ONEREQ, (st), (i), (val))
1114f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_zero(st) SKM_sk_zero(OCSP_ONEREQ, (st))
1115f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_push(st, val) SKM_sk_push(OCSP_ONEREQ, (st), (val))
1116f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_unshift(st, val) SKM_sk_unshift(OCSP_ONEREQ, (st), (val))
1117f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_find(st, val) SKM_sk_find(OCSP_ONEREQ, (st), (val))
1118f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_find_ex(st, val) SKM_sk_find_ex(OCSP_ONEREQ, (st), (val))
1119f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_delete(st, i) SKM_sk_delete(OCSP_ONEREQ, (st), (i))
1120f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_ONEREQ, (st), (ptr))
1121f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_insert(st, val, i) SKM_sk_insert(OCSP_ONEREQ, (st), (val), (i))
1122f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_ONEREQ, (st), (cmp))
1123f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_dup(st) SKM_sk_dup(OCSP_ONEREQ, st)
1124f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_pop_free(st, free_func) SKM_sk_pop_free(OCSP_ONEREQ, (st), (free_func))
1125f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_shift(st) SKM_sk_shift(OCSP_ONEREQ, (st))
1126f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_pop(st) SKM_sk_pop(OCSP_ONEREQ, (st))
1127f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_sort(st) SKM_sk_sort(OCSP_ONEREQ, (st))
1128f5b1c8a1SJohn Marino #define sk_OCSP_ONEREQ_is_sorted(st) SKM_sk_is_sorted(OCSP_ONEREQ, (st))
1129f5b1c8a1SJohn Marino 
1130f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_new(cmp) SKM_sk_new(OCSP_RESPID, (cmp))
1131f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_new_null() SKM_sk_new_null(OCSP_RESPID)
1132f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_free(st) SKM_sk_free(OCSP_RESPID, (st))
1133f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_num(st) SKM_sk_num(OCSP_RESPID, (st))
1134f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_value(st, i) SKM_sk_value(OCSP_RESPID, (st), (i))
1135f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_set(st, i, val) SKM_sk_set(OCSP_RESPID, (st), (i), (val))
1136f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_zero(st) SKM_sk_zero(OCSP_RESPID, (st))
1137f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_push(st, val) SKM_sk_push(OCSP_RESPID, (st), (val))
1138f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_unshift(st, val) SKM_sk_unshift(OCSP_RESPID, (st), (val))
1139f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_find(st, val) SKM_sk_find(OCSP_RESPID, (st), (val))
1140f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_find_ex(st, val) SKM_sk_find_ex(OCSP_RESPID, (st), (val))
1141f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_delete(st, i) SKM_sk_delete(OCSP_RESPID, (st), (i))
1142f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_RESPID, (st), (ptr))
1143f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_insert(st, val, i) SKM_sk_insert(OCSP_RESPID, (st), (val), (i))
1144f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_RESPID, (st), (cmp))
1145f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_dup(st) SKM_sk_dup(OCSP_RESPID, st)
1146f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_RESPID, (st), (free_func))
1147f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_shift(st) SKM_sk_shift(OCSP_RESPID, (st))
1148f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_pop(st) SKM_sk_pop(OCSP_RESPID, (st))
1149f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_sort(st) SKM_sk_sort(OCSP_RESPID, (st))
1150f5b1c8a1SJohn Marino #define sk_OCSP_RESPID_is_sorted(st) SKM_sk_is_sorted(OCSP_RESPID, (st))
1151f5b1c8a1SJohn Marino 
1152f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_new(cmp) SKM_sk_new(OCSP_SINGLERESP, (cmp))
1153f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_new_null() SKM_sk_new_null(OCSP_SINGLERESP)
1154f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_free(st) SKM_sk_free(OCSP_SINGLERESP, (st))
1155f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_num(st) SKM_sk_num(OCSP_SINGLERESP, (st))
1156f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_value(st, i) SKM_sk_value(OCSP_SINGLERESP, (st), (i))
1157f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_set(st, i, val) SKM_sk_set(OCSP_SINGLERESP, (st), (i), (val))
1158f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_zero(st) SKM_sk_zero(OCSP_SINGLERESP, (st))
1159f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_push(st, val) SKM_sk_push(OCSP_SINGLERESP, (st), (val))
1160f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_unshift(st, val) SKM_sk_unshift(OCSP_SINGLERESP, (st), (val))
1161f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_find(st, val) SKM_sk_find(OCSP_SINGLERESP, (st), (val))
1162f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_find_ex(st, val) SKM_sk_find_ex(OCSP_SINGLERESP, (st), (val))
1163f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_delete(st, i) SKM_sk_delete(OCSP_SINGLERESP, (st), (i))
1164f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_SINGLERESP, (st), (ptr))
1165f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_insert(st, val, i) SKM_sk_insert(OCSP_SINGLERESP, (st), (val), (i))
1166f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_SINGLERESP, (st), (cmp))
1167f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_dup(st) SKM_sk_dup(OCSP_SINGLERESP, st)
1168f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_pop_free(st, free_func) SKM_sk_pop_free(OCSP_SINGLERESP, (st), (free_func))
1169f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_shift(st) SKM_sk_shift(OCSP_SINGLERESP, (st))
1170f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_pop(st) SKM_sk_pop(OCSP_SINGLERESP, (st))
1171f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_sort(st) SKM_sk_sort(OCSP_SINGLERESP, (st))
1172f5b1c8a1SJohn Marino #define sk_OCSP_SINGLERESP_is_sorted(st) SKM_sk_is_sorted(OCSP_SINGLERESP, (st))
1173f5b1c8a1SJohn Marino 
1174f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_new(cmp) SKM_sk_new(PKCS12_SAFEBAG, (cmp))
1175f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_new_null() SKM_sk_new_null(PKCS12_SAFEBAG)
1176f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_free(st) SKM_sk_free(PKCS12_SAFEBAG, (st))
1177f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_num(st) SKM_sk_num(PKCS12_SAFEBAG, (st))
1178f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_value(st, i) SKM_sk_value(PKCS12_SAFEBAG, (st), (i))
1179f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_set(st, i, val) SKM_sk_set(PKCS12_SAFEBAG, (st), (i), (val))
1180f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_zero(st) SKM_sk_zero(PKCS12_SAFEBAG, (st))
1181f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_push(st, val) SKM_sk_push(PKCS12_SAFEBAG, (st), (val))
1182f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_unshift(st, val) SKM_sk_unshift(PKCS12_SAFEBAG, (st), (val))
1183f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_find(st, val) SKM_sk_find(PKCS12_SAFEBAG, (st), (val))
1184f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_find_ex(st, val) SKM_sk_find_ex(PKCS12_SAFEBAG, (st), (val))
1185f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_delete(st, i) SKM_sk_delete(PKCS12_SAFEBAG, (st), (i))
1186f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS12_SAFEBAG, (st), (ptr))
1187f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_insert(st, val, i) SKM_sk_insert(PKCS12_SAFEBAG, (st), (val), (i))
1188f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS12_SAFEBAG, (st), (cmp))
1189f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_dup(st) SKM_sk_dup(PKCS12_SAFEBAG, st)
1190f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_pop_free(st, free_func) SKM_sk_pop_free(PKCS12_SAFEBAG, (st), (free_func))
1191f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_shift(st) SKM_sk_shift(PKCS12_SAFEBAG, (st))
1192f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_pop(st) SKM_sk_pop(PKCS12_SAFEBAG, (st))
1193f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_sort(st) SKM_sk_sort(PKCS12_SAFEBAG, (st))
1194f5b1c8a1SJohn Marino #define sk_PKCS12_SAFEBAG_is_sorted(st) SKM_sk_is_sorted(PKCS12_SAFEBAG, (st))
1195f5b1c8a1SJohn Marino 
1196f5b1c8a1SJohn Marino #define sk_PKCS7_new(cmp) SKM_sk_new(PKCS7, (cmp))
1197f5b1c8a1SJohn Marino #define sk_PKCS7_new_null() SKM_sk_new_null(PKCS7)
1198f5b1c8a1SJohn Marino #define sk_PKCS7_free(st) SKM_sk_free(PKCS7, (st))
1199f5b1c8a1SJohn Marino #define sk_PKCS7_num(st) SKM_sk_num(PKCS7, (st))
1200f5b1c8a1SJohn Marino #define sk_PKCS7_value(st, i) SKM_sk_value(PKCS7, (st), (i))
1201f5b1c8a1SJohn Marino #define sk_PKCS7_set(st, i, val) SKM_sk_set(PKCS7, (st), (i), (val))
1202f5b1c8a1SJohn Marino #define sk_PKCS7_zero(st) SKM_sk_zero(PKCS7, (st))
1203f5b1c8a1SJohn Marino #define sk_PKCS7_push(st, val) SKM_sk_push(PKCS7, (st), (val))
1204f5b1c8a1SJohn Marino #define sk_PKCS7_unshift(st, val) SKM_sk_unshift(PKCS7, (st), (val))
1205f5b1c8a1SJohn Marino #define sk_PKCS7_find(st, val) SKM_sk_find(PKCS7, (st), (val))
1206f5b1c8a1SJohn Marino #define sk_PKCS7_find_ex(st, val) SKM_sk_find_ex(PKCS7, (st), (val))
1207f5b1c8a1SJohn Marino #define sk_PKCS7_delete(st, i) SKM_sk_delete(PKCS7, (st), (i))
1208f5b1c8a1SJohn Marino #define sk_PKCS7_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7, (st), (ptr))
1209f5b1c8a1SJohn Marino #define sk_PKCS7_insert(st, val, i) SKM_sk_insert(PKCS7, (st), (val), (i))
1210f5b1c8a1SJohn Marino #define sk_PKCS7_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7, (st), (cmp))
1211f5b1c8a1SJohn Marino #define sk_PKCS7_dup(st) SKM_sk_dup(PKCS7, st)
1212f5b1c8a1SJohn Marino #define sk_PKCS7_pop_free(st, free_func) SKM_sk_pop_free(PKCS7, (st), (free_func))
1213f5b1c8a1SJohn Marino #define sk_PKCS7_shift(st) SKM_sk_shift(PKCS7, (st))
1214f5b1c8a1SJohn Marino #define sk_PKCS7_pop(st) SKM_sk_pop(PKCS7, (st))
1215f5b1c8a1SJohn Marino #define sk_PKCS7_sort(st) SKM_sk_sort(PKCS7, (st))
1216f5b1c8a1SJohn Marino #define sk_PKCS7_is_sorted(st) SKM_sk_is_sorted(PKCS7, (st))
1217f5b1c8a1SJohn Marino 
1218f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_new(cmp) SKM_sk_new(PKCS7_RECIP_INFO, (cmp))
1219f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_new_null() SKM_sk_new_null(PKCS7_RECIP_INFO)
1220f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_free(st) SKM_sk_free(PKCS7_RECIP_INFO, (st))
1221f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_num(st) SKM_sk_num(PKCS7_RECIP_INFO, (st))
1222f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_value(st, i) SKM_sk_value(PKCS7_RECIP_INFO, (st), (i))
1223f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_set(st, i, val) SKM_sk_set(PKCS7_RECIP_INFO, (st), (i), (val))
1224f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_zero(st) SKM_sk_zero(PKCS7_RECIP_INFO, (st))
1225f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_push(st, val) SKM_sk_push(PKCS7_RECIP_INFO, (st), (val))
1226f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_RECIP_INFO, (st), (val))
1227f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_find(st, val) SKM_sk_find(PKCS7_RECIP_INFO, (st), (val))
1228f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_find_ex(st, val) SKM_sk_find_ex(PKCS7_RECIP_INFO, (st), (val))
1229f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_delete(st, i) SKM_sk_delete(PKCS7_RECIP_INFO, (st), (i))
1230f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_RECIP_INFO, (st), (ptr))
1231f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_RECIP_INFO, (st), (val), (i))
1232f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_RECIP_INFO, (st), (cmp))
1233f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_dup(st) SKM_sk_dup(PKCS7_RECIP_INFO, st)
1234f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_RECIP_INFO, (st), (free_func))
1235f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_shift(st) SKM_sk_shift(PKCS7_RECIP_INFO, (st))
1236f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_pop(st) SKM_sk_pop(PKCS7_RECIP_INFO, (st))
1237f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_sort(st) SKM_sk_sort(PKCS7_RECIP_INFO, (st))
1238f5b1c8a1SJohn Marino #define sk_PKCS7_RECIP_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_RECIP_INFO, (st))
1239f5b1c8a1SJohn Marino 
1240f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_new(cmp) SKM_sk_new(PKCS7_SIGNER_INFO, (cmp))
1241f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_new_null() SKM_sk_new_null(PKCS7_SIGNER_INFO)
1242f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_free(st) SKM_sk_free(PKCS7_SIGNER_INFO, (st))
1243f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_num(st) SKM_sk_num(PKCS7_SIGNER_INFO, (st))
1244f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_value(st, i) SKM_sk_value(PKCS7_SIGNER_INFO, (st), (i))
1245f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_set(st, i, val) SKM_sk_set(PKCS7_SIGNER_INFO, (st), (i), (val))
1246f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_zero(st) SKM_sk_zero(PKCS7_SIGNER_INFO, (st))
1247f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_push(st, val) SKM_sk_push(PKCS7_SIGNER_INFO, (st), (val))
1248f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_SIGNER_INFO, (st), (val))
1249f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_find(st, val) SKM_sk_find(PKCS7_SIGNER_INFO, (st), (val))
1250f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_find_ex(st, val) SKM_sk_find_ex(PKCS7_SIGNER_INFO, (st), (val))
1251f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_delete(st, i) SKM_sk_delete(PKCS7_SIGNER_INFO, (st), (i))
1252f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_SIGNER_INFO, (st), (ptr))
1253f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_SIGNER_INFO, (st), (val), (i))
1254f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_SIGNER_INFO, (st), (cmp))
1255f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_dup(st) SKM_sk_dup(PKCS7_SIGNER_INFO, st)
1256f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_SIGNER_INFO, (st), (free_func))
1257f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_shift(st) SKM_sk_shift(PKCS7_SIGNER_INFO, (st))
1258f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_pop(st) SKM_sk_pop(PKCS7_SIGNER_INFO, (st))
1259f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_sort(st) SKM_sk_sort(PKCS7_SIGNER_INFO, (st))
1260f5b1c8a1SJohn Marino #define sk_PKCS7_SIGNER_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_SIGNER_INFO, (st))
1261f5b1c8a1SJohn Marino 
1262f5b1c8a1SJohn Marino #define sk_POLICYINFO_new(cmp) SKM_sk_new(POLICYINFO, (cmp))
1263f5b1c8a1SJohn Marino #define sk_POLICYINFO_new_null() SKM_sk_new_null(POLICYINFO)
1264f5b1c8a1SJohn Marino #define sk_POLICYINFO_free(st) SKM_sk_free(POLICYINFO, (st))
1265f5b1c8a1SJohn Marino #define sk_POLICYINFO_num(st) SKM_sk_num(POLICYINFO, (st))
1266f5b1c8a1SJohn Marino #define sk_POLICYINFO_value(st, i) SKM_sk_value(POLICYINFO, (st), (i))
1267f5b1c8a1SJohn Marino #define sk_POLICYINFO_set(st, i, val) SKM_sk_set(POLICYINFO, (st), (i), (val))
1268f5b1c8a1SJohn Marino #define sk_POLICYINFO_zero(st) SKM_sk_zero(POLICYINFO, (st))
1269f5b1c8a1SJohn Marino #define sk_POLICYINFO_push(st, val) SKM_sk_push(POLICYINFO, (st), (val))
1270f5b1c8a1SJohn Marino #define sk_POLICYINFO_unshift(st, val) SKM_sk_unshift(POLICYINFO, (st), (val))
1271f5b1c8a1SJohn Marino #define sk_POLICYINFO_find(st, val) SKM_sk_find(POLICYINFO, (st), (val))
1272f5b1c8a1SJohn Marino #define sk_POLICYINFO_find_ex(st, val) SKM_sk_find_ex(POLICYINFO, (st), (val))
1273f5b1c8a1SJohn Marino #define sk_POLICYINFO_delete(st, i) SKM_sk_delete(POLICYINFO, (st), (i))
1274f5b1c8a1SJohn Marino #define sk_POLICYINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYINFO, (st), (ptr))
1275f5b1c8a1SJohn Marino #define sk_POLICYINFO_insert(st, val, i) SKM_sk_insert(POLICYINFO, (st), (val), (i))
1276f5b1c8a1SJohn Marino #define sk_POLICYINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYINFO, (st), (cmp))
1277f5b1c8a1SJohn Marino #define sk_POLICYINFO_dup(st) SKM_sk_dup(POLICYINFO, st)
1278f5b1c8a1SJohn Marino #define sk_POLICYINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYINFO, (st), (free_func))
1279f5b1c8a1SJohn Marino #define sk_POLICYINFO_shift(st) SKM_sk_shift(POLICYINFO, (st))
1280f5b1c8a1SJohn Marino #define sk_POLICYINFO_pop(st) SKM_sk_pop(POLICYINFO, (st))
1281f5b1c8a1SJohn Marino #define sk_POLICYINFO_sort(st) SKM_sk_sort(POLICYINFO, (st))
1282f5b1c8a1SJohn Marino #define sk_POLICYINFO_is_sorted(st) SKM_sk_is_sorted(POLICYINFO, (st))
1283f5b1c8a1SJohn Marino 
1284f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_new(cmp) SKM_sk_new(POLICYQUALINFO, (cmp))
1285f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_new_null() SKM_sk_new_null(POLICYQUALINFO)
1286f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_free(st) SKM_sk_free(POLICYQUALINFO, (st))
1287f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_num(st) SKM_sk_num(POLICYQUALINFO, (st))
1288f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_value(st, i) SKM_sk_value(POLICYQUALINFO, (st), (i))
1289f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_set(st, i, val) SKM_sk_set(POLICYQUALINFO, (st), (i), (val))
1290f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_zero(st) SKM_sk_zero(POLICYQUALINFO, (st))
1291f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_push(st, val) SKM_sk_push(POLICYQUALINFO, (st), (val))
1292f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_unshift(st, val) SKM_sk_unshift(POLICYQUALINFO, (st), (val))
1293f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_find(st, val) SKM_sk_find(POLICYQUALINFO, (st), (val))
1294f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_find_ex(st, val) SKM_sk_find_ex(POLICYQUALINFO, (st), (val))
1295f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_delete(st, i) SKM_sk_delete(POLICYQUALINFO, (st), (i))
1296f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYQUALINFO, (st), (ptr))
1297f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_insert(st, val, i) SKM_sk_insert(POLICYQUALINFO, (st), (val), (i))
1298f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYQUALINFO, (st), (cmp))
1299f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_dup(st) SKM_sk_dup(POLICYQUALINFO, st)
1300f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYQUALINFO, (st), (free_func))
1301f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_shift(st) SKM_sk_shift(POLICYQUALINFO, (st))
1302f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_pop(st) SKM_sk_pop(POLICYQUALINFO, (st))
1303f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_sort(st) SKM_sk_sort(POLICYQUALINFO, (st))
1304f5b1c8a1SJohn Marino #define sk_POLICYQUALINFO_is_sorted(st) SKM_sk_is_sorted(POLICYQUALINFO, (st))
1305f5b1c8a1SJohn Marino 
1306f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_new(cmp) SKM_sk_new(POLICY_MAPPING, (cmp))
1307f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_new_null() SKM_sk_new_null(POLICY_MAPPING)
1308f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_free(st) SKM_sk_free(POLICY_MAPPING, (st))
1309f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_num(st) SKM_sk_num(POLICY_MAPPING, (st))
1310f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_value(st, i) SKM_sk_value(POLICY_MAPPING, (st), (i))
1311f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_set(st, i, val) SKM_sk_set(POLICY_MAPPING, (st), (i), (val))
1312f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_zero(st) SKM_sk_zero(POLICY_MAPPING, (st))
1313f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_push(st, val) SKM_sk_push(POLICY_MAPPING, (st), (val))
1314f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_unshift(st, val) SKM_sk_unshift(POLICY_MAPPING, (st), (val))
1315f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_find(st, val) SKM_sk_find(POLICY_MAPPING, (st), (val))
1316f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_find_ex(st, val) SKM_sk_find_ex(POLICY_MAPPING, (st), (val))
1317f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_delete(st, i) SKM_sk_delete(POLICY_MAPPING, (st), (i))
1318f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICY_MAPPING, (st), (ptr))
1319f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_insert(st, val, i) SKM_sk_insert(POLICY_MAPPING, (st), (val), (i))
1320f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICY_MAPPING, (st), (cmp))
1321f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_dup(st) SKM_sk_dup(POLICY_MAPPING, st)
1322f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_pop_free(st, free_func) SKM_sk_pop_free(POLICY_MAPPING, (st), (free_func))
1323f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_shift(st) SKM_sk_shift(POLICY_MAPPING, (st))
1324f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_pop(st) SKM_sk_pop(POLICY_MAPPING, (st))
1325f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_sort(st) SKM_sk_sort(POLICY_MAPPING, (st))
1326f5b1c8a1SJohn Marino #define sk_POLICY_MAPPING_is_sorted(st) SKM_sk_is_sorted(POLICY_MAPPING, (st))
1327f5b1c8a1SJohn Marino 
1328*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_new(cmp) SKM_sk_new(SCT, (cmp))
1329*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_new_null() SKM_sk_new_null(SCT)
1330*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_free(st) SKM_sk_free(SCT, (st))
1331*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_num(st) SKM_sk_num(SCT, (st))
1332*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_value(st, i) SKM_sk_value(SCT, (st), (i))
1333*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_set(st, i, val) SKM_sk_set(SCT, (st), (i), (val))
1334*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_zero(st) SKM_sk_zero(SCT, (st))
1335*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_push(st, val) SKM_sk_push(SCT, (st), (val))
1336*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_unshift(st, val) SKM_sk_unshift(SCT, (st), (val))
1337*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_find(st, val) SKM_sk_find(SCT, (st), (val))
1338*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_find_ex(st, val) SKM_sk_find_ex(SCT, (st), (val))
1339*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_delete(st, i) SKM_sk_delete(SCT, (st), (i))
1340*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_delete_ptr(st, ptr) SKM_sk_delete_ptr(SCT, (st), (ptr))
1341*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_insert(st, val, i) SKM_sk_insert(SCT, (st), (val), (i))
1342*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SCT, (st), (cmp))
1343*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_dup(st) SKM_sk_dup(SCT, st)
1344*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_pop_free(st, free_func) SKM_sk_pop_free(SCT, (st), (free_func))
1345*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_shift(st) SKM_sk_shift(SCT, (st))
1346*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_pop(st) SKM_sk_pop(SCT, (st))
1347*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_sort(st) SKM_sk_sort(SCT, (st))
1348*de0e0e4dSAntonio Huete Jimenez #define sk_SCT_is_sorted(st) SKM_sk_is_sorted(SCT, (st))
1349*de0e0e4dSAntonio Huete Jimenez 
1350f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_new(cmp) SKM_sk_new(SRTP_PROTECTION_PROFILE, (cmp))
1351f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_new_null() SKM_sk_new_null(SRTP_PROTECTION_PROFILE)
1352f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_free(st) SKM_sk_free(SRTP_PROTECTION_PROFILE, (st))
1353f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_num(st) SKM_sk_num(SRTP_PROTECTION_PROFILE, (st))
1354f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_value(st, i) SKM_sk_value(SRTP_PROTECTION_PROFILE, (st), (i))
1355f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_set(st, i, val) SKM_sk_set(SRTP_PROTECTION_PROFILE, (st), (i), (val))
1356f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_zero(st) SKM_sk_zero(SRTP_PROTECTION_PROFILE, (st))
1357f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_push(st, val) SKM_sk_push(SRTP_PROTECTION_PROFILE, (st), (val))
1358f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_unshift(st, val) SKM_sk_unshift(SRTP_PROTECTION_PROFILE, (st), (val))
1359f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_find(st, val) SKM_sk_find(SRTP_PROTECTION_PROFILE, (st), (val))
1360f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_find_ex(st, val) SKM_sk_find_ex(SRTP_PROTECTION_PROFILE, (st), (val))
1361f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_delete(st, i) SKM_sk_delete(SRTP_PROTECTION_PROFILE, (st), (i))
1362f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_delete_ptr(st, ptr) SKM_sk_delete_ptr(SRTP_PROTECTION_PROFILE, (st), (ptr))
1363f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_insert(st, val, i) SKM_sk_insert(SRTP_PROTECTION_PROFILE, (st), (val), (i))
1364f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SRTP_PROTECTION_PROFILE, (st), (cmp))
1365f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_dup(st) SKM_sk_dup(SRTP_PROTECTION_PROFILE, st)
1366f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_pop_free(st, free_func) SKM_sk_pop_free(SRTP_PROTECTION_PROFILE, (st), (free_func))
1367f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_shift(st) SKM_sk_shift(SRTP_PROTECTION_PROFILE, (st))
1368f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_pop(st) SKM_sk_pop(SRTP_PROTECTION_PROFILE, (st))
1369f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_sort(st) SKM_sk_sort(SRTP_PROTECTION_PROFILE, (st))
1370f5b1c8a1SJohn Marino #define sk_SRTP_PROTECTION_PROFILE_is_sorted(st) SKM_sk_is_sorted(SRTP_PROTECTION_PROFILE, (st))
1371f5b1c8a1SJohn Marino 
1372f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
1373f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
1374f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
1375f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
1376f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
1377f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
1378f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
1379f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
1380f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
1381f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
1382f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_find_ex(st, val) SKM_sk_find_ex(SSL_CIPHER, (st), (val))
1383f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_delete(st, i) SKM_sk_delete(SSL_CIPHER, (st), (i))
1384f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_CIPHER, (st), (ptr))
1385f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_insert(st, val, i) SKM_sk_insert(SSL_CIPHER, (st), (val), (i))
1386f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_CIPHER, (st), (cmp))
1387f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_dup(st) SKM_sk_dup(SSL_CIPHER, st)
1388f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_pop_free(st, free_func) SKM_sk_pop_free(SSL_CIPHER, (st), (free_func))
1389f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_shift(st) SKM_sk_shift(SSL_CIPHER, (st))
1390f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_pop(st) SKM_sk_pop(SSL_CIPHER, (st))
1391f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_sort(st) SKM_sk_sort(SSL_CIPHER, (st))
1392f5b1c8a1SJohn Marino #define sk_SSL_CIPHER_is_sorted(st) SKM_sk_is_sorted(SSL_CIPHER, (st))
1393f5b1c8a1SJohn Marino 
1394f5b1c8a1SJohn Marino #define sk_SSL_COMP_new(cmp) SKM_sk_new(SSL_COMP, (cmp))
1395f5b1c8a1SJohn Marino #define sk_SSL_COMP_new_null() SKM_sk_new_null(SSL_COMP)
1396f5b1c8a1SJohn Marino #define sk_SSL_COMP_free(st) SKM_sk_free(SSL_COMP, (st))
1397f5b1c8a1SJohn Marino #define sk_SSL_COMP_num(st) SKM_sk_num(SSL_COMP, (st))
1398f5b1c8a1SJohn Marino #define sk_SSL_COMP_value(st, i) SKM_sk_value(SSL_COMP, (st), (i))
1399f5b1c8a1SJohn Marino #define sk_SSL_COMP_set(st, i, val) SKM_sk_set(SSL_COMP, (st), (i), (val))
1400f5b1c8a1SJohn Marino #define sk_SSL_COMP_zero(st) SKM_sk_zero(SSL_COMP, (st))
1401f5b1c8a1SJohn Marino #define sk_SSL_COMP_push(st, val) SKM_sk_push(SSL_COMP, (st), (val))
1402f5b1c8a1SJohn Marino #define sk_SSL_COMP_unshift(st, val) SKM_sk_unshift(SSL_COMP, (st), (val))
1403f5b1c8a1SJohn Marino #define sk_SSL_COMP_find(st, val) SKM_sk_find(SSL_COMP, (st), (val))
1404f5b1c8a1SJohn Marino #define sk_SSL_COMP_find_ex(st, val) SKM_sk_find_ex(SSL_COMP, (st), (val))
1405f5b1c8a1SJohn Marino #define sk_SSL_COMP_delete(st, i) SKM_sk_delete(SSL_COMP, (st), (i))
1406f5b1c8a1SJohn Marino #define sk_SSL_COMP_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_COMP, (st), (ptr))
1407f5b1c8a1SJohn Marino #define sk_SSL_COMP_insert(st, val, i) SKM_sk_insert(SSL_COMP, (st), (val), (i))
1408f5b1c8a1SJohn Marino #define sk_SSL_COMP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_COMP, (st), (cmp))
1409f5b1c8a1SJohn Marino #define sk_SSL_COMP_dup(st) SKM_sk_dup(SSL_COMP, st)
1410f5b1c8a1SJohn Marino #define sk_SSL_COMP_pop_free(st, free_func) SKM_sk_pop_free(SSL_COMP, (st), (free_func))
1411f5b1c8a1SJohn Marino #define sk_SSL_COMP_shift(st) SKM_sk_shift(SSL_COMP, (st))
1412f5b1c8a1SJohn Marino #define sk_SSL_COMP_pop(st) SKM_sk_pop(SSL_COMP, (st))
1413f5b1c8a1SJohn Marino #define sk_SSL_COMP_sort(st) SKM_sk_sort(SSL_COMP, (st))
1414f5b1c8a1SJohn Marino #define sk_SSL_COMP_is_sorted(st) SKM_sk_is_sorted(SSL_COMP, (st))
1415f5b1c8a1SJohn Marino 
1416f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_new(cmp) SKM_sk_new(STACK_OF_X509_NAME_ENTRY, (cmp))
1417f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_new_null() SKM_sk_new_null(STACK_OF_X509_NAME_ENTRY)
1418f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_free(st) SKM_sk_free(STACK_OF_X509_NAME_ENTRY, (st))
1419f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_num(st) SKM_sk_num(STACK_OF_X509_NAME_ENTRY, (st))
1420f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_value(st, i) SKM_sk_value(STACK_OF_X509_NAME_ENTRY, (st), (i))
1421f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_set(st, i, val) SKM_sk_set(STACK_OF_X509_NAME_ENTRY, (st), (i), (val))
1422f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_zero(st) SKM_sk_zero(STACK_OF_X509_NAME_ENTRY, (st))
1423f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_push(st, val) SKM_sk_push(STACK_OF_X509_NAME_ENTRY, (st), (val))
1424f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_unshift(st, val) SKM_sk_unshift(STACK_OF_X509_NAME_ENTRY, (st), (val))
1425f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_find(st, val) SKM_sk_find(STACK_OF_X509_NAME_ENTRY, (st), (val))
1426f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_find_ex(st, val) SKM_sk_find_ex(STACK_OF_X509_NAME_ENTRY, (st), (val))
1427f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_delete(st, i) SKM_sk_delete(STACK_OF_X509_NAME_ENTRY, (st), (i))
1428f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(STACK_OF_X509_NAME_ENTRY, (st), (ptr))
1429f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_insert(st, val, i) SKM_sk_insert(STACK_OF_X509_NAME_ENTRY, (st), (val), (i))
1430f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STACK_OF_X509_NAME_ENTRY, (st), (cmp))
1431f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_dup(st) SKM_sk_dup(STACK_OF_X509_NAME_ENTRY, st)
1432f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(STACK_OF_X509_NAME_ENTRY, (st), (free_func))
1433f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_shift(st) SKM_sk_shift(STACK_OF_X509_NAME_ENTRY, (st))
1434f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_pop(st) SKM_sk_pop(STACK_OF_X509_NAME_ENTRY, (st))
1435f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_sort(st) SKM_sk_sort(STACK_OF_X509_NAME_ENTRY, (st))
1436f5b1c8a1SJohn Marino #define sk_STACK_OF_X509_NAME_ENTRY_is_sorted(st) SKM_sk_is_sorted(STACK_OF_X509_NAME_ENTRY, (st))
1437f5b1c8a1SJohn Marino 
1438f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_new(cmp) SKM_sk_new(STORE_ATTR_INFO, (cmp))
1439f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_new_null() SKM_sk_new_null(STORE_ATTR_INFO)
1440f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_free(st) SKM_sk_free(STORE_ATTR_INFO, (st))
1441f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_num(st) SKM_sk_num(STORE_ATTR_INFO, (st))
1442f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_value(st, i) SKM_sk_value(STORE_ATTR_INFO, (st), (i))
1443f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_set(st, i, val) SKM_sk_set(STORE_ATTR_INFO, (st), (i), (val))
1444f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_zero(st) SKM_sk_zero(STORE_ATTR_INFO, (st))
1445f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_push(st, val) SKM_sk_push(STORE_ATTR_INFO, (st), (val))
1446f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_unshift(st, val) SKM_sk_unshift(STORE_ATTR_INFO, (st), (val))
1447f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_find(st, val) SKM_sk_find(STORE_ATTR_INFO, (st), (val))
1448f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_find_ex(st, val) SKM_sk_find_ex(STORE_ATTR_INFO, (st), (val))
1449f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_delete(st, i) SKM_sk_delete(STORE_ATTR_INFO, (st), (i))
1450f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(STORE_ATTR_INFO, (st), (ptr))
1451f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_insert(st, val, i) SKM_sk_insert(STORE_ATTR_INFO, (st), (val), (i))
1452f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STORE_ATTR_INFO, (st), (cmp))
1453f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_dup(st) SKM_sk_dup(STORE_ATTR_INFO, st)
1454f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_pop_free(st, free_func) SKM_sk_pop_free(STORE_ATTR_INFO, (st), (free_func))
1455f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_shift(st) SKM_sk_shift(STORE_ATTR_INFO, (st))
1456f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_pop(st) SKM_sk_pop(STORE_ATTR_INFO, (st))
1457f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_sort(st) SKM_sk_sort(STORE_ATTR_INFO, (st))
1458f5b1c8a1SJohn Marino #define sk_STORE_ATTR_INFO_is_sorted(st) SKM_sk_is_sorted(STORE_ATTR_INFO, (st))
1459f5b1c8a1SJohn Marino 
1460f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_new(cmp) SKM_sk_new(STORE_OBJECT, (cmp))
1461f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_new_null() SKM_sk_new_null(STORE_OBJECT)
1462f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_free(st) SKM_sk_free(STORE_OBJECT, (st))
1463f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_num(st) SKM_sk_num(STORE_OBJECT, (st))
1464f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_value(st, i) SKM_sk_value(STORE_OBJECT, (st), (i))
1465f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_set(st, i, val) SKM_sk_set(STORE_OBJECT, (st), (i), (val))
1466f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_zero(st) SKM_sk_zero(STORE_OBJECT, (st))
1467f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_push(st, val) SKM_sk_push(STORE_OBJECT, (st), (val))
1468f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_unshift(st, val) SKM_sk_unshift(STORE_OBJECT, (st), (val))
1469f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_find(st, val) SKM_sk_find(STORE_OBJECT, (st), (val))
1470f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_find_ex(st, val) SKM_sk_find_ex(STORE_OBJECT, (st), (val))
1471f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_delete(st, i) SKM_sk_delete(STORE_OBJECT, (st), (i))
1472f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(STORE_OBJECT, (st), (ptr))
1473f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_insert(st, val, i) SKM_sk_insert(STORE_OBJECT, (st), (val), (i))
1474f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STORE_OBJECT, (st), (cmp))
1475f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_dup(st) SKM_sk_dup(STORE_OBJECT, st)
1476f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(STORE_OBJECT, (st), (free_func))
1477f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_shift(st) SKM_sk_shift(STORE_OBJECT, (st))
1478f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_pop(st) SKM_sk_pop(STORE_OBJECT, (st))
1479f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_sort(st) SKM_sk_sort(STORE_OBJECT, (st))
1480f5b1c8a1SJohn Marino #define sk_STORE_OBJECT_is_sorted(st) SKM_sk_is_sorted(STORE_OBJECT, (st))
1481f5b1c8a1SJohn Marino 
1482f5b1c8a1SJohn Marino #define sk_SXNETID_new(cmp) SKM_sk_new(SXNETID, (cmp))
1483f5b1c8a1SJohn Marino #define sk_SXNETID_new_null() SKM_sk_new_null(SXNETID)
1484f5b1c8a1SJohn Marino #define sk_SXNETID_free(st) SKM_sk_free(SXNETID, (st))
1485f5b1c8a1SJohn Marino #define sk_SXNETID_num(st) SKM_sk_num(SXNETID, (st))
1486f5b1c8a1SJohn Marino #define sk_SXNETID_value(st, i) SKM_sk_value(SXNETID, (st), (i))
1487f5b1c8a1SJohn Marino #define sk_SXNETID_set(st, i, val) SKM_sk_set(SXNETID, (st), (i), (val))
1488f5b1c8a1SJohn Marino #define sk_SXNETID_zero(st) SKM_sk_zero(SXNETID, (st))
1489f5b1c8a1SJohn Marino #define sk_SXNETID_push(st, val) SKM_sk_push(SXNETID, (st), (val))
1490f5b1c8a1SJohn Marino #define sk_SXNETID_unshift(st, val) SKM_sk_unshift(SXNETID, (st), (val))
1491f5b1c8a1SJohn Marino #define sk_SXNETID_find(st, val) SKM_sk_find(SXNETID, (st), (val))
1492f5b1c8a1SJohn Marino #define sk_SXNETID_find_ex(st, val) SKM_sk_find_ex(SXNETID, (st), (val))
1493f5b1c8a1SJohn Marino #define sk_SXNETID_delete(st, i) SKM_sk_delete(SXNETID, (st), (i))
1494f5b1c8a1SJohn Marino #define sk_SXNETID_delete_ptr(st, ptr) SKM_sk_delete_ptr(SXNETID, (st), (ptr))
1495f5b1c8a1SJohn Marino #define sk_SXNETID_insert(st, val, i) SKM_sk_insert(SXNETID, (st), (val), (i))
1496f5b1c8a1SJohn Marino #define sk_SXNETID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SXNETID, (st), (cmp))
1497f5b1c8a1SJohn Marino #define sk_SXNETID_dup(st) SKM_sk_dup(SXNETID, st)
1498f5b1c8a1SJohn Marino #define sk_SXNETID_pop_free(st, free_func) SKM_sk_pop_free(SXNETID, (st), (free_func))
1499f5b1c8a1SJohn Marino #define sk_SXNETID_shift(st) SKM_sk_shift(SXNETID, (st))
1500f5b1c8a1SJohn Marino #define sk_SXNETID_pop(st) SKM_sk_pop(SXNETID, (st))
1501f5b1c8a1SJohn Marino #define sk_SXNETID_sort(st) SKM_sk_sort(SXNETID, (st))
1502f5b1c8a1SJohn Marino #define sk_SXNETID_is_sorted(st) SKM_sk_is_sorted(SXNETID, (st))
1503f5b1c8a1SJohn Marino 
1504f5b1c8a1SJohn Marino #define sk_UI_STRING_new(cmp) SKM_sk_new(UI_STRING, (cmp))
1505f5b1c8a1SJohn Marino #define sk_UI_STRING_new_null() SKM_sk_new_null(UI_STRING)
1506f5b1c8a1SJohn Marino #define sk_UI_STRING_free(st) SKM_sk_free(UI_STRING, (st))
1507f5b1c8a1SJohn Marino #define sk_UI_STRING_num(st) SKM_sk_num(UI_STRING, (st))
1508f5b1c8a1SJohn Marino #define sk_UI_STRING_value(st, i) SKM_sk_value(UI_STRING, (st), (i))
1509f5b1c8a1SJohn Marino #define sk_UI_STRING_set(st, i, val) SKM_sk_set(UI_STRING, (st), (i), (val))
1510f5b1c8a1SJohn Marino #define sk_UI_STRING_zero(st) SKM_sk_zero(UI_STRING, (st))
1511f5b1c8a1SJohn Marino #define sk_UI_STRING_push(st, val) SKM_sk_push(UI_STRING, (st), (val))
1512f5b1c8a1SJohn Marino #define sk_UI_STRING_unshift(st, val) SKM_sk_unshift(UI_STRING, (st), (val))
1513f5b1c8a1SJohn Marino #define sk_UI_STRING_find(st, val) SKM_sk_find(UI_STRING, (st), (val))
1514f5b1c8a1SJohn Marino #define sk_UI_STRING_find_ex(st, val) SKM_sk_find_ex(UI_STRING, (st), (val))
1515f5b1c8a1SJohn Marino #define sk_UI_STRING_delete(st, i) SKM_sk_delete(UI_STRING, (st), (i))
1516f5b1c8a1SJohn Marino #define sk_UI_STRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(UI_STRING, (st), (ptr))
1517f5b1c8a1SJohn Marino #define sk_UI_STRING_insert(st, val, i) SKM_sk_insert(UI_STRING, (st), (val), (i))
1518f5b1c8a1SJohn Marino #define sk_UI_STRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(UI_STRING, (st), (cmp))
1519f5b1c8a1SJohn Marino #define sk_UI_STRING_dup(st) SKM_sk_dup(UI_STRING, st)
1520f5b1c8a1SJohn Marino #define sk_UI_STRING_pop_free(st, free_func) SKM_sk_pop_free(UI_STRING, (st), (free_func))
1521f5b1c8a1SJohn Marino #define sk_UI_STRING_shift(st) SKM_sk_shift(UI_STRING, (st))
1522f5b1c8a1SJohn Marino #define sk_UI_STRING_pop(st) SKM_sk_pop(UI_STRING, (st))
1523f5b1c8a1SJohn Marino #define sk_UI_STRING_sort(st) SKM_sk_sort(UI_STRING, (st))
1524f5b1c8a1SJohn Marino #define sk_UI_STRING_is_sorted(st) SKM_sk_is_sorted(UI_STRING, (st))
1525f5b1c8a1SJohn Marino 
1526f5b1c8a1SJohn Marino #define sk_X509_new(cmp) SKM_sk_new(X509, (cmp))
1527f5b1c8a1SJohn Marino #define sk_X509_new_null() SKM_sk_new_null(X509)
1528f5b1c8a1SJohn Marino #define sk_X509_free(st) SKM_sk_free(X509, (st))
1529f5b1c8a1SJohn Marino #define sk_X509_num(st) SKM_sk_num(X509, (st))
1530f5b1c8a1SJohn Marino #define sk_X509_value(st, i) SKM_sk_value(X509, (st), (i))
1531f5b1c8a1SJohn Marino #define sk_X509_set(st, i, val) SKM_sk_set(X509, (st), (i), (val))
1532f5b1c8a1SJohn Marino #define sk_X509_zero(st) SKM_sk_zero(X509, (st))
1533f5b1c8a1SJohn Marino #define sk_X509_push(st, val) SKM_sk_push(X509, (st), (val))
1534f5b1c8a1SJohn Marino #define sk_X509_unshift(st, val) SKM_sk_unshift(X509, (st), (val))
1535f5b1c8a1SJohn Marino #define sk_X509_find(st, val) SKM_sk_find(X509, (st), (val))
1536f5b1c8a1SJohn Marino #define sk_X509_find_ex(st, val) SKM_sk_find_ex(X509, (st), (val))
1537f5b1c8a1SJohn Marino #define sk_X509_delete(st, i) SKM_sk_delete(X509, (st), (i))
1538f5b1c8a1SJohn Marino #define sk_X509_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509, (st), (ptr))
1539f5b1c8a1SJohn Marino #define sk_X509_insert(st, val, i) SKM_sk_insert(X509, (st), (val), (i))
1540f5b1c8a1SJohn Marino #define sk_X509_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509, (st), (cmp))
1541f5b1c8a1SJohn Marino #define sk_X509_dup(st) SKM_sk_dup(X509, st)
1542f5b1c8a1SJohn Marino #define sk_X509_pop_free(st, free_func) SKM_sk_pop_free(X509, (st), (free_func))
1543f5b1c8a1SJohn Marino #define sk_X509_shift(st) SKM_sk_shift(X509, (st))
1544f5b1c8a1SJohn Marino #define sk_X509_pop(st) SKM_sk_pop(X509, (st))
1545f5b1c8a1SJohn Marino #define sk_X509_sort(st) SKM_sk_sort(X509, (st))
1546f5b1c8a1SJohn Marino #define sk_X509_is_sorted(st) SKM_sk_is_sorted(X509, (st))
1547f5b1c8a1SJohn Marino 
1548f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_new(cmp) SKM_sk_new(X509V3_EXT_METHOD, (cmp))
1549f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_new_null() SKM_sk_new_null(X509V3_EXT_METHOD)
1550f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_free(st) SKM_sk_free(X509V3_EXT_METHOD, (st))
1551f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_num(st) SKM_sk_num(X509V3_EXT_METHOD, (st))
1552f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_value(st, i) SKM_sk_value(X509V3_EXT_METHOD, (st), (i))
1553f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_set(st, i, val) SKM_sk_set(X509V3_EXT_METHOD, (st), (i), (val))
1554f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_zero(st) SKM_sk_zero(X509V3_EXT_METHOD, (st))
1555f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_push(st, val) SKM_sk_push(X509V3_EXT_METHOD, (st), (val))
1556f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_unshift(st, val) SKM_sk_unshift(X509V3_EXT_METHOD, (st), (val))
1557f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_find(st, val) SKM_sk_find(X509V3_EXT_METHOD, (st), (val))
1558f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_find_ex(st, val) SKM_sk_find_ex(X509V3_EXT_METHOD, (st), (val))
1559f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_delete(st, i) SKM_sk_delete(X509V3_EXT_METHOD, (st), (i))
1560f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509V3_EXT_METHOD, (st), (ptr))
1561f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_insert(st, val, i) SKM_sk_insert(X509V3_EXT_METHOD, (st), (val), (i))
1562f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509V3_EXT_METHOD, (st), (cmp))
1563f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_dup(st) SKM_sk_dup(X509V3_EXT_METHOD, st)
1564f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_pop_free(st, free_func) SKM_sk_pop_free(X509V3_EXT_METHOD, (st), (free_func))
1565f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_shift(st) SKM_sk_shift(X509V3_EXT_METHOD, (st))
1566f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_pop(st) SKM_sk_pop(X509V3_EXT_METHOD, (st))
1567f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_sort(st) SKM_sk_sort(X509V3_EXT_METHOD, (st))
1568f5b1c8a1SJohn Marino #define sk_X509V3_EXT_METHOD_is_sorted(st) SKM_sk_is_sorted(X509V3_EXT_METHOD, (st))
1569f5b1c8a1SJohn Marino 
1570f5b1c8a1SJohn Marino #define sk_X509_ALGOR_new(cmp) SKM_sk_new(X509_ALGOR, (cmp))
1571f5b1c8a1SJohn Marino #define sk_X509_ALGOR_new_null() SKM_sk_new_null(X509_ALGOR)
1572f5b1c8a1SJohn Marino #define sk_X509_ALGOR_free(st) SKM_sk_free(X509_ALGOR, (st))
1573f5b1c8a1SJohn Marino #define sk_X509_ALGOR_num(st) SKM_sk_num(X509_ALGOR, (st))
1574f5b1c8a1SJohn Marino #define sk_X509_ALGOR_value(st, i) SKM_sk_value(X509_ALGOR, (st), (i))
1575f5b1c8a1SJohn Marino #define sk_X509_ALGOR_set(st, i, val) SKM_sk_set(X509_ALGOR, (st), (i), (val))
1576f5b1c8a1SJohn Marino #define sk_X509_ALGOR_zero(st) SKM_sk_zero(X509_ALGOR, (st))
1577f5b1c8a1SJohn Marino #define sk_X509_ALGOR_push(st, val) SKM_sk_push(X509_ALGOR, (st), (val))
1578f5b1c8a1SJohn Marino #define sk_X509_ALGOR_unshift(st, val) SKM_sk_unshift(X509_ALGOR, (st), (val))
1579f5b1c8a1SJohn Marino #define sk_X509_ALGOR_find(st, val) SKM_sk_find(X509_ALGOR, (st), (val))
1580f5b1c8a1SJohn Marino #define sk_X509_ALGOR_find_ex(st, val) SKM_sk_find_ex(X509_ALGOR, (st), (val))
1581f5b1c8a1SJohn Marino #define sk_X509_ALGOR_delete(st, i) SKM_sk_delete(X509_ALGOR, (st), (i))
1582f5b1c8a1SJohn Marino #define sk_X509_ALGOR_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ALGOR, (st), (ptr))
1583f5b1c8a1SJohn Marino #define sk_X509_ALGOR_insert(st, val, i) SKM_sk_insert(X509_ALGOR, (st), (val), (i))
1584f5b1c8a1SJohn Marino #define sk_X509_ALGOR_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ALGOR, (st), (cmp))
1585f5b1c8a1SJohn Marino #define sk_X509_ALGOR_dup(st) SKM_sk_dup(X509_ALGOR, st)
1586f5b1c8a1SJohn Marino #define sk_X509_ALGOR_pop_free(st, free_func) SKM_sk_pop_free(X509_ALGOR, (st), (free_func))
1587f5b1c8a1SJohn Marino #define sk_X509_ALGOR_shift(st) SKM_sk_shift(X509_ALGOR, (st))
1588f5b1c8a1SJohn Marino #define sk_X509_ALGOR_pop(st) SKM_sk_pop(X509_ALGOR, (st))
1589f5b1c8a1SJohn Marino #define sk_X509_ALGOR_sort(st) SKM_sk_sort(X509_ALGOR, (st))
1590f5b1c8a1SJohn Marino #define sk_X509_ALGOR_is_sorted(st) SKM_sk_is_sorted(X509_ALGOR, (st))
1591f5b1c8a1SJohn Marino 
1592f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_new(cmp) SKM_sk_new(X509_ATTRIBUTE, (cmp))
1593f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_new_null() SKM_sk_new_null(X509_ATTRIBUTE)
1594f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_free(st) SKM_sk_free(X509_ATTRIBUTE, (st))
1595f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_num(st) SKM_sk_num(X509_ATTRIBUTE, (st))
1596f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_value(st, i) SKM_sk_value(X509_ATTRIBUTE, (st), (i))
1597f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_set(st, i, val) SKM_sk_set(X509_ATTRIBUTE, (st), (i), (val))
1598f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_zero(st) SKM_sk_zero(X509_ATTRIBUTE, (st))
1599f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_push(st, val) SKM_sk_push(X509_ATTRIBUTE, (st), (val))
1600f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_unshift(st, val) SKM_sk_unshift(X509_ATTRIBUTE, (st), (val))
1601f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_find(st, val) SKM_sk_find(X509_ATTRIBUTE, (st), (val))
1602f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_find_ex(st, val) SKM_sk_find_ex(X509_ATTRIBUTE, (st), (val))
1603f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_delete(st, i) SKM_sk_delete(X509_ATTRIBUTE, (st), (i))
1604f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ATTRIBUTE, (st), (ptr))
1605f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_insert(st, val, i) SKM_sk_insert(X509_ATTRIBUTE, (st), (val), (i))
1606f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ATTRIBUTE, (st), (cmp))
1607f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_dup(st) SKM_sk_dup(X509_ATTRIBUTE, st)
1608f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_pop_free(st, free_func) SKM_sk_pop_free(X509_ATTRIBUTE, (st), (free_func))
1609f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_shift(st) SKM_sk_shift(X509_ATTRIBUTE, (st))
1610f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_pop(st) SKM_sk_pop(X509_ATTRIBUTE, (st))
1611f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_sort(st) SKM_sk_sort(X509_ATTRIBUTE, (st))
1612f5b1c8a1SJohn Marino #define sk_X509_ATTRIBUTE_is_sorted(st) SKM_sk_is_sorted(X509_ATTRIBUTE, (st))
1613f5b1c8a1SJohn Marino 
1614f5b1c8a1SJohn Marino #define sk_X509_CRL_new(cmp) SKM_sk_new(X509_CRL, (cmp))
1615f5b1c8a1SJohn Marino #define sk_X509_CRL_new_null() SKM_sk_new_null(X509_CRL)
1616f5b1c8a1SJohn Marino #define sk_X509_CRL_free(st) SKM_sk_free(X509_CRL, (st))
1617f5b1c8a1SJohn Marino #define sk_X509_CRL_num(st) SKM_sk_num(X509_CRL, (st))
1618f5b1c8a1SJohn Marino #define sk_X509_CRL_value(st, i) SKM_sk_value(X509_CRL, (st), (i))
1619f5b1c8a1SJohn Marino #define sk_X509_CRL_set(st, i, val) SKM_sk_set(X509_CRL, (st), (i), (val))
1620f5b1c8a1SJohn Marino #define sk_X509_CRL_zero(st) SKM_sk_zero(X509_CRL, (st))
1621f5b1c8a1SJohn Marino #define sk_X509_CRL_push(st, val) SKM_sk_push(X509_CRL, (st), (val))
1622f5b1c8a1SJohn Marino #define sk_X509_CRL_unshift(st, val) SKM_sk_unshift(X509_CRL, (st), (val))
1623f5b1c8a1SJohn Marino #define sk_X509_CRL_find(st, val) SKM_sk_find(X509_CRL, (st), (val))
1624f5b1c8a1SJohn Marino #define sk_X509_CRL_find_ex(st, val) SKM_sk_find_ex(X509_CRL, (st), (val))
1625f5b1c8a1SJohn Marino #define sk_X509_CRL_delete(st, i) SKM_sk_delete(X509_CRL, (st), (i))
1626f5b1c8a1SJohn Marino #define sk_X509_CRL_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_CRL, (st), (ptr))
1627f5b1c8a1SJohn Marino #define sk_X509_CRL_insert(st, val, i) SKM_sk_insert(X509_CRL, (st), (val), (i))
1628f5b1c8a1SJohn Marino #define sk_X509_CRL_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_CRL, (st), (cmp))
1629f5b1c8a1SJohn Marino #define sk_X509_CRL_dup(st) SKM_sk_dup(X509_CRL, st)
1630f5b1c8a1SJohn Marino #define sk_X509_CRL_pop_free(st, free_func) SKM_sk_pop_free(X509_CRL, (st), (free_func))
1631f5b1c8a1SJohn Marino #define sk_X509_CRL_shift(st) SKM_sk_shift(X509_CRL, (st))
1632f5b1c8a1SJohn Marino #define sk_X509_CRL_pop(st) SKM_sk_pop(X509_CRL, (st))
1633f5b1c8a1SJohn Marino #define sk_X509_CRL_sort(st) SKM_sk_sort(X509_CRL, (st))
1634f5b1c8a1SJohn Marino #define sk_X509_CRL_is_sorted(st) SKM_sk_is_sorted(X509_CRL, (st))
1635f5b1c8a1SJohn Marino 
1636f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_new(cmp) SKM_sk_new(X509_EXTENSION, (cmp))
1637f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_new_null() SKM_sk_new_null(X509_EXTENSION)
1638f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_free(st) SKM_sk_free(X509_EXTENSION, (st))
1639f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_num(st) SKM_sk_num(X509_EXTENSION, (st))
1640f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_value(st, i) SKM_sk_value(X509_EXTENSION, (st), (i))
1641f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_set(st, i, val) SKM_sk_set(X509_EXTENSION, (st), (i), (val))
1642f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_zero(st) SKM_sk_zero(X509_EXTENSION, (st))
1643f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_push(st, val) SKM_sk_push(X509_EXTENSION, (st), (val))
1644f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_unshift(st, val) SKM_sk_unshift(X509_EXTENSION, (st), (val))
1645f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_find(st, val) SKM_sk_find(X509_EXTENSION, (st), (val))
1646f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_find_ex(st, val) SKM_sk_find_ex(X509_EXTENSION, (st), (val))
1647f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_delete(st, i) SKM_sk_delete(X509_EXTENSION, (st), (i))
1648f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_EXTENSION, (st), (ptr))
1649f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_insert(st, val, i) SKM_sk_insert(X509_EXTENSION, (st), (val), (i))
1650f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_EXTENSION, (st), (cmp))
1651f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_dup(st) SKM_sk_dup(X509_EXTENSION, st)
1652f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_pop_free(st, free_func) SKM_sk_pop_free(X509_EXTENSION, (st), (free_func))
1653f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_shift(st) SKM_sk_shift(X509_EXTENSION, (st))
1654f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_pop(st) SKM_sk_pop(X509_EXTENSION, (st))
1655f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_sort(st) SKM_sk_sort(X509_EXTENSION, (st))
1656f5b1c8a1SJohn Marino #define sk_X509_EXTENSION_is_sorted(st) SKM_sk_is_sorted(X509_EXTENSION, (st))
1657f5b1c8a1SJohn Marino 
1658f5b1c8a1SJohn Marino #define sk_X509_INFO_new(cmp) SKM_sk_new(X509_INFO, (cmp))
1659f5b1c8a1SJohn Marino #define sk_X509_INFO_new_null() SKM_sk_new_null(X509_INFO)
1660f5b1c8a1SJohn Marino #define sk_X509_INFO_free(st) SKM_sk_free(X509_INFO, (st))
1661f5b1c8a1SJohn Marino #define sk_X509_INFO_num(st) SKM_sk_num(X509_INFO, (st))
1662f5b1c8a1SJohn Marino #define sk_X509_INFO_value(st, i) SKM_sk_value(X509_INFO, (st), (i))
1663f5b1c8a1SJohn Marino #define sk_X509_INFO_set(st, i, val) SKM_sk_set(X509_INFO, (st), (i), (val))
1664f5b1c8a1SJohn Marino #define sk_X509_INFO_zero(st) SKM_sk_zero(X509_INFO, (st))
1665f5b1c8a1SJohn Marino #define sk_X509_INFO_push(st, val) SKM_sk_push(X509_INFO, (st), (val))
1666f5b1c8a1SJohn Marino #define sk_X509_INFO_unshift(st, val) SKM_sk_unshift(X509_INFO, (st), (val))
1667f5b1c8a1SJohn Marino #define sk_X509_INFO_find(st, val) SKM_sk_find(X509_INFO, (st), (val))
1668f5b1c8a1SJohn Marino #define sk_X509_INFO_find_ex(st, val) SKM_sk_find_ex(X509_INFO, (st), (val))
1669f5b1c8a1SJohn Marino #define sk_X509_INFO_delete(st, i) SKM_sk_delete(X509_INFO, (st), (i))
1670f5b1c8a1SJohn Marino #define sk_X509_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_INFO, (st), (ptr))
1671f5b1c8a1SJohn Marino #define sk_X509_INFO_insert(st, val, i) SKM_sk_insert(X509_INFO, (st), (val), (i))
1672f5b1c8a1SJohn Marino #define sk_X509_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_INFO, (st), (cmp))
1673f5b1c8a1SJohn Marino #define sk_X509_INFO_dup(st) SKM_sk_dup(X509_INFO, st)
1674f5b1c8a1SJohn Marino #define sk_X509_INFO_pop_free(st, free_func) SKM_sk_pop_free(X509_INFO, (st), (free_func))
1675f5b1c8a1SJohn Marino #define sk_X509_INFO_shift(st) SKM_sk_shift(X509_INFO, (st))
1676f5b1c8a1SJohn Marino #define sk_X509_INFO_pop(st) SKM_sk_pop(X509_INFO, (st))
1677f5b1c8a1SJohn Marino #define sk_X509_INFO_sort(st) SKM_sk_sort(X509_INFO, (st))
1678f5b1c8a1SJohn Marino #define sk_X509_INFO_is_sorted(st) SKM_sk_is_sorted(X509_INFO, (st))
1679f5b1c8a1SJohn Marino 
1680f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_new(cmp) SKM_sk_new(X509_LOOKUP, (cmp))
1681f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_new_null() SKM_sk_new_null(X509_LOOKUP)
1682f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_free(st) SKM_sk_free(X509_LOOKUP, (st))
1683f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_num(st) SKM_sk_num(X509_LOOKUP, (st))
1684f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_value(st, i) SKM_sk_value(X509_LOOKUP, (st), (i))
1685f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_set(st, i, val) SKM_sk_set(X509_LOOKUP, (st), (i), (val))
1686f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_zero(st) SKM_sk_zero(X509_LOOKUP, (st))
1687f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_push(st, val) SKM_sk_push(X509_LOOKUP, (st), (val))
1688f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_unshift(st, val) SKM_sk_unshift(X509_LOOKUP, (st), (val))
1689f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_find(st, val) SKM_sk_find(X509_LOOKUP, (st), (val))
1690f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_find_ex(st, val) SKM_sk_find_ex(X509_LOOKUP, (st), (val))
1691f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_delete(st, i) SKM_sk_delete(X509_LOOKUP, (st), (i))
1692f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_LOOKUP, (st), (ptr))
1693f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_insert(st, val, i) SKM_sk_insert(X509_LOOKUP, (st), (val), (i))
1694f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_LOOKUP, (st), (cmp))
1695f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_dup(st) SKM_sk_dup(X509_LOOKUP, st)
1696f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_pop_free(st, free_func) SKM_sk_pop_free(X509_LOOKUP, (st), (free_func))
1697f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_shift(st) SKM_sk_shift(X509_LOOKUP, (st))
1698f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_pop(st) SKM_sk_pop(X509_LOOKUP, (st))
1699f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_sort(st) SKM_sk_sort(X509_LOOKUP, (st))
1700f5b1c8a1SJohn Marino #define sk_X509_LOOKUP_is_sorted(st) SKM_sk_is_sorted(X509_LOOKUP, (st))
1701f5b1c8a1SJohn Marino 
1702f5b1c8a1SJohn Marino #define sk_X509_NAME_new(cmp) SKM_sk_new(X509_NAME, (cmp))
1703f5b1c8a1SJohn Marino #define sk_X509_NAME_new_null() SKM_sk_new_null(X509_NAME)
1704f5b1c8a1SJohn Marino #define sk_X509_NAME_free(st) SKM_sk_free(X509_NAME, (st))
1705f5b1c8a1SJohn Marino #define sk_X509_NAME_num(st) SKM_sk_num(X509_NAME, (st))
1706f5b1c8a1SJohn Marino #define sk_X509_NAME_value(st, i) SKM_sk_value(X509_NAME, (st), (i))
1707f5b1c8a1SJohn Marino #define sk_X509_NAME_set(st, i, val) SKM_sk_set(X509_NAME, (st), (i), (val))
1708f5b1c8a1SJohn Marino #define sk_X509_NAME_zero(st) SKM_sk_zero(X509_NAME, (st))
1709f5b1c8a1SJohn Marino #define sk_X509_NAME_push(st, val) SKM_sk_push(X509_NAME, (st), (val))
1710f5b1c8a1SJohn Marino #define sk_X509_NAME_unshift(st, val) SKM_sk_unshift(X509_NAME, (st), (val))
1711f5b1c8a1SJohn Marino #define sk_X509_NAME_find(st, val) SKM_sk_find(X509_NAME, (st), (val))
1712f5b1c8a1SJohn Marino #define sk_X509_NAME_find_ex(st, val) SKM_sk_find_ex(X509_NAME, (st), (val))
1713f5b1c8a1SJohn Marino #define sk_X509_NAME_delete(st, i) SKM_sk_delete(X509_NAME, (st), (i))
1714f5b1c8a1SJohn Marino #define sk_X509_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME, (st), (ptr))
1715f5b1c8a1SJohn Marino #define sk_X509_NAME_insert(st, val, i) SKM_sk_insert(X509_NAME, (st), (val), (i))
1716f5b1c8a1SJohn Marino #define sk_X509_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME, (st), (cmp))
1717f5b1c8a1SJohn Marino #define sk_X509_NAME_dup(st) SKM_sk_dup(X509_NAME, st)
1718f5b1c8a1SJohn Marino #define sk_X509_NAME_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME, (st), (free_func))
1719f5b1c8a1SJohn Marino #define sk_X509_NAME_shift(st) SKM_sk_shift(X509_NAME, (st))
1720f5b1c8a1SJohn Marino #define sk_X509_NAME_pop(st) SKM_sk_pop(X509_NAME, (st))
1721f5b1c8a1SJohn Marino #define sk_X509_NAME_sort(st) SKM_sk_sort(X509_NAME, (st))
1722f5b1c8a1SJohn Marino #define sk_X509_NAME_is_sorted(st) SKM_sk_is_sorted(X509_NAME, (st))
1723f5b1c8a1SJohn Marino 
1724f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_new(cmp) SKM_sk_new(X509_NAME_ENTRY, (cmp))
1725f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_new_null() SKM_sk_new_null(X509_NAME_ENTRY)
1726f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_free(st) SKM_sk_free(X509_NAME_ENTRY, (st))
1727f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_num(st) SKM_sk_num(X509_NAME_ENTRY, (st))
1728f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_value(st, i) SKM_sk_value(X509_NAME_ENTRY, (st), (i))
1729f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_set(st, i, val) SKM_sk_set(X509_NAME_ENTRY, (st), (i), (val))
1730f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_zero(st) SKM_sk_zero(X509_NAME_ENTRY, (st))
1731f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_push(st, val) SKM_sk_push(X509_NAME_ENTRY, (st), (val))
1732f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_unshift(st, val) SKM_sk_unshift(X509_NAME_ENTRY, (st), (val))
1733f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_find(st, val) SKM_sk_find(X509_NAME_ENTRY, (st), (val))
1734f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_find_ex(st, val) SKM_sk_find_ex(X509_NAME_ENTRY, (st), (val))
1735f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_delete(st, i) SKM_sk_delete(X509_NAME_ENTRY, (st), (i))
1736f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME_ENTRY, (st), (ptr))
1737f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_insert(st, val, i) SKM_sk_insert(X509_NAME_ENTRY, (st), (val), (i))
1738f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME_ENTRY, (st), (cmp))
1739f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_dup(st) SKM_sk_dup(X509_NAME_ENTRY, st)
1740f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME_ENTRY, (st), (free_func))
1741f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_shift(st) SKM_sk_shift(X509_NAME_ENTRY, (st))
1742f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_pop(st) SKM_sk_pop(X509_NAME_ENTRY, (st))
1743f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_sort(st) SKM_sk_sort(X509_NAME_ENTRY, (st))
1744f5b1c8a1SJohn Marino #define sk_X509_NAME_ENTRY_is_sorted(st) SKM_sk_is_sorted(X509_NAME_ENTRY, (st))
1745f5b1c8a1SJohn Marino 
1746f5b1c8a1SJohn Marino #define sk_X509_OBJECT_new(cmp) SKM_sk_new(X509_OBJECT, (cmp))
1747f5b1c8a1SJohn Marino #define sk_X509_OBJECT_new_null() SKM_sk_new_null(X509_OBJECT)
1748f5b1c8a1SJohn Marino #define sk_X509_OBJECT_free(st) SKM_sk_free(X509_OBJECT, (st))
1749f5b1c8a1SJohn Marino #define sk_X509_OBJECT_num(st) SKM_sk_num(X509_OBJECT, (st))
1750f5b1c8a1SJohn Marino #define sk_X509_OBJECT_value(st, i) SKM_sk_value(X509_OBJECT, (st), (i))
1751f5b1c8a1SJohn Marino #define sk_X509_OBJECT_set(st, i, val) SKM_sk_set(X509_OBJECT, (st), (i), (val))
1752f5b1c8a1SJohn Marino #define sk_X509_OBJECT_zero(st) SKM_sk_zero(X509_OBJECT, (st))
1753f5b1c8a1SJohn Marino #define sk_X509_OBJECT_push(st, val) SKM_sk_push(X509_OBJECT, (st), (val))
1754f5b1c8a1SJohn Marino #define sk_X509_OBJECT_unshift(st, val) SKM_sk_unshift(X509_OBJECT, (st), (val))
1755f5b1c8a1SJohn Marino #define sk_X509_OBJECT_find(st, val) SKM_sk_find(X509_OBJECT, (st), (val))
1756f5b1c8a1SJohn Marino #define sk_X509_OBJECT_find_ex(st, val) SKM_sk_find_ex(X509_OBJECT, (st), (val))
1757f5b1c8a1SJohn Marino #define sk_X509_OBJECT_delete(st, i) SKM_sk_delete(X509_OBJECT, (st), (i))
1758f5b1c8a1SJohn Marino #define sk_X509_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_OBJECT, (st), (ptr))
1759f5b1c8a1SJohn Marino #define sk_X509_OBJECT_insert(st, val, i) SKM_sk_insert(X509_OBJECT, (st), (val), (i))
1760f5b1c8a1SJohn Marino #define sk_X509_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_OBJECT, (st), (cmp))
1761f5b1c8a1SJohn Marino #define sk_X509_OBJECT_dup(st) SKM_sk_dup(X509_OBJECT, st)
1762f5b1c8a1SJohn Marino #define sk_X509_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(X509_OBJECT, (st), (free_func))
1763f5b1c8a1SJohn Marino #define sk_X509_OBJECT_shift(st) SKM_sk_shift(X509_OBJECT, (st))
1764f5b1c8a1SJohn Marino #define sk_X509_OBJECT_pop(st) SKM_sk_pop(X509_OBJECT, (st))
1765f5b1c8a1SJohn Marino #define sk_X509_OBJECT_sort(st) SKM_sk_sort(X509_OBJECT, (st))
1766f5b1c8a1SJohn Marino #define sk_X509_OBJECT_is_sorted(st) SKM_sk_is_sorted(X509_OBJECT, (st))
1767f5b1c8a1SJohn Marino 
1768f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_new(cmp) SKM_sk_new(X509_POLICY_DATA, (cmp))
1769f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_new_null() SKM_sk_new_null(X509_POLICY_DATA)
1770f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_free(st) SKM_sk_free(X509_POLICY_DATA, (st))
1771f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_num(st) SKM_sk_num(X509_POLICY_DATA, (st))
1772f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_value(st, i) SKM_sk_value(X509_POLICY_DATA, (st), (i))
1773f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_set(st, i, val) SKM_sk_set(X509_POLICY_DATA, (st), (i), (val))
1774f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_zero(st) SKM_sk_zero(X509_POLICY_DATA, (st))
1775f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_push(st, val) SKM_sk_push(X509_POLICY_DATA, (st), (val))
1776f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_unshift(st, val) SKM_sk_unshift(X509_POLICY_DATA, (st), (val))
1777f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_find(st, val) SKM_sk_find(X509_POLICY_DATA, (st), (val))
1778f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_find_ex(st, val) SKM_sk_find_ex(X509_POLICY_DATA, (st), (val))
1779f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_delete(st, i) SKM_sk_delete(X509_POLICY_DATA, (st), (i))
1780f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_POLICY_DATA, (st), (ptr))
1781f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_insert(st, val, i) SKM_sk_insert(X509_POLICY_DATA, (st), (val), (i))
1782f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_POLICY_DATA, (st), (cmp))
1783f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_dup(st) SKM_sk_dup(X509_POLICY_DATA, st)
1784f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_pop_free(st, free_func) SKM_sk_pop_free(X509_POLICY_DATA, (st), (free_func))
1785f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_shift(st) SKM_sk_shift(X509_POLICY_DATA, (st))
1786f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_pop(st) SKM_sk_pop(X509_POLICY_DATA, (st))
1787f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_sort(st) SKM_sk_sort(X509_POLICY_DATA, (st))
1788f5b1c8a1SJohn Marino #define sk_X509_POLICY_DATA_is_sorted(st) SKM_sk_is_sorted(X509_POLICY_DATA, (st))
1789f5b1c8a1SJohn Marino 
1790f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_new(cmp) SKM_sk_new(X509_POLICY_NODE, (cmp))
1791f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_new_null() SKM_sk_new_null(X509_POLICY_NODE)
1792f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_free(st) SKM_sk_free(X509_POLICY_NODE, (st))
1793f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_num(st) SKM_sk_num(X509_POLICY_NODE, (st))
1794f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_value(st, i) SKM_sk_value(X509_POLICY_NODE, (st), (i))
1795f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_set(st, i, val) SKM_sk_set(X509_POLICY_NODE, (st), (i), (val))
1796f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_zero(st) SKM_sk_zero(X509_POLICY_NODE, (st))
1797f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_push(st, val) SKM_sk_push(X509_POLICY_NODE, (st), (val))
1798f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_unshift(st, val) SKM_sk_unshift(X509_POLICY_NODE, (st), (val))
1799f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_find(st, val) SKM_sk_find(X509_POLICY_NODE, (st), (val))
1800f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_find_ex(st, val) SKM_sk_find_ex(X509_POLICY_NODE, (st), (val))
1801f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_delete(st, i) SKM_sk_delete(X509_POLICY_NODE, (st), (i))
1802f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_POLICY_NODE, (st), (ptr))
1803f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_insert(st, val, i) SKM_sk_insert(X509_POLICY_NODE, (st), (val), (i))
1804f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_POLICY_NODE, (st), (cmp))
1805f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_dup(st) SKM_sk_dup(X509_POLICY_NODE, st)
1806f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_pop_free(st, free_func) SKM_sk_pop_free(X509_POLICY_NODE, (st), (free_func))
1807f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_shift(st) SKM_sk_shift(X509_POLICY_NODE, (st))
1808f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_pop(st) SKM_sk_pop(X509_POLICY_NODE, (st))
1809f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_sort(st) SKM_sk_sort(X509_POLICY_NODE, (st))
1810f5b1c8a1SJohn Marino #define sk_X509_POLICY_NODE_is_sorted(st) SKM_sk_is_sorted(X509_POLICY_NODE, (st))
1811f5b1c8a1SJohn Marino 
1812f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_new(cmp) SKM_sk_new(X509_PURPOSE, (cmp))
1813f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_new_null() SKM_sk_new_null(X509_PURPOSE)
1814f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_free(st) SKM_sk_free(X509_PURPOSE, (st))
1815f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_num(st) SKM_sk_num(X509_PURPOSE, (st))
1816f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_value(st, i) SKM_sk_value(X509_PURPOSE, (st), (i))
1817f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_set(st, i, val) SKM_sk_set(X509_PURPOSE, (st), (i), (val))
1818f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_zero(st) SKM_sk_zero(X509_PURPOSE, (st))
1819f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_push(st, val) SKM_sk_push(X509_PURPOSE, (st), (val))
1820f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_unshift(st, val) SKM_sk_unshift(X509_PURPOSE, (st), (val))
1821f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_find(st, val) SKM_sk_find(X509_PURPOSE, (st), (val))
1822f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_find_ex(st, val) SKM_sk_find_ex(X509_PURPOSE, (st), (val))
1823f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_delete(st, i) SKM_sk_delete(X509_PURPOSE, (st), (i))
1824f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_PURPOSE, (st), (ptr))
1825f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_insert(st, val, i) SKM_sk_insert(X509_PURPOSE, (st), (val), (i))
1826f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_PURPOSE, (st), (cmp))
1827f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_dup(st) SKM_sk_dup(X509_PURPOSE, st)
1828f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_pop_free(st, free_func) SKM_sk_pop_free(X509_PURPOSE, (st), (free_func))
1829f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_shift(st) SKM_sk_shift(X509_PURPOSE, (st))
1830f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_pop(st) SKM_sk_pop(X509_PURPOSE, (st))
1831f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_sort(st) SKM_sk_sort(X509_PURPOSE, (st))
1832f5b1c8a1SJohn Marino #define sk_X509_PURPOSE_is_sorted(st) SKM_sk_is_sorted(X509_PURPOSE, (st))
1833f5b1c8a1SJohn Marino 
1834f5b1c8a1SJohn Marino #define sk_X509_REVOKED_new(cmp) SKM_sk_new(X509_REVOKED, (cmp))
1835f5b1c8a1SJohn Marino #define sk_X509_REVOKED_new_null() SKM_sk_new_null(X509_REVOKED)
1836f5b1c8a1SJohn Marino #define sk_X509_REVOKED_free(st) SKM_sk_free(X509_REVOKED, (st))
1837f5b1c8a1SJohn Marino #define sk_X509_REVOKED_num(st) SKM_sk_num(X509_REVOKED, (st))
1838f5b1c8a1SJohn Marino #define sk_X509_REVOKED_value(st, i) SKM_sk_value(X509_REVOKED, (st), (i))
1839f5b1c8a1SJohn Marino #define sk_X509_REVOKED_set(st, i, val) SKM_sk_set(X509_REVOKED, (st), (i), (val))
1840f5b1c8a1SJohn Marino #define sk_X509_REVOKED_zero(st) SKM_sk_zero(X509_REVOKED, (st))
1841f5b1c8a1SJohn Marino #define sk_X509_REVOKED_push(st, val) SKM_sk_push(X509_REVOKED, (st), (val))
1842f5b1c8a1SJohn Marino #define sk_X509_REVOKED_unshift(st, val) SKM_sk_unshift(X509_REVOKED, (st), (val))
1843f5b1c8a1SJohn Marino #define sk_X509_REVOKED_find(st, val) SKM_sk_find(X509_REVOKED, (st), (val))
1844f5b1c8a1SJohn Marino #define sk_X509_REVOKED_find_ex(st, val) SKM_sk_find_ex(X509_REVOKED, (st), (val))
1845f5b1c8a1SJohn Marino #define sk_X509_REVOKED_delete(st, i) SKM_sk_delete(X509_REVOKED, (st), (i))
1846f5b1c8a1SJohn Marino #define sk_X509_REVOKED_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_REVOKED, (st), (ptr))
1847f5b1c8a1SJohn Marino #define sk_X509_REVOKED_insert(st, val, i) SKM_sk_insert(X509_REVOKED, (st), (val), (i))
1848f5b1c8a1SJohn Marino #define sk_X509_REVOKED_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_REVOKED, (st), (cmp))
1849f5b1c8a1SJohn Marino #define sk_X509_REVOKED_dup(st) SKM_sk_dup(X509_REVOKED, st)
1850f5b1c8a1SJohn Marino #define sk_X509_REVOKED_pop_free(st, free_func) SKM_sk_pop_free(X509_REVOKED, (st), (free_func))
1851f5b1c8a1SJohn Marino #define sk_X509_REVOKED_shift(st) SKM_sk_shift(X509_REVOKED, (st))
1852f5b1c8a1SJohn Marino #define sk_X509_REVOKED_pop(st) SKM_sk_pop(X509_REVOKED, (st))
1853f5b1c8a1SJohn Marino #define sk_X509_REVOKED_sort(st) SKM_sk_sort(X509_REVOKED, (st))
1854f5b1c8a1SJohn Marino #define sk_X509_REVOKED_is_sorted(st) SKM_sk_is_sorted(X509_REVOKED, (st))
1855f5b1c8a1SJohn Marino 
1856f5b1c8a1SJohn Marino #define sk_X509_TRUST_new(cmp) SKM_sk_new(X509_TRUST, (cmp))
1857f5b1c8a1SJohn Marino #define sk_X509_TRUST_new_null() SKM_sk_new_null(X509_TRUST)
1858f5b1c8a1SJohn Marino #define sk_X509_TRUST_free(st) SKM_sk_free(X509_TRUST, (st))
1859f5b1c8a1SJohn Marino #define sk_X509_TRUST_num(st) SKM_sk_num(X509_TRUST, (st))
1860f5b1c8a1SJohn Marino #define sk_X509_TRUST_value(st, i) SKM_sk_value(X509_TRUST, (st), (i))
1861f5b1c8a1SJohn Marino #define sk_X509_TRUST_set(st, i, val) SKM_sk_set(X509_TRUST, (st), (i), (val))
1862f5b1c8a1SJohn Marino #define sk_X509_TRUST_zero(st) SKM_sk_zero(X509_TRUST, (st))
1863f5b1c8a1SJohn Marino #define sk_X509_TRUST_push(st, val) SKM_sk_push(X509_TRUST, (st), (val))
1864f5b1c8a1SJohn Marino #define sk_X509_TRUST_unshift(st, val) SKM_sk_unshift(X509_TRUST, (st), (val))
1865f5b1c8a1SJohn Marino #define sk_X509_TRUST_find(st, val) SKM_sk_find(X509_TRUST, (st), (val))
1866f5b1c8a1SJohn Marino #define sk_X509_TRUST_find_ex(st, val) SKM_sk_find_ex(X509_TRUST, (st), (val))
1867f5b1c8a1SJohn Marino #define sk_X509_TRUST_delete(st, i) SKM_sk_delete(X509_TRUST, (st), (i))
1868f5b1c8a1SJohn Marino #define sk_X509_TRUST_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_TRUST, (st), (ptr))
1869f5b1c8a1SJohn Marino #define sk_X509_TRUST_insert(st, val, i) SKM_sk_insert(X509_TRUST, (st), (val), (i))
1870f5b1c8a1SJohn Marino #define sk_X509_TRUST_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_TRUST, (st), (cmp))
1871f5b1c8a1SJohn Marino #define sk_X509_TRUST_dup(st) SKM_sk_dup(X509_TRUST, st)
1872f5b1c8a1SJohn Marino #define sk_X509_TRUST_pop_free(st, free_func) SKM_sk_pop_free(X509_TRUST, (st), (free_func))
1873f5b1c8a1SJohn Marino #define sk_X509_TRUST_shift(st) SKM_sk_shift(X509_TRUST, (st))
1874f5b1c8a1SJohn Marino #define sk_X509_TRUST_pop(st) SKM_sk_pop(X509_TRUST, (st))
1875f5b1c8a1SJohn Marino #define sk_X509_TRUST_sort(st) SKM_sk_sort(X509_TRUST, (st))
1876f5b1c8a1SJohn Marino #define sk_X509_TRUST_is_sorted(st) SKM_sk_is_sorted(X509_TRUST, (st))
1877f5b1c8a1SJohn Marino 
1878f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_new(cmp) SKM_sk_new(X509_VERIFY_PARAM, (cmp))
1879f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_new_null() SKM_sk_new_null(X509_VERIFY_PARAM)
1880f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_free(st) SKM_sk_free(X509_VERIFY_PARAM, (st))
1881f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_num(st) SKM_sk_num(X509_VERIFY_PARAM, (st))
1882f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_value(st, i) SKM_sk_value(X509_VERIFY_PARAM, (st), (i))
1883f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_set(st, i, val) SKM_sk_set(X509_VERIFY_PARAM, (st), (i), (val))
1884f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_zero(st) SKM_sk_zero(X509_VERIFY_PARAM, (st))
1885f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_push(st, val) SKM_sk_push(X509_VERIFY_PARAM, (st), (val))
1886f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_unshift(st, val) SKM_sk_unshift(X509_VERIFY_PARAM, (st), (val))
1887f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_find(st, val) SKM_sk_find(X509_VERIFY_PARAM, (st), (val))
1888f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_find_ex(st, val) SKM_sk_find_ex(X509_VERIFY_PARAM, (st), (val))
1889f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_delete(st, i) SKM_sk_delete(X509_VERIFY_PARAM, (st), (i))
1890f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_VERIFY_PARAM, (st), (ptr))
1891f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_insert(st, val, i) SKM_sk_insert(X509_VERIFY_PARAM, (st), (val), (i))
1892f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_VERIFY_PARAM, (st), (cmp))
1893f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_dup(st) SKM_sk_dup(X509_VERIFY_PARAM, st)
1894f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_pop_free(st, free_func) SKM_sk_pop_free(X509_VERIFY_PARAM, (st), (free_func))
1895f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_shift(st) SKM_sk_shift(X509_VERIFY_PARAM, (st))
1896f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_pop(st) SKM_sk_pop(X509_VERIFY_PARAM, (st))
1897f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_sort(st) SKM_sk_sort(X509_VERIFY_PARAM, (st))
1898f5b1c8a1SJohn Marino #define sk_X509_VERIFY_PARAM_is_sorted(st) SKM_sk_is_sorted(X509_VERIFY_PARAM, (st))
1899f5b1c8a1SJohn Marino 
1900f5b1c8a1SJohn Marino #define sk_nid_triple_new(cmp) SKM_sk_new(nid_triple, (cmp))
1901f5b1c8a1SJohn Marino #define sk_nid_triple_new_null() SKM_sk_new_null(nid_triple)
1902f5b1c8a1SJohn Marino #define sk_nid_triple_free(st) SKM_sk_free(nid_triple, (st))
1903f5b1c8a1SJohn Marino #define sk_nid_triple_num(st) SKM_sk_num(nid_triple, (st))
1904f5b1c8a1SJohn Marino #define sk_nid_triple_value(st, i) SKM_sk_value(nid_triple, (st), (i))
1905f5b1c8a1SJohn Marino #define sk_nid_triple_set(st, i, val) SKM_sk_set(nid_triple, (st), (i), (val))
1906f5b1c8a1SJohn Marino #define sk_nid_triple_zero(st) SKM_sk_zero(nid_triple, (st))
1907f5b1c8a1SJohn Marino #define sk_nid_triple_push(st, val) SKM_sk_push(nid_triple, (st), (val))
1908f5b1c8a1SJohn Marino #define sk_nid_triple_unshift(st, val) SKM_sk_unshift(nid_triple, (st), (val))
1909f5b1c8a1SJohn Marino #define sk_nid_triple_find(st, val) SKM_sk_find(nid_triple, (st), (val))
1910f5b1c8a1SJohn Marino #define sk_nid_triple_find_ex(st, val) SKM_sk_find_ex(nid_triple, (st), (val))
1911f5b1c8a1SJohn Marino #define sk_nid_triple_delete(st, i) SKM_sk_delete(nid_triple, (st), (i))
1912f5b1c8a1SJohn Marino #define sk_nid_triple_delete_ptr(st, ptr) SKM_sk_delete_ptr(nid_triple, (st), (ptr))
1913f5b1c8a1SJohn Marino #define sk_nid_triple_insert(st, val, i) SKM_sk_insert(nid_triple, (st), (val), (i))
1914f5b1c8a1SJohn Marino #define sk_nid_triple_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(nid_triple, (st), (cmp))
1915f5b1c8a1SJohn Marino #define sk_nid_triple_dup(st) SKM_sk_dup(nid_triple, st)
1916f5b1c8a1SJohn Marino #define sk_nid_triple_pop_free(st, free_func) SKM_sk_pop_free(nid_triple, (st), (free_func))
1917f5b1c8a1SJohn Marino #define sk_nid_triple_shift(st) SKM_sk_shift(nid_triple, (st))
1918f5b1c8a1SJohn Marino #define sk_nid_triple_pop(st) SKM_sk_pop(nid_triple, (st))
1919f5b1c8a1SJohn Marino #define sk_nid_triple_sort(st) SKM_sk_sort(nid_triple, (st))
1920f5b1c8a1SJohn Marino #define sk_nid_triple_is_sorted(st) SKM_sk_is_sorted(nid_triple, (st))
1921f5b1c8a1SJohn Marino 
1922f5b1c8a1SJohn Marino #define sk_void_new(cmp) SKM_sk_new(void, (cmp))
1923f5b1c8a1SJohn Marino #define sk_void_new_null() SKM_sk_new_null(void)
1924f5b1c8a1SJohn Marino #define sk_void_free(st) SKM_sk_free(void, (st))
1925f5b1c8a1SJohn Marino #define sk_void_num(st) SKM_sk_num(void, (st))
1926f5b1c8a1SJohn Marino #define sk_void_value(st, i) SKM_sk_value(void, (st), (i))
1927f5b1c8a1SJohn Marino #define sk_void_set(st, i, val) SKM_sk_set(void, (st), (i), (val))
1928f5b1c8a1SJohn Marino #define sk_void_zero(st) SKM_sk_zero(void, (st))
1929f5b1c8a1SJohn Marino #define sk_void_push(st, val) SKM_sk_push(void, (st), (val))
1930f5b1c8a1SJohn Marino #define sk_void_unshift(st, val) SKM_sk_unshift(void, (st), (val))
1931f5b1c8a1SJohn Marino #define sk_void_find(st, val) SKM_sk_find(void, (st), (val))
1932f5b1c8a1SJohn Marino #define sk_void_find_ex(st, val) SKM_sk_find_ex(void, (st), (val))
1933f5b1c8a1SJohn Marino #define sk_void_delete(st, i) SKM_sk_delete(void, (st), (i))
1934f5b1c8a1SJohn Marino #define sk_void_delete_ptr(st, ptr) SKM_sk_delete_ptr(void, (st), (ptr))
1935f5b1c8a1SJohn Marino #define sk_void_insert(st, val, i) SKM_sk_insert(void, (st), (val), (i))
1936f5b1c8a1SJohn Marino #define sk_void_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(void, (st), (cmp))
1937f5b1c8a1SJohn Marino #define sk_void_dup(st) SKM_sk_dup(void, st)
1938f5b1c8a1SJohn Marino #define sk_void_pop_free(st, free_func) SKM_sk_pop_free(void, (st), (free_func))
1939f5b1c8a1SJohn Marino #define sk_void_shift(st) SKM_sk_shift(void, (st))
1940f5b1c8a1SJohn Marino #define sk_void_pop(st) SKM_sk_pop(void, (st))
1941f5b1c8a1SJohn Marino #define sk_void_sort(st) SKM_sk_sort(void, (st))
1942f5b1c8a1SJohn Marino #define sk_void_is_sorted(st) SKM_sk_is_sorted(void, (st))
1943f5b1c8a1SJohn Marino 
1944f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_new(cmp) ((STACK_OF(OPENSSL_STRING) *)sk_new(CHECKED_SK_CMP_FUNC(char, cmp)))
1945f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_new_null() ((STACK_OF(OPENSSL_STRING) *)sk_new_null())
1946f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_push(st, val) sk_push(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
1947f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_find(st, val) sk_find(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
1948f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_value(st, i) ((OPENSSL_STRING)sk_value(CHECKED_STACK_OF(OPENSSL_STRING, st), i))
1949f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_num(st) SKM_sk_num(OPENSSL_STRING, st)
1950f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_pop_free(st, free_func) sk_pop_free(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_SK_FREE_FUNC2(OPENSSL_STRING, free_func))
1951f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_insert(st, val, i) sk_insert(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val), i)
1952f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_free(st) SKM_sk_free(OPENSSL_STRING, st)
1953f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_set(st, i, val) sk_set(CHECKED_STACK_OF(OPENSSL_STRING, st), i, CHECKED_PTR_OF(char, val))
1954f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_zero(st) SKM_sk_zero(OPENSSL_STRING, (st))
1955f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_unshift(st, val) sk_unshift(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
1956f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_find_ex(st, val) sk_find_ex((_STACK *)CHECKED_CONST_PTR_OF(STACK_OF(OPENSSL_STRING), st), CHECKED_CONST_PTR_OF(char, val))
1957f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_delete(st, i) SKM_sk_delete(OPENSSL_STRING, (st), (i))
1958f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_delete_ptr(st, ptr) (OPENSSL_STRING *)sk_delete_ptr(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, ptr))
1959f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_set_cmp_func(st, cmp)  \
1960f5b1c8a1SJohn Marino 	((int (*)(const char * const *,const char * const *)) \
1961f5b1c8a1SJohn Marino 	sk_set_cmp_func(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_SK_CMP_FUNC(char, cmp)))
1962f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_dup(st) SKM_sk_dup(OPENSSL_STRING, st)
1963f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_shift(st) SKM_sk_shift(OPENSSL_STRING, (st))
1964f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_pop(st) (char *)sk_pop(CHECKED_STACK_OF(OPENSSL_STRING, st))
1965f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_sort(st) SKM_sk_sort(OPENSSL_STRING, (st))
1966f5b1c8a1SJohn Marino #define sk_OPENSSL_STRING_is_sorted(st) SKM_sk_is_sorted(OPENSSL_STRING, (st))
1967f5b1c8a1SJohn Marino 
1968f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_new(cmp) ((STACK_OF(OPENSSL_BLOCK) *)sk_new(CHECKED_SK_CMP_FUNC(void, cmp)))
1969f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_new_null() ((STACK_OF(OPENSSL_BLOCK) *)sk_new_null())
1970f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_push(st, val) sk_push(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_PTR_OF(void, val))
1971f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_find(st, val) sk_find(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_PTR_OF(void, val))
1972f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_value(st, i) ((OPENSSL_BLOCK)sk_value(CHECKED_STACK_OF(OPENSSL_BLOCK, st), i))
1973f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_num(st) SKM_sk_num(OPENSSL_BLOCK, st)
1974f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_pop_free(st, free_func) sk_pop_free(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_SK_FREE_FUNC2(OPENSSL_BLOCK, free_func))
1975f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_insert(st, val, i) sk_insert(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_PTR_OF(void, val), i)
1976f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_free(st) SKM_sk_free(OPENSSL_BLOCK, st)
1977f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_set(st, i, val) sk_set(CHECKED_STACK_OF(OPENSSL_BLOCK, st), i, CHECKED_PTR_OF(void, val))
1978f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_zero(st) SKM_sk_zero(OPENSSL_BLOCK, (st))
1979f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_unshift(st, val) sk_unshift(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_PTR_OF(void, val))
1980f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_find_ex(st, val) sk_find_ex((_STACK *)CHECKED_CONST_PTR_OF(STACK_OF(OPENSSL_BLOCK), st), CHECKED_CONST_PTR_OF(void, val))
1981f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_delete(st, i) SKM_sk_delete(OPENSSL_BLOCK, (st), (i))
1982f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_delete_ptr(st, ptr) (OPENSSL_BLOCK *)sk_delete_ptr(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_PTR_OF(void, ptr))
1983f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_set_cmp_func(st, cmp)  \
1984f5b1c8a1SJohn Marino 	((int (*)(const void * const *,const void * const *)) \
1985f5b1c8a1SJohn Marino 	sk_set_cmp_func(CHECKED_STACK_OF(OPENSSL_BLOCK, st), CHECKED_SK_CMP_FUNC(void, cmp)))
1986f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_dup(st) SKM_sk_dup(OPENSSL_BLOCK, st)
1987f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_shift(st) SKM_sk_shift(OPENSSL_BLOCK, (st))
1988f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_pop(st) (void *)sk_pop(CHECKED_STACK_OF(OPENSSL_BLOCK, st))
1989f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_sort(st) SKM_sk_sort(OPENSSL_BLOCK, (st))
1990f5b1c8a1SJohn Marino #define sk_OPENSSL_BLOCK_is_sorted(st) SKM_sk_is_sorted(OPENSSL_BLOCK, (st))
1991f5b1c8a1SJohn Marino 
1992f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_new(cmp) ((STACK_OF(OPENSSL_PSTRING) *)sk_new(CHECKED_SK_CMP_FUNC(OPENSSL_STRING, cmp)))
1993f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_new_null() ((STACK_OF(OPENSSL_PSTRING) *)sk_new_null())
1994f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_push(st, val) sk_push(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
1995f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_find(st, val) sk_find(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
1996f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_value(st, i) ((OPENSSL_PSTRING)sk_value(CHECKED_STACK_OF(OPENSSL_PSTRING, st), i))
1997f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_num(st) SKM_sk_num(OPENSSL_PSTRING, st)
1998f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_pop_free(st, free_func) sk_pop_free(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_SK_FREE_FUNC2(OPENSSL_PSTRING, free_func))
1999f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_insert(st, val, i) sk_insert(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val), i)
2000f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_free(st) SKM_sk_free(OPENSSL_PSTRING, st)
2001f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_set(st, i, val) sk_set(CHECKED_STACK_OF(OPENSSL_PSTRING, st), i, CHECKED_PTR_OF(OPENSSL_STRING, val))
2002f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_zero(st) SKM_sk_zero(OPENSSL_PSTRING, (st))
2003f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_unshift(st, val) sk_unshift(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
2004f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_find_ex(st, val) sk_find_ex((_STACK *)CHECKED_CONST_PTR_OF(STACK_OF(OPENSSL_PSTRING), st), CHECKED_CONST_PTR_OF(OPENSSL_STRING, val))
2005f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_delete(st, i) SKM_sk_delete(OPENSSL_PSTRING, (st), (i))
2006f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_delete_ptr(st, ptr) (OPENSSL_PSTRING *)sk_delete_ptr(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, ptr))
2007f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_set_cmp_func(st, cmp)  \
2008f5b1c8a1SJohn Marino 	((int (*)(const OPENSSL_STRING * const *,const OPENSSL_STRING * const *)) \
2009f5b1c8a1SJohn Marino 	sk_set_cmp_func(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_SK_CMP_FUNC(OPENSSL_STRING, cmp)))
2010f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_dup(st) SKM_sk_dup(OPENSSL_PSTRING, st)
2011f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_shift(st) SKM_sk_shift(OPENSSL_PSTRING, (st))
2012f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_pop(st) (OPENSSL_STRING *)sk_pop(CHECKED_STACK_OF(OPENSSL_PSTRING, st))
2013f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_sort(st) SKM_sk_sort(OPENSSL_PSTRING, (st))
2014f5b1c8a1SJohn Marino #define sk_OPENSSL_PSTRING_is_sorted(st) SKM_sk_is_sorted(OPENSSL_PSTRING, (st))
2015f5b1c8a1SJohn Marino 
2016f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_new() LHM_lh_new(ADDED_OBJ,added_obj)
2017f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst)
2018f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst)
2019f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst)
2020f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn)
2021f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \
2022f5b1c8a1SJohn Marino   LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg)
2023f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh)
2024f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh)
2025f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_down_load(lh) LHM_lh_down_load(ADDED_OBJ,lh)
2026f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_node_stats_bio(lh,out) \
2027f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(ADDED_OBJ,lh,out)
2028f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_node_usage_stats_bio(lh,out) \
2029f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(ADDED_OBJ,lh,out)
2030f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_stats_bio(lh,out) \
2031f5b1c8a1SJohn Marino   LHM_lh_stats_bio(ADDED_OBJ,lh,out)
2032f5b1c8a1SJohn Marino #define lh_ADDED_OBJ_free(lh) LHM_lh_free(ADDED_OBJ,lh)
2033f5b1c8a1SJohn Marino 
2034f5b1c8a1SJohn Marino #define lh_APP_INFO_new() LHM_lh_new(APP_INFO,app_info)
2035f5b1c8a1SJohn Marino #define lh_APP_INFO_insert(lh,inst) LHM_lh_insert(APP_INFO,lh,inst)
2036f5b1c8a1SJohn Marino #define lh_APP_INFO_retrieve(lh,inst) LHM_lh_retrieve(APP_INFO,lh,inst)
2037f5b1c8a1SJohn Marino #define lh_APP_INFO_delete(lh,inst) LHM_lh_delete(APP_INFO,lh,inst)
2038f5b1c8a1SJohn Marino #define lh_APP_INFO_doall(lh,fn) LHM_lh_doall(APP_INFO,lh,fn)
2039f5b1c8a1SJohn Marino #define lh_APP_INFO_doall_arg(lh,fn,arg_type,arg) \
2040f5b1c8a1SJohn Marino   LHM_lh_doall_arg(APP_INFO,lh,fn,arg_type,arg)
2041f5b1c8a1SJohn Marino #define lh_APP_INFO_error(lh) LHM_lh_error(APP_INFO,lh)
2042f5b1c8a1SJohn Marino #define lh_APP_INFO_num_items(lh) LHM_lh_num_items(APP_INFO,lh)
2043f5b1c8a1SJohn Marino #define lh_APP_INFO_down_load(lh) LHM_lh_down_load(APP_INFO,lh)
2044f5b1c8a1SJohn Marino #define lh_APP_INFO_node_stats_bio(lh,out) \
2045f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(APP_INFO,lh,out)
2046f5b1c8a1SJohn Marino #define lh_APP_INFO_node_usage_stats_bio(lh,out) \
2047f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(APP_INFO,lh,out)
2048f5b1c8a1SJohn Marino #define lh_APP_INFO_stats_bio(lh,out) \
2049f5b1c8a1SJohn Marino   LHM_lh_stats_bio(APP_INFO,lh,out)
2050f5b1c8a1SJohn Marino #define lh_APP_INFO_free(lh) LHM_lh_free(APP_INFO,lh)
2051f5b1c8a1SJohn Marino 
2052f5b1c8a1SJohn Marino #define lh_CONF_VALUE_new() LHM_lh_new(CONF_VALUE,conf_value)
2053f5b1c8a1SJohn Marino #define lh_CONF_VALUE_insert(lh,inst) LHM_lh_insert(CONF_VALUE,lh,inst)
2054f5b1c8a1SJohn Marino #define lh_CONF_VALUE_retrieve(lh,inst) LHM_lh_retrieve(CONF_VALUE,lh,inst)
2055f5b1c8a1SJohn Marino #define lh_CONF_VALUE_delete(lh,inst) LHM_lh_delete(CONF_VALUE,lh,inst)
2056f5b1c8a1SJohn Marino #define lh_CONF_VALUE_doall(lh,fn) LHM_lh_doall(CONF_VALUE,lh,fn)
2057f5b1c8a1SJohn Marino #define lh_CONF_VALUE_doall_arg(lh,fn,arg_type,arg) \
2058f5b1c8a1SJohn Marino   LHM_lh_doall_arg(CONF_VALUE,lh,fn,arg_type,arg)
2059f5b1c8a1SJohn Marino #define lh_CONF_VALUE_error(lh) LHM_lh_error(CONF_VALUE,lh)
2060f5b1c8a1SJohn Marino #define lh_CONF_VALUE_num_items(lh) LHM_lh_num_items(CONF_VALUE,lh)
2061f5b1c8a1SJohn Marino #define lh_CONF_VALUE_down_load(lh) LHM_lh_down_load(CONF_VALUE,lh)
2062f5b1c8a1SJohn Marino #define lh_CONF_VALUE_node_stats_bio(lh,out) \
2063f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(CONF_VALUE,lh,out)
2064f5b1c8a1SJohn Marino #define lh_CONF_VALUE_node_usage_stats_bio(lh,out) \
2065f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(CONF_VALUE,lh,out)
2066f5b1c8a1SJohn Marino #define lh_CONF_VALUE_stats_bio(lh,out) \
2067f5b1c8a1SJohn Marino   LHM_lh_stats_bio(CONF_VALUE,lh,out)
2068f5b1c8a1SJohn Marino #define lh_CONF_VALUE_free(lh) LHM_lh_free(CONF_VALUE,lh)
2069f5b1c8a1SJohn Marino 
2070f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_new() LHM_lh_new(ENGINE_PILE,engine_pile)
2071f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_insert(lh,inst) LHM_lh_insert(ENGINE_PILE,lh,inst)
2072f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_retrieve(lh,inst) LHM_lh_retrieve(ENGINE_PILE,lh,inst)
2073f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_delete(lh,inst) LHM_lh_delete(ENGINE_PILE,lh,inst)
2074f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_doall(lh,fn) LHM_lh_doall(ENGINE_PILE,lh,fn)
2075f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_doall_arg(lh,fn,arg_type,arg) \
2076f5b1c8a1SJohn Marino   LHM_lh_doall_arg(ENGINE_PILE,lh,fn,arg_type,arg)
2077f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_error(lh) LHM_lh_error(ENGINE_PILE,lh)
2078f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_num_items(lh) LHM_lh_num_items(ENGINE_PILE,lh)
2079f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_down_load(lh) LHM_lh_down_load(ENGINE_PILE,lh)
2080f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_node_stats_bio(lh,out) \
2081f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(ENGINE_PILE,lh,out)
2082f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_node_usage_stats_bio(lh,out) \
2083f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(ENGINE_PILE,lh,out)
2084f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_stats_bio(lh,out) \
2085f5b1c8a1SJohn Marino   LHM_lh_stats_bio(ENGINE_PILE,lh,out)
2086f5b1c8a1SJohn Marino #define lh_ENGINE_PILE_free(lh) LHM_lh_free(ENGINE_PILE,lh)
2087f5b1c8a1SJohn Marino 
2088f5b1c8a1SJohn Marino #define lh_ERR_STATE_new() LHM_lh_new(ERR_STATE,err_state)
2089f5b1c8a1SJohn Marino #define lh_ERR_STATE_insert(lh,inst) LHM_lh_insert(ERR_STATE,lh,inst)
2090f5b1c8a1SJohn Marino #define lh_ERR_STATE_retrieve(lh,inst) LHM_lh_retrieve(ERR_STATE,lh,inst)
2091f5b1c8a1SJohn Marino #define lh_ERR_STATE_delete(lh,inst) LHM_lh_delete(ERR_STATE,lh,inst)
2092f5b1c8a1SJohn Marino #define lh_ERR_STATE_doall(lh,fn) LHM_lh_doall(ERR_STATE,lh,fn)
2093f5b1c8a1SJohn Marino #define lh_ERR_STATE_doall_arg(lh,fn,arg_type,arg) \
2094f5b1c8a1SJohn Marino   LHM_lh_doall_arg(ERR_STATE,lh,fn,arg_type,arg)
2095f5b1c8a1SJohn Marino #define lh_ERR_STATE_error(lh) LHM_lh_error(ERR_STATE,lh)
2096f5b1c8a1SJohn Marino #define lh_ERR_STATE_num_items(lh) LHM_lh_num_items(ERR_STATE,lh)
2097f5b1c8a1SJohn Marino #define lh_ERR_STATE_down_load(lh) LHM_lh_down_load(ERR_STATE,lh)
2098f5b1c8a1SJohn Marino #define lh_ERR_STATE_node_stats_bio(lh,out) \
2099f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(ERR_STATE,lh,out)
2100f5b1c8a1SJohn Marino #define lh_ERR_STATE_node_usage_stats_bio(lh,out) \
2101f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(ERR_STATE,lh,out)
2102f5b1c8a1SJohn Marino #define lh_ERR_STATE_stats_bio(lh,out) \
2103f5b1c8a1SJohn Marino   LHM_lh_stats_bio(ERR_STATE,lh,out)
2104f5b1c8a1SJohn Marino #define lh_ERR_STATE_free(lh) LHM_lh_free(ERR_STATE,lh)
2105f5b1c8a1SJohn Marino 
2106f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_new() LHM_lh_new(ERR_STRING_DATA,err_string_data)
2107f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_insert(lh,inst) LHM_lh_insert(ERR_STRING_DATA,lh,inst)
2108f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_retrieve(lh,inst) LHM_lh_retrieve(ERR_STRING_DATA,lh,inst)
2109f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_delete(lh,inst) LHM_lh_delete(ERR_STRING_DATA,lh,inst)
2110f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_doall(lh,fn) LHM_lh_doall(ERR_STRING_DATA,lh,fn)
2111f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_doall_arg(lh,fn,arg_type,arg) \
2112f5b1c8a1SJohn Marino   LHM_lh_doall_arg(ERR_STRING_DATA,lh,fn,arg_type,arg)
2113f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_error(lh) LHM_lh_error(ERR_STRING_DATA,lh)
2114f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_num_items(lh) LHM_lh_num_items(ERR_STRING_DATA,lh)
2115f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_down_load(lh) LHM_lh_down_load(ERR_STRING_DATA,lh)
2116f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_node_stats_bio(lh,out) \
2117f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(ERR_STRING_DATA,lh,out)
2118f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_node_usage_stats_bio(lh,out) \
2119f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(ERR_STRING_DATA,lh,out)
2120f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_stats_bio(lh,out) \
2121f5b1c8a1SJohn Marino   LHM_lh_stats_bio(ERR_STRING_DATA,lh,out)
2122f5b1c8a1SJohn Marino #define lh_ERR_STRING_DATA_free(lh) LHM_lh_free(ERR_STRING_DATA,lh)
2123f5b1c8a1SJohn Marino 
2124f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_new() LHM_lh_new(EX_CLASS_ITEM,ex_class_item)
2125f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_insert(lh,inst) LHM_lh_insert(EX_CLASS_ITEM,lh,inst)
2126f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_retrieve(lh,inst) LHM_lh_retrieve(EX_CLASS_ITEM,lh,inst)
2127f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_delete(lh,inst) LHM_lh_delete(EX_CLASS_ITEM,lh,inst)
2128f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_doall(lh,fn) LHM_lh_doall(EX_CLASS_ITEM,lh,fn)
2129f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_doall_arg(lh,fn,arg_type,arg) \
2130f5b1c8a1SJohn Marino   LHM_lh_doall_arg(EX_CLASS_ITEM,lh,fn,arg_type,arg)
2131f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_error(lh) LHM_lh_error(EX_CLASS_ITEM,lh)
2132f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_num_items(lh) LHM_lh_num_items(EX_CLASS_ITEM,lh)
2133f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_down_load(lh) LHM_lh_down_load(EX_CLASS_ITEM,lh)
2134f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_node_stats_bio(lh,out) \
2135f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(EX_CLASS_ITEM,lh,out)
2136f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_node_usage_stats_bio(lh,out) \
2137f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(EX_CLASS_ITEM,lh,out)
2138f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_stats_bio(lh,out) \
2139f5b1c8a1SJohn Marino   LHM_lh_stats_bio(EX_CLASS_ITEM,lh,out)
2140f5b1c8a1SJohn Marino #define lh_EX_CLASS_ITEM_free(lh) LHM_lh_free(EX_CLASS_ITEM,lh)
2141f5b1c8a1SJohn Marino 
2142f5b1c8a1SJohn Marino #define lh_FUNCTION_new() LHM_lh_new(FUNCTION,function)
2143f5b1c8a1SJohn Marino #define lh_FUNCTION_insert(lh,inst) LHM_lh_insert(FUNCTION,lh,inst)
2144f5b1c8a1SJohn Marino #define lh_FUNCTION_retrieve(lh,inst) LHM_lh_retrieve(FUNCTION,lh,inst)
2145f5b1c8a1SJohn Marino #define lh_FUNCTION_delete(lh,inst) LHM_lh_delete(FUNCTION,lh,inst)
2146f5b1c8a1SJohn Marino #define lh_FUNCTION_doall(lh,fn) LHM_lh_doall(FUNCTION,lh,fn)
2147f5b1c8a1SJohn Marino #define lh_FUNCTION_doall_arg(lh,fn,arg_type,arg) \
2148f5b1c8a1SJohn Marino   LHM_lh_doall_arg(FUNCTION,lh,fn,arg_type,arg)
2149f5b1c8a1SJohn Marino #define lh_FUNCTION_error(lh) LHM_lh_error(FUNCTION,lh)
2150f5b1c8a1SJohn Marino #define lh_FUNCTION_num_items(lh) LHM_lh_num_items(FUNCTION,lh)
2151f5b1c8a1SJohn Marino #define lh_FUNCTION_down_load(lh) LHM_lh_down_load(FUNCTION,lh)
2152f5b1c8a1SJohn Marino #define lh_FUNCTION_node_stats_bio(lh,out) \
2153f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(FUNCTION,lh,out)
2154f5b1c8a1SJohn Marino #define lh_FUNCTION_node_usage_stats_bio(lh,out) \
2155f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(FUNCTION,lh,out)
2156f5b1c8a1SJohn Marino #define lh_FUNCTION_stats_bio(lh,out) \
2157f5b1c8a1SJohn Marino   LHM_lh_stats_bio(FUNCTION,lh,out)
2158f5b1c8a1SJohn Marino #define lh_FUNCTION_free(lh) LHM_lh_free(FUNCTION,lh)
2159f5b1c8a1SJohn Marino 
2160f5b1c8a1SJohn Marino #define lh_MEM_new() LHM_lh_new(MEM,mem)
2161f5b1c8a1SJohn Marino #define lh_MEM_insert(lh,inst) LHM_lh_insert(MEM,lh,inst)
2162f5b1c8a1SJohn Marino #define lh_MEM_retrieve(lh,inst) LHM_lh_retrieve(MEM,lh,inst)
2163f5b1c8a1SJohn Marino #define lh_MEM_delete(lh,inst) LHM_lh_delete(MEM,lh,inst)
2164f5b1c8a1SJohn Marino #define lh_MEM_doall(lh,fn) LHM_lh_doall(MEM,lh,fn)
2165f5b1c8a1SJohn Marino #define lh_MEM_doall_arg(lh,fn,arg_type,arg) \
2166f5b1c8a1SJohn Marino   LHM_lh_doall_arg(MEM,lh,fn,arg_type,arg)
2167f5b1c8a1SJohn Marino #define lh_MEM_error(lh) LHM_lh_error(MEM,lh)
2168f5b1c8a1SJohn Marino #define lh_MEM_num_items(lh) LHM_lh_num_items(MEM,lh)
2169f5b1c8a1SJohn Marino #define lh_MEM_down_load(lh) LHM_lh_down_load(MEM,lh)
2170f5b1c8a1SJohn Marino #define lh_MEM_node_stats_bio(lh,out) \
2171f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(MEM,lh,out)
2172f5b1c8a1SJohn Marino #define lh_MEM_node_usage_stats_bio(lh,out) \
2173f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(MEM,lh,out)
2174f5b1c8a1SJohn Marino #define lh_MEM_stats_bio(lh,out) \
2175f5b1c8a1SJohn Marino   LHM_lh_stats_bio(MEM,lh,out)
2176f5b1c8a1SJohn Marino #define lh_MEM_free(lh) LHM_lh_free(MEM,lh)
2177f5b1c8a1SJohn Marino 
2178f5b1c8a1SJohn Marino #define lh_OBJ_NAME_new() LHM_lh_new(OBJ_NAME,obj_name)
2179f5b1c8a1SJohn Marino #define lh_OBJ_NAME_insert(lh,inst) LHM_lh_insert(OBJ_NAME,lh,inst)
2180f5b1c8a1SJohn Marino #define lh_OBJ_NAME_retrieve(lh,inst) LHM_lh_retrieve(OBJ_NAME,lh,inst)
2181f5b1c8a1SJohn Marino #define lh_OBJ_NAME_delete(lh,inst) LHM_lh_delete(OBJ_NAME,lh,inst)
2182f5b1c8a1SJohn Marino #define lh_OBJ_NAME_doall(lh,fn) LHM_lh_doall(OBJ_NAME,lh,fn)
2183f5b1c8a1SJohn Marino #define lh_OBJ_NAME_doall_arg(lh,fn,arg_type,arg) \
2184f5b1c8a1SJohn Marino   LHM_lh_doall_arg(OBJ_NAME,lh,fn,arg_type,arg)
2185f5b1c8a1SJohn Marino #define lh_OBJ_NAME_error(lh) LHM_lh_error(OBJ_NAME,lh)
2186f5b1c8a1SJohn Marino #define lh_OBJ_NAME_num_items(lh) LHM_lh_num_items(OBJ_NAME,lh)
2187f5b1c8a1SJohn Marino #define lh_OBJ_NAME_down_load(lh) LHM_lh_down_load(OBJ_NAME,lh)
2188f5b1c8a1SJohn Marino #define lh_OBJ_NAME_node_stats_bio(lh,out) \
2189f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(OBJ_NAME,lh,out)
2190f5b1c8a1SJohn Marino #define lh_OBJ_NAME_node_usage_stats_bio(lh,out) \
2191f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(OBJ_NAME,lh,out)
2192f5b1c8a1SJohn Marino #define lh_OBJ_NAME_stats_bio(lh,out) \
2193f5b1c8a1SJohn Marino   LHM_lh_stats_bio(OBJ_NAME,lh,out)
2194f5b1c8a1SJohn Marino #define lh_OBJ_NAME_free(lh) LHM_lh_free(OBJ_NAME,lh)
2195f5b1c8a1SJohn Marino 
2196f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_new() LHM_lh_new(OPENSSL_CSTRING,openssl_cstring)
2197f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_insert(lh,inst) LHM_lh_insert(OPENSSL_CSTRING,lh,inst)
2198f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_retrieve(lh,inst) LHM_lh_retrieve(OPENSSL_CSTRING,lh,inst)
2199f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_delete(lh,inst) LHM_lh_delete(OPENSSL_CSTRING,lh,inst)
2200f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_doall(lh,fn) LHM_lh_doall(OPENSSL_CSTRING,lh,fn)
2201f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_doall_arg(lh,fn,arg_type,arg) \
2202f5b1c8a1SJohn Marino   LHM_lh_doall_arg(OPENSSL_CSTRING,lh,fn,arg_type,arg)
2203f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_error(lh) LHM_lh_error(OPENSSL_CSTRING,lh)
2204f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_num_items(lh) LHM_lh_num_items(OPENSSL_CSTRING,lh)
2205f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_down_load(lh) LHM_lh_down_load(OPENSSL_CSTRING,lh)
2206f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_node_stats_bio(lh,out) \
2207f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(OPENSSL_CSTRING,lh,out)
2208f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_node_usage_stats_bio(lh,out) \
2209f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(OPENSSL_CSTRING,lh,out)
2210f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_stats_bio(lh,out) \
2211f5b1c8a1SJohn Marino   LHM_lh_stats_bio(OPENSSL_CSTRING,lh,out)
2212f5b1c8a1SJohn Marino #define lh_OPENSSL_CSTRING_free(lh) LHM_lh_free(OPENSSL_CSTRING,lh)
2213f5b1c8a1SJohn Marino 
2214f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_new() LHM_lh_new(OPENSSL_STRING,openssl_string)
2215f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_insert(lh,inst) LHM_lh_insert(OPENSSL_STRING,lh,inst)
2216f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_retrieve(lh,inst) LHM_lh_retrieve(OPENSSL_STRING,lh,inst)
2217f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_delete(lh,inst) LHM_lh_delete(OPENSSL_STRING,lh,inst)
2218f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_doall(lh,fn) LHM_lh_doall(OPENSSL_STRING,lh,fn)
2219f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_doall_arg(lh,fn,arg_type,arg) \
2220f5b1c8a1SJohn Marino   LHM_lh_doall_arg(OPENSSL_STRING,lh,fn,arg_type,arg)
2221f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_error(lh) LHM_lh_error(OPENSSL_STRING,lh)
2222f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_num_items(lh) LHM_lh_num_items(OPENSSL_STRING,lh)
2223f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_down_load(lh) LHM_lh_down_load(OPENSSL_STRING,lh)
2224f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_node_stats_bio(lh,out) \
2225f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(OPENSSL_STRING,lh,out)
2226f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_node_usage_stats_bio(lh,out) \
2227f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(OPENSSL_STRING,lh,out)
2228f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_stats_bio(lh,out) \
2229f5b1c8a1SJohn Marino   LHM_lh_stats_bio(OPENSSL_STRING,lh,out)
2230f5b1c8a1SJohn Marino #define lh_OPENSSL_STRING_free(lh) LHM_lh_free(OPENSSL_STRING,lh)
2231f5b1c8a1SJohn Marino 
2232f5b1c8a1SJohn Marino #define lh_SSL_SESSION_new() LHM_lh_new(SSL_SESSION,ssl_session)
2233f5b1c8a1SJohn Marino #define lh_SSL_SESSION_insert(lh,inst) LHM_lh_insert(SSL_SESSION,lh,inst)
2234f5b1c8a1SJohn Marino #define lh_SSL_SESSION_retrieve(lh,inst) LHM_lh_retrieve(SSL_SESSION,lh,inst)
2235f5b1c8a1SJohn Marino #define lh_SSL_SESSION_delete(lh,inst) LHM_lh_delete(SSL_SESSION,lh,inst)
2236f5b1c8a1SJohn Marino #define lh_SSL_SESSION_doall(lh,fn) LHM_lh_doall(SSL_SESSION,lh,fn)
2237f5b1c8a1SJohn Marino #define lh_SSL_SESSION_doall_arg(lh,fn,arg_type,arg) \
2238f5b1c8a1SJohn Marino   LHM_lh_doall_arg(SSL_SESSION,lh,fn,arg_type,arg)
2239f5b1c8a1SJohn Marino #define lh_SSL_SESSION_error(lh) LHM_lh_error(SSL_SESSION,lh)
2240f5b1c8a1SJohn Marino #define lh_SSL_SESSION_num_items(lh) LHM_lh_num_items(SSL_SESSION,lh)
2241f5b1c8a1SJohn Marino #define lh_SSL_SESSION_down_load(lh) LHM_lh_down_load(SSL_SESSION,lh)
2242f5b1c8a1SJohn Marino #define lh_SSL_SESSION_node_stats_bio(lh,out) \
2243f5b1c8a1SJohn Marino   LHM_lh_node_stats_bio(SSL_SESSION,lh,out)
2244f5b1c8a1SJohn Marino #define lh_SSL_SESSION_node_usage_stats_bio(lh,out) \
2245f5b1c8a1SJohn Marino   LHM_lh_node_usage_stats_bio(SSL_SESSION,lh,out)
2246f5b1c8a1SJohn Marino #define lh_SSL_SESSION_stats_bio(lh,out) \
2247f5b1c8a1SJohn Marino   LHM_lh_stats_bio(SSL_SESSION,lh,out)
2248f5b1c8a1SJohn Marino #define lh_SSL_SESSION_free(lh) LHM_lh_free(SSL_SESSION,lh)
2249f5b1c8a1SJohn Marino 
2250f5b1c8a1SJohn Marino #endif /* !defined HEADER_SAFESTACK_H */
2251