safestack.h 117 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739
  1. /* $OpenBSD: safestack.h,v 1.33 2024/03/02 11:22:48 tb Exp $ */
  2. /* ====================================================================
  3. * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions
  7. * are met:
  8. *
  9. * 1. Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. *
  12. * 2. Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in
  14. * the documentation and/or other materials provided with the
  15. * distribution.
  16. *
  17. * 3. All advertising materials mentioning features or use of this
  18. * software must display the following acknowledgment:
  19. * "This product includes software developed by the OpenSSL Project
  20. * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  21. *
  22. * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  23. * endorse or promote products derived from this software without
  24. * prior written permission. For written permission, please contact
  25. * [email protected].
  26. *
  27. * 5. Products derived from this software may not be called "OpenSSL"
  28. * nor may "OpenSSL" appear in their names without prior written
  29. * permission of the OpenSSL Project.
  30. *
  31. * 6. Redistributions of any form whatsoever must retain the following
  32. * acknowledgment:
  33. * "This product includes software developed by the OpenSSL Project
  34. * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  35. *
  36. * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  37. * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  38. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  39. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  40. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  41. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  42. * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  43. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  44. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  45. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  46. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  47. * OF THE POSSIBILITY OF SUCH DAMAGE.
  48. * ====================================================================
  49. *
  50. * This product includes cryptographic software written by Eric Young
  51. * ([email protected]). This product includes software written by Tim
  52. * Hudson ([email protected]).
  53. *
  54. */
  55. #ifndef HEADER_SAFESTACK_H
  56. #define HEADER_SAFESTACK_H
  57. #include <openssl/stack.h>
  58. #ifndef CHECKED_PTR_OF
  59. #define CHECKED_PTR_OF(type, p) \
  60. ((void*) (1 ? p : (type*)0))
  61. #endif
  62. /* In C++ we get problems because an explicit cast is needed from (void *)
  63. * we use CHECKED_STACK_OF to ensure the correct type is passed in the macros
  64. * below.
  65. */
  66. #define CHECKED_STACK_OF(type, p) \
  67. ((_STACK*) (1 ? p : (STACK_OF(type)*)0))
  68. #define CHECKED_SK_FREE_FUNC(type, p) \
  69. ((void (*)(void *)) ((1 ? p : (void (*)(type *))0)))
  70. #define CHECKED_SK_FREE_FUNC2(type, p) \
  71. ((void (*)(void *)) ((1 ? p : (void (*)(type))0)))
  72. #define CHECKED_SK_CMP_FUNC(type, p) \
  73. ((int (*)(const void *, const void *)) \
  74. ((1 ? p : (int (*)(const type * const *, const type * const *))0)))
  75. #define STACK_OF(type) struct stack_st_##type
  76. #define PREDECLARE_STACK_OF(type) STACK_OF(type);
  77. #define DECLARE_STACK_OF(type) STACK_OF(type);
  78. #define DECLARE_SPECIAL_STACK_OF(type, type2) STACK_OF(type);
  79. #define IMPLEMENT_STACK_OF(type) /* nada (obsolete in new safestack approach)*/
  80. /* Strings are special: normally an lhash entry will point to a single
  81. * (somewhat) mutable object. In the case of strings:
  82. *
  83. * a) Instead of a single char, there is an array of chars, NUL-terminated.
  84. * b) The string may have be immutable.
  85. *
  86. * So, they need their own declarations. Especially important for
  87. * type-checking tools, such as Deputy.
  88. *
  89. o * In practice, however, it appears to be hard to have a const
  90. * string. For now, I'm settling for dealing with the fact it is a
  91. * string at all.
  92. */
  93. typedef char *OPENSSL_STRING;
  94. typedef const char *OPENSSL_CSTRING;
  95. /* Confusingly, LHASH_OF(STRING) deals with char ** throughout, but
  96. * STACK_OF(STRING) is really more like STACK_OF(char), only, as
  97. * mentioned above, instead of a single char each entry is a
  98. * NUL-terminated array of chars. So, we have to implement STRING
  99. * specially for STACK_OF. This is dealt with in the autogenerated
  100. * macros below.
  101. */
  102. DECLARE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
  103. /* SKM_sk_... stack macros are internal to safestack.h:
  104. * never use them directly, use sk_<type>_... instead */
  105. #define SKM_sk_new(type, cmp) \
  106. ((STACK_OF(type) *)sk_new(CHECKED_SK_CMP_FUNC(type, cmp)))
  107. #define SKM_sk_new_null(type) \
  108. ((STACK_OF(type) *)sk_new_null())
  109. #define SKM_sk_free(type, st) \
  110. sk_free(CHECKED_STACK_OF(type, st))
  111. #define SKM_sk_num(type, st) \
  112. sk_num(CHECKED_STACK_OF(type, st))
  113. #define SKM_sk_value(type, st,i) \
  114. ((type *)sk_value(CHECKED_STACK_OF(type, st), i))
  115. #define SKM_sk_set(type, st,i,val) \
  116. sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val))
  117. #define SKM_sk_zero(type, st) \
  118. sk_zero(CHECKED_STACK_OF(type, st))
  119. #define SKM_sk_push(type, st, val) \
  120. sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
  121. #define SKM_sk_unshift(type, st, val) \
  122. sk_unshift(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
  123. #define SKM_sk_find(type, st, val) \
  124. sk_find(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val))
  125. #define SKM_sk_delete(type, st, i) \
  126. (type *)sk_delete(CHECKED_STACK_OF(type, st), i)
  127. #define SKM_sk_delete_ptr(type, st, ptr) \
  128. (type *)sk_delete_ptr(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, ptr))
  129. #define SKM_sk_insert(type, st,val, i) \
  130. sk_insert(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val), i)
  131. #define SKM_sk_set_cmp_func(type, st, cmp) \
  132. ((int (*)(const type * const *,const type * const *)) \
  133. sk_set_cmp_func(CHECKED_STACK_OF(type, st), CHECKED_SK_CMP_FUNC(type, cmp)))
  134. #define SKM_sk_dup(type, st) \
  135. (STACK_OF(type) *)sk_dup(CHECKED_STACK_OF(type, st))
  136. #define SKM_sk_pop_free(type, st, free_func) \
  137. sk_pop_free(CHECKED_STACK_OF(type, st), CHECKED_SK_FREE_FUNC(type, free_func))
  138. #define SKM_sk_shift(type, st) \
  139. (type *)sk_shift(CHECKED_STACK_OF(type, st))
  140. #define SKM_sk_pop(type, st) \
  141. (type *)sk_pop(CHECKED_STACK_OF(type, st))
  142. #define SKM_sk_sort(type, st) \
  143. sk_sort(CHECKED_STACK_OF(type, st))
  144. #define SKM_sk_is_sorted(type, st) \
  145. sk_is_sorted(CHECKED_STACK_OF(type, st))
  146. #define sk_ACCESS_DESCRIPTION_new(cmp) SKM_sk_new(ACCESS_DESCRIPTION, (cmp))
  147. #define sk_ACCESS_DESCRIPTION_new_null() SKM_sk_new_null(ACCESS_DESCRIPTION)
  148. #define sk_ACCESS_DESCRIPTION_free(st) SKM_sk_free(ACCESS_DESCRIPTION, (st))
  149. #define sk_ACCESS_DESCRIPTION_num(st) SKM_sk_num(ACCESS_DESCRIPTION, (st))
  150. #define sk_ACCESS_DESCRIPTION_value(st, i) SKM_sk_value(ACCESS_DESCRIPTION, (st), (i))
  151. #define sk_ACCESS_DESCRIPTION_set(st, i, val) SKM_sk_set(ACCESS_DESCRIPTION, (st), (i), (val))
  152. #define sk_ACCESS_DESCRIPTION_zero(st) SKM_sk_zero(ACCESS_DESCRIPTION, (st))
  153. #define sk_ACCESS_DESCRIPTION_push(st, val) SKM_sk_push(ACCESS_DESCRIPTION, (st), (val))
  154. #define sk_ACCESS_DESCRIPTION_unshift(st, val) SKM_sk_unshift(ACCESS_DESCRIPTION, (st), (val))
  155. #define sk_ACCESS_DESCRIPTION_find(st, val) SKM_sk_find(ACCESS_DESCRIPTION, (st), (val))
  156. #define sk_ACCESS_DESCRIPTION_delete(st, i) SKM_sk_delete(ACCESS_DESCRIPTION, (st), (i))
  157. #define sk_ACCESS_DESCRIPTION_delete_ptr(st, ptr) SKM_sk_delete_ptr(ACCESS_DESCRIPTION, (st), (ptr))
  158. #define sk_ACCESS_DESCRIPTION_insert(st, val, i) SKM_sk_insert(ACCESS_DESCRIPTION, (st), (val), (i))
  159. #define sk_ACCESS_DESCRIPTION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ACCESS_DESCRIPTION, (st), (cmp))
  160. #define sk_ACCESS_DESCRIPTION_dup(st) SKM_sk_dup(ACCESS_DESCRIPTION, st)
  161. #define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (free_func))
  162. #define sk_ACCESS_DESCRIPTION_shift(st) SKM_sk_shift(ACCESS_DESCRIPTION, (st))
  163. #define sk_ACCESS_DESCRIPTION_pop(st) SKM_sk_pop(ACCESS_DESCRIPTION, (st))
  164. #define sk_ACCESS_DESCRIPTION_sort(st) SKM_sk_sort(ACCESS_DESCRIPTION, (st))
  165. #define sk_ACCESS_DESCRIPTION_is_sorted(st) SKM_sk_is_sorted(ACCESS_DESCRIPTION, (st))
  166. #define sk_ASIdOrRange_new(cmp) SKM_sk_new(ASIdOrRange, (cmp))
  167. #define sk_ASIdOrRange_new_null() SKM_sk_new_null(ASIdOrRange)
  168. #define sk_ASIdOrRange_free(st) SKM_sk_free(ASIdOrRange, (st))
  169. #define sk_ASIdOrRange_num(st) SKM_sk_num(ASIdOrRange, (st))
  170. #define sk_ASIdOrRange_value(st, i) SKM_sk_value(ASIdOrRange, (st), (i))
  171. #define sk_ASIdOrRange_set(st, i, val) SKM_sk_set(ASIdOrRange, (st), (i), (val))
  172. #define sk_ASIdOrRange_zero(st) SKM_sk_zero(ASIdOrRange, (st))
  173. #define sk_ASIdOrRange_push(st, val) SKM_sk_push(ASIdOrRange, (st), (val))
  174. #define sk_ASIdOrRange_unshift(st, val) SKM_sk_unshift(ASIdOrRange, (st), (val))
  175. #define sk_ASIdOrRange_find(st, val) SKM_sk_find(ASIdOrRange, (st), (val))
  176. #define sk_ASIdOrRange_delete(st, i) SKM_sk_delete(ASIdOrRange, (st), (i))
  177. #define sk_ASIdOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASIdOrRange, (st), (ptr))
  178. #define sk_ASIdOrRange_insert(st, val, i) SKM_sk_insert(ASIdOrRange, (st), (val), (i))
  179. #define sk_ASIdOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASIdOrRange, (st), (cmp))
  180. #define sk_ASIdOrRange_dup(st) SKM_sk_dup(ASIdOrRange, st)
  181. #define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func))
  182. #define sk_ASIdOrRange_shift(st) SKM_sk_shift(ASIdOrRange, (st))
  183. #define sk_ASIdOrRange_pop(st) SKM_sk_pop(ASIdOrRange, (st))
  184. #define sk_ASIdOrRange_sort(st) SKM_sk_sort(ASIdOrRange, (st))
  185. #define sk_ASIdOrRange_is_sorted(st) SKM_sk_is_sorted(ASIdOrRange, (st))
  186. #define sk_ASN1_GENERALSTRING_new(cmp) SKM_sk_new(ASN1_GENERALSTRING, (cmp))
  187. #define sk_ASN1_GENERALSTRING_new_null() SKM_sk_new_null(ASN1_GENERALSTRING)
  188. #define sk_ASN1_GENERALSTRING_free(st) SKM_sk_free(ASN1_GENERALSTRING, (st))
  189. #define sk_ASN1_GENERALSTRING_num(st) SKM_sk_num(ASN1_GENERALSTRING, (st))
  190. #define sk_ASN1_GENERALSTRING_value(st, i) SKM_sk_value(ASN1_GENERALSTRING, (st), (i))
  191. #define sk_ASN1_GENERALSTRING_set(st, i, val) SKM_sk_set(ASN1_GENERALSTRING, (st), (i), (val))
  192. #define sk_ASN1_GENERALSTRING_zero(st) SKM_sk_zero(ASN1_GENERALSTRING, (st))
  193. #define sk_ASN1_GENERALSTRING_push(st, val) SKM_sk_push(ASN1_GENERALSTRING, (st), (val))
  194. #define sk_ASN1_GENERALSTRING_unshift(st, val) SKM_sk_unshift(ASN1_GENERALSTRING, (st), (val))
  195. #define sk_ASN1_GENERALSTRING_find(st, val) SKM_sk_find(ASN1_GENERALSTRING, (st), (val))
  196. #define sk_ASN1_GENERALSTRING_delete(st, i) SKM_sk_delete(ASN1_GENERALSTRING, (st), (i))
  197. #define sk_ASN1_GENERALSTRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_GENERALSTRING, (st), (ptr))
  198. #define sk_ASN1_GENERALSTRING_insert(st, val, i) SKM_sk_insert(ASN1_GENERALSTRING, (st), (val), (i))
  199. #define sk_ASN1_GENERALSTRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_GENERALSTRING, (st), (cmp))
  200. #define sk_ASN1_GENERALSTRING_dup(st) SKM_sk_dup(ASN1_GENERALSTRING, st)
  201. #define sk_ASN1_GENERALSTRING_pop_free(st, free_func) SKM_sk_pop_free(ASN1_GENERALSTRING, (st), (free_func))
  202. #define sk_ASN1_GENERALSTRING_shift(st) SKM_sk_shift(ASN1_GENERALSTRING, (st))
  203. #define sk_ASN1_GENERALSTRING_pop(st) SKM_sk_pop(ASN1_GENERALSTRING, (st))
  204. #define sk_ASN1_GENERALSTRING_sort(st) SKM_sk_sort(ASN1_GENERALSTRING, (st))
  205. #define sk_ASN1_GENERALSTRING_is_sorted(st) SKM_sk_is_sorted(ASN1_GENERALSTRING, (st))
  206. #define sk_ASN1_INTEGER_new(cmp) SKM_sk_new(ASN1_INTEGER, (cmp))
  207. #define sk_ASN1_INTEGER_new_null() SKM_sk_new_null(ASN1_INTEGER)
  208. #define sk_ASN1_INTEGER_free(st) SKM_sk_free(ASN1_INTEGER, (st))
  209. #define sk_ASN1_INTEGER_num(st) SKM_sk_num(ASN1_INTEGER, (st))
  210. #define sk_ASN1_INTEGER_value(st, i) SKM_sk_value(ASN1_INTEGER, (st), (i))
  211. #define sk_ASN1_INTEGER_set(st, i, val) SKM_sk_set(ASN1_INTEGER, (st), (i), (val))
  212. #define sk_ASN1_INTEGER_zero(st) SKM_sk_zero(ASN1_INTEGER, (st))
  213. #define sk_ASN1_INTEGER_push(st, val) SKM_sk_push(ASN1_INTEGER, (st), (val))
  214. #define sk_ASN1_INTEGER_unshift(st, val) SKM_sk_unshift(ASN1_INTEGER, (st), (val))
  215. #define sk_ASN1_INTEGER_find(st, val) SKM_sk_find(ASN1_INTEGER, (st), (val))
  216. #define sk_ASN1_INTEGER_delete(st, i) SKM_sk_delete(ASN1_INTEGER, (st), (i))
  217. #define sk_ASN1_INTEGER_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_INTEGER, (st), (ptr))
  218. #define sk_ASN1_INTEGER_insert(st, val, i) SKM_sk_insert(ASN1_INTEGER, (st), (val), (i))
  219. #define sk_ASN1_INTEGER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_INTEGER, (st), (cmp))
  220. #define sk_ASN1_INTEGER_dup(st) SKM_sk_dup(ASN1_INTEGER, st)
  221. #define sk_ASN1_INTEGER_pop_free(st, free_func) SKM_sk_pop_free(ASN1_INTEGER, (st), (free_func))
  222. #define sk_ASN1_INTEGER_shift(st) SKM_sk_shift(ASN1_INTEGER, (st))
  223. #define sk_ASN1_INTEGER_pop(st) SKM_sk_pop(ASN1_INTEGER, (st))
  224. #define sk_ASN1_INTEGER_sort(st) SKM_sk_sort(ASN1_INTEGER, (st))
  225. #define sk_ASN1_INTEGER_is_sorted(st) SKM_sk_is_sorted(ASN1_INTEGER, (st))
  226. #define sk_ASN1_OBJECT_new(cmp) SKM_sk_new(ASN1_OBJECT, (cmp))
  227. #define sk_ASN1_OBJECT_new_null() SKM_sk_new_null(ASN1_OBJECT)
  228. #define sk_ASN1_OBJECT_free(st) SKM_sk_free(ASN1_OBJECT, (st))
  229. #define sk_ASN1_OBJECT_num(st) SKM_sk_num(ASN1_OBJECT, (st))
  230. #define sk_ASN1_OBJECT_value(st, i) SKM_sk_value(ASN1_OBJECT, (st), (i))
  231. #define sk_ASN1_OBJECT_set(st, i, val) SKM_sk_set(ASN1_OBJECT, (st), (i), (val))
  232. #define sk_ASN1_OBJECT_zero(st) SKM_sk_zero(ASN1_OBJECT, (st))
  233. #define sk_ASN1_OBJECT_push(st, val) SKM_sk_push(ASN1_OBJECT, (st), (val))
  234. #define sk_ASN1_OBJECT_unshift(st, val) SKM_sk_unshift(ASN1_OBJECT, (st), (val))
  235. #define sk_ASN1_OBJECT_find(st, val) SKM_sk_find(ASN1_OBJECT, (st), (val))
  236. #define sk_ASN1_OBJECT_delete(st, i) SKM_sk_delete(ASN1_OBJECT, (st), (i))
  237. #define sk_ASN1_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_OBJECT, (st), (ptr))
  238. #define sk_ASN1_OBJECT_insert(st, val, i) SKM_sk_insert(ASN1_OBJECT, (st), (val), (i))
  239. #define sk_ASN1_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_OBJECT, (st), (cmp))
  240. #define sk_ASN1_OBJECT_dup(st) SKM_sk_dup(ASN1_OBJECT, st)
  241. #define sk_ASN1_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(ASN1_OBJECT, (st), (free_func))
  242. #define sk_ASN1_OBJECT_shift(st) SKM_sk_shift(ASN1_OBJECT, (st))
  243. #define sk_ASN1_OBJECT_pop(st) SKM_sk_pop(ASN1_OBJECT, (st))
  244. #define sk_ASN1_OBJECT_sort(st) SKM_sk_sort(ASN1_OBJECT, (st))
  245. #define sk_ASN1_OBJECT_is_sorted(st) SKM_sk_is_sorted(ASN1_OBJECT, (st))
  246. #define sk_ASN1_TYPE_new(cmp) SKM_sk_new(ASN1_TYPE, (cmp))
  247. #define sk_ASN1_TYPE_new_null() SKM_sk_new_null(ASN1_TYPE)
  248. #define sk_ASN1_TYPE_free(st) SKM_sk_free(ASN1_TYPE, (st))
  249. #define sk_ASN1_TYPE_num(st) SKM_sk_num(ASN1_TYPE, (st))
  250. #define sk_ASN1_TYPE_value(st, i) SKM_sk_value(ASN1_TYPE, (st), (i))
  251. #define sk_ASN1_TYPE_set(st, i, val) SKM_sk_set(ASN1_TYPE, (st), (i), (val))
  252. #define sk_ASN1_TYPE_zero(st) SKM_sk_zero(ASN1_TYPE, (st))
  253. #define sk_ASN1_TYPE_push(st, val) SKM_sk_push(ASN1_TYPE, (st), (val))
  254. #define sk_ASN1_TYPE_unshift(st, val) SKM_sk_unshift(ASN1_TYPE, (st), (val))
  255. #define sk_ASN1_TYPE_find(st, val) SKM_sk_find(ASN1_TYPE, (st), (val))
  256. #define sk_ASN1_TYPE_delete(st, i) SKM_sk_delete(ASN1_TYPE, (st), (i))
  257. #define sk_ASN1_TYPE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_TYPE, (st), (ptr))
  258. #define sk_ASN1_TYPE_insert(st, val, i) SKM_sk_insert(ASN1_TYPE, (st), (val), (i))
  259. #define sk_ASN1_TYPE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_TYPE, (st), (cmp))
  260. #define sk_ASN1_TYPE_dup(st) SKM_sk_dup(ASN1_TYPE, st)
  261. #define sk_ASN1_TYPE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_TYPE, (st), (free_func))
  262. #define sk_ASN1_TYPE_shift(st) SKM_sk_shift(ASN1_TYPE, (st))
  263. #define sk_ASN1_TYPE_pop(st) SKM_sk_pop(ASN1_TYPE, (st))
  264. #define sk_ASN1_TYPE_sort(st) SKM_sk_sort(ASN1_TYPE, (st))
  265. #define sk_ASN1_TYPE_is_sorted(st) SKM_sk_is_sorted(ASN1_TYPE, (st))
  266. #define sk_ASN1_UTF8STRING_new(cmp) SKM_sk_new(ASN1_UTF8STRING, (cmp))
  267. #define sk_ASN1_UTF8STRING_new_null() SKM_sk_new_null(ASN1_UTF8STRING)
  268. #define sk_ASN1_UTF8STRING_free(st) SKM_sk_free(ASN1_UTF8STRING, (st))
  269. #define sk_ASN1_UTF8STRING_num(st) SKM_sk_num(ASN1_UTF8STRING, (st))
  270. #define sk_ASN1_UTF8STRING_value(st, i) SKM_sk_value(ASN1_UTF8STRING, (st), (i))
  271. #define sk_ASN1_UTF8STRING_set(st, i, val) SKM_sk_set(ASN1_UTF8STRING, (st), (i), (val))
  272. #define sk_ASN1_UTF8STRING_zero(st) SKM_sk_zero(ASN1_UTF8STRING, (st))
  273. #define sk_ASN1_UTF8STRING_push(st, val) SKM_sk_push(ASN1_UTF8STRING, (st), (val))
  274. #define sk_ASN1_UTF8STRING_unshift(st, val) SKM_sk_unshift(ASN1_UTF8STRING, (st), (val))
  275. #define sk_ASN1_UTF8STRING_find(st, val) SKM_sk_find(ASN1_UTF8STRING, (st), (val))
  276. #define sk_ASN1_UTF8STRING_delete(st, i) SKM_sk_delete(ASN1_UTF8STRING, (st), (i))
  277. #define sk_ASN1_UTF8STRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_UTF8STRING, (st), (ptr))
  278. #define sk_ASN1_UTF8STRING_insert(st, val, i) SKM_sk_insert(ASN1_UTF8STRING, (st), (val), (i))
  279. #define sk_ASN1_UTF8STRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_UTF8STRING, (st), (cmp))
  280. #define sk_ASN1_UTF8STRING_dup(st) SKM_sk_dup(ASN1_UTF8STRING, st)
  281. #define sk_ASN1_UTF8STRING_pop_free(st, free_func) SKM_sk_pop_free(ASN1_UTF8STRING, (st), (free_func))
  282. #define sk_ASN1_UTF8STRING_shift(st) SKM_sk_shift(ASN1_UTF8STRING, (st))
  283. #define sk_ASN1_UTF8STRING_pop(st) SKM_sk_pop(ASN1_UTF8STRING, (st))
  284. #define sk_ASN1_UTF8STRING_sort(st) SKM_sk_sort(ASN1_UTF8STRING, (st))
  285. #define sk_ASN1_UTF8STRING_is_sorted(st) SKM_sk_is_sorted(ASN1_UTF8STRING, (st))
  286. #define sk_ASN1_VALUE_new(cmp) SKM_sk_new(ASN1_VALUE, (cmp))
  287. #define sk_ASN1_VALUE_new_null() SKM_sk_new_null(ASN1_VALUE)
  288. #define sk_ASN1_VALUE_free(st) SKM_sk_free(ASN1_VALUE, (st))
  289. #define sk_ASN1_VALUE_num(st) SKM_sk_num(ASN1_VALUE, (st))
  290. #define sk_ASN1_VALUE_value(st, i) SKM_sk_value(ASN1_VALUE, (st), (i))
  291. #define sk_ASN1_VALUE_set(st, i, val) SKM_sk_set(ASN1_VALUE, (st), (i), (val))
  292. #define sk_ASN1_VALUE_zero(st) SKM_sk_zero(ASN1_VALUE, (st))
  293. #define sk_ASN1_VALUE_push(st, val) SKM_sk_push(ASN1_VALUE, (st), (val))
  294. #define sk_ASN1_VALUE_unshift(st, val) SKM_sk_unshift(ASN1_VALUE, (st), (val))
  295. #define sk_ASN1_VALUE_find(st, val) SKM_sk_find(ASN1_VALUE, (st), (val))
  296. #define sk_ASN1_VALUE_delete(st, i) SKM_sk_delete(ASN1_VALUE, (st), (i))
  297. #define sk_ASN1_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_VALUE, (st), (ptr))
  298. #define sk_ASN1_VALUE_insert(st, val, i) SKM_sk_insert(ASN1_VALUE, (st), (val), (i))
  299. #define sk_ASN1_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_VALUE, (st), (cmp))
  300. #define sk_ASN1_VALUE_dup(st) SKM_sk_dup(ASN1_VALUE, st)
  301. #define sk_ASN1_VALUE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_VALUE, (st), (free_func))
  302. #define sk_ASN1_VALUE_shift(st) SKM_sk_shift(ASN1_VALUE, (st))
  303. #define sk_ASN1_VALUE_pop(st) SKM_sk_pop(ASN1_VALUE, (st))
  304. #define sk_ASN1_VALUE_sort(st) SKM_sk_sort(ASN1_VALUE, (st))
  305. #define sk_ASN1_VALUE_is_sorted(st) SKM_sk_is_sorted(ASN1_VALUE, (st))
  306. #define sk_BIO_new(cmp) SKM_sk_new(BIO, (cmp))
  307. #define sk_BIO_new_null() SKM_sk_new_null(BIO)
  308. #define sk_BIO_free(st) SKM_sk_free(BIO, (st))
  309. #define sk_BIO_num(st) SKM_sk_num(BIO, (st))
  310. #define sk_BIO_value(st, i) SKM_sk_value(BIO, (st), (i))
  311. #define sk_BIO_set(st, i, val) SKM_sk_set(BIO, (st), (i), (val))
  312. #define sk_BIO_zero(st) SKM_sk_zero(BIO, (st))
  313. #define sk_BIO_push(st, val) SKM_sk_push(BIO, (st), (val))
  314. #define sk_BIO_unshift(st, val) SKM_sk_unshift(BIO, (st), (val))
  315. #define sk_BIO_find(st, val) SKM_sk_find(BIO, (st), (val))
  316. #define sk_BIO_delete(st, i) SKM_sk_delete(BIO, (st), (i))
  317. #define sk_BIO_delete_ptr(st, ptr) SKM_sk_delete_ptr(BIO, (st), (ptr))
  318. #define sk_BIO_insert(st, val, i) SKM_sk_insert(BIO, (st), (val), (i))
  319. #define sk_BIO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BIO, (st), (cmp))
  320. #define sk_BIO_dup(st) SKM_sk_dup(BIO, st)
  321. #define sk_BIO_pop_free(st, free_func) SKM_sk_pop_free(BIO, (st), (free_func))
  322. #define sk_BIO_shift(st) SKM_sk_shift(BIO, (st))
  323. #define sk_BIO_pop(st) SKM_sk_pop(BIO, (st))
  324. #define sk_BIO_sort(st) SKM_sk_sort(BIO, (st))
  325. #define sk_BIO_is_sorted(st) SKM_sk_is_sorted(BIO, (st))
  326. #define sk_BY_DIR_ENTRY_new(cmp) SKM_sk_new(BY_DIR_ENTRY, (cmp))
  327. #define sk_BY_DIR_ENTRY_new_null() SKM_sk_new_null(BY_DIR_ENTRY)
  328. #define sk_BY_DIR_ENTRY_free(st) SKM_sk_free(BY_DIR_ENTRY, (st))
  329. #define sk_BY_DIR_ENTRY_num(st) SKM_sk_num(BY_DIR_ENTRY, (st))
  330. #define sk_BY_DIR_ENTRY_value(st, i) SKM_sk_value(BY_DIR_ENTRY, (st), (i))
  331. #define sk_BY_DIR_ENTRY_set(st, i, val) SKM_sk_set(BY_DIR_ENTRY, (st), (i), (val))
  332. #define sk_BY_DIR_ENTRY_zero(st) SKM_sk_zero(BY_DIR_ENTRY, (st))
  333. #define sk_BY_DIR_ENTRY_push(st, val) SKM_sk_push(BY_DIR_ENTRY, (st), (val))
  334. #define sk_BY_DIR_ENTRY_unshift(st, val) SKM_sk_unshift(BY_DIR_ENTRY, (st), (val))
  335. #define sk_BY_DIR_ENTRY_find(st, val) SKM_sk_find(BY_DIR_ENTRY, (st), (val))
  336. #define sk_BY_DIR_ENTRY_delete(st, i) SKM_sk_delete(BY_DIR_ENTRY, (st), (i))
  337. #define sk_BY_DIR_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(BY_DIR_ENTRY, (st), (ptr))
  338. #define sk_BY_DIR_ENTRY_insert(st, val, i) SKM_sk_insert(BY_DIR_ENTRY, (st), (val), (i))
  339. #define sk_BY_DIR_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BY_DIR_ENTRY, (st), (cmp))
  340. #define sk_BY_DIR_ENTRY_dup(st) SKM_sk_dup(BY_DIR_ENTRY, st)
  341. #define sk_BY_DIR_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(BY_DIR_ENTRY, (st), (free_func))
  342. #define sk_BY_DIR_ENTRY_shift(st) SKM_sk_shift(BY_DIR_ENTRY, (st))
  343. #define sk_BY_DIR_ENTRY_pop(st) SKM_sk_pop(BY_DIR_ENTRY, (st))
  344. #define sk_BY_DIR_ENTRY_sort(st) SKM_sk_sort(BY_DIR_ENTRY, (st))
  345. #define sk_BY_DIR_ENTRY_is_sorted(st) SKM_sk_is_sorted(BY_DIR_ENTRY, (st))
  346. #define sk_BY_DIR_HASH_new(cmp) SKM_sk_new(BY_DIR_HASH, (cmp))
  347. #define sk_BY_DIR_HASH_new_null() SKM_sk_new_null(BY_DIR_HASH)
  348. #define sk_BY_DIR_HASH_free(st) SKM_sk_free(BY_DIR_HASH, (st))
  349. #define sk_BY_DIR_HASH_num(st) SKM_sk_num(BY_DIR_HASH, (st))
  350. #define sk_BY_DIR_HASH_value(st, i) SKM_sk_value(BY_DIR_HASH, (st), (i))
  351. #define sk_BY_DIR_HASH_set(st, i, val) SKM_sk_set(BY_DIR_HASH, (st), (i), (val))
  352. #define sk_BY_DIR_HASH_zero(st) SKM_sk_zero(BY_DIR_HASH, (st))
  353. #define sk_BY_DIR_HASH_push(st, val) SKM_sk_push(BY_DIR_HASH, (st), (val))
  354. #define sk_BY_DIR_HASH_unshift(st, val) SKM_sk_unshift(BY_DIR_HASH, (st), (val))
  355. #define sk_BY_DIR_HASH_find(st, val) SKM_sk_find(BY_DIR_HASH, (st), (val))
  356. #define sk_BY_DIR_HASH_delete(st, i) SKM_sk_delete(BY_DIR_HASH, (st), (i))
  357. #define sk_BY_DIR_HASH_delete_ptr(st, ptr) SKM_sk_delete_ptr(BY_DIR_HASH, (st), (ptr))
  358. #define sk_BY_DIR_HASH_insert(st, val, i) SKM_sk_insert(BY_DIR_HASH, (st), (val), (i))
  359. #define sk_BY_DIR_HASH_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BY_DIR_HASH, (st), (cmp))
  360. #define sk_BY_DIR_HASH_dup(st) SKM_sk_dup(BY_DIR_HASH, st)
  361. #define sk_BY_DIR_HASH_pop_free(st, free_func) SKM_sk_pop_free(BY_DIR_HASH, (st), (free_func))
  362. #define sk_BY_DIR_HASH_shift(st) SKM_sk_shift(BY_DIR_HASH, (st))
  363. #define sk_BY_DIR_HASH_pop(st) SKM_sk_pop(BY_DIR_HASH, (st))
  364. #define sk_BY_DIR_HASH_sort(st) SKM_sk_sort(BY_DIR_HASH, (st))
  365. #define sk_BY_DIR_HASH_is_sorted(st) SKM_sk_is_sorted(BY_DIR_HASH, (st))
  366. #define sk_CMS_CertificateChoices_new(cmp) SKM_sk_new(CMS_CertificateChoices, (cmp))
  367. #define sk_CMS_CertificateChoices_new_null() SKM_sk_new_null(CMS_CertificateChoices)
  368. #define sk_CMS_CertificateChoices_free(st) SKM_sk_free(CMS_CertificateChoices, (st))
  369. #define sk_CMS_CertificateChoices_num(st) SKM_sk_num(CMS_CertificateChoices, (st))
  370. #define sk_CMS_CertificateChoices_value(st, i) SKM_sk_value(CMS_CertificateChoices, (st), (i))
  371. #define sk_CMS_CertificateChoices_set(st, i, val) SKM_sk_set(CMS_CertificateChoices, (st), (i), (val))
  372. #define sk_CMS_CertificateChoices_zero(st) SKM_sk_zero(CMS_CertificateChoices, (st))
  373. #define sk_CMS_CertificateChoices_push(st, val) SKM_sk_push(CMS_CertificateChoices, (st), (val))
  374. #define sk_CMS_CertificateChoices_unshift(st, val) SKM_sk_unshift(CMS_CertificateChoices, (st), (val))
  375. #define sk_CMS_CertificateChoices_find(st, val) SKM_sk_find(CMS_CertificateChoices, (st), (val))
  376. #define sk_CMS_CertificateChoices_delete(st, i) SKM_sk_delete(CMS_CertificateChoices, (st), (i))
  377. #define sk_CMS_CertificateChoices_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_CertificateChoices, (st), (ptr))
  378. #define sk_CMS_CertificateChoices_insert(st, val, i) SKM_sk_insert(CMS_CertificateChoices, (st), (val), (i))
  379. #define sk_CMS_CertificateChoices_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_CertificateChoices, (st), (cmp))
  380. #define sk_CMS_CertificateChoices_dup(st) SKM_sk_dup(CMS_CertificateChoices, st)
  381. #define sk_CMS_CertificateChoices_pop_free(st, free_func) SKM_sk_pop_free(CMS_CertificateChoices, (st), (free_func))
  382. #define sk_CMS_CertificateChoices_shift(st) SKM_sk_shift(CMS_CertificateChoices, (st))
  383. #define sk_CMS_CertificateChoices_pop(st) SKM_sk_pop(CMS_CertificateChoices, (st))
  384. #define sk_CMS_CertificateChoices_sort(st) SKM_sk_sort(CMS_CertificateChoices, (st))
  385. #define sk_CMS_CertificateChoices_is_sorted(st) SKM_sk_is_sorted(CMS_CertificateChoices, (st))
  386. #define sk_CMS_RecipientEncryptedKey_new(cmp) SKM_sk_new(CMS_RecipientEncryptedKey, (cmp))
  387. #define sk_CMS_RecipientEncryptedKey_new_null() SKM_sk_new_null(CMS_RecipientEncryptedKey)
  388. #define sk_CMS_RecipientEncryptedKey_free(st) SKM_sk_free(CMS_RecipientEncryptedKey, (st))
  389. #define sk_CMS_RecipientEncryptedKey_num(st) SKM_sk_num(CMS_RecipientEncryptedKey, (st))
  390. #define sk_CMS_RecipientEncryptedKey_value(st, i) SKM_sk_value(CMS_RecipientEncryptedKey, (st), (i))
  391. #define sk_CMS_RecipientEncryptedKey_set(st, i, val) SKM_sk_set(CMS_RecipientEncryptedKey, (st), (i), (val))
  392. #define sk_CMS_RecipientEncryptedKey_zero(st) SKM_sk_zero(CMS_RecipientEncryptedKey, (st))
  393. #define sk_CMS_RecipientEncryptedKey_push(st, val) SKM_sk_push(CMS_RecipientEncryptedKey, (st), (val))
  394. #define sk_CMS_RecipientEncryptedKey_unshift(st, val) SKM_sk_unshift(CMS_RecipientEncryptedKey, (st), (val))
  395. #define sk_CMS_RecipientEncryptedKey_find(st, val) SKM_sk_find(CMS_RecipientEncryptedKey, (st), (val))
  396. #define sk_CMS_RecipientEncryptedKey_delete(st, i) SKM_sk_delete(CMS_RecipientEncryptedKey, (st), (i))
  397. #define sk_CMS_RecipientEncryptedKey_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RecipientEncryptedKey, (st), (ptr))
  398. #define sk_CMS_RecipientEncryptedKey_insert(st, val, i) SKM_sk_insert(CMS_RecipientEncryptedKey, (st), (val), (i))
  399. #define sk_CMS_RecipientEncryptedKey_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RecipientEncryptedKey, (st), (cmp))
  400. #define sk_CMS_RecipientEncryptedKey_dup(st) SKM_sk_dup(CMS_RecipientEncryptedKey, st)
  401. #define sk_CMS_RecipientEncryptedKey_pop_free(st, free_func) SKM_sk_pop_free(CMS_RecipientEncryptedKey, (st), (free_func))
  402. #define sk_CMS_RecipientEncryptedKey_shift(st) SKM_sk_shift(CMS_RecipientEncryptedKey, (st))
  403. #define sk_CMS_RecipientEncryptedKey_pop(st) SKM_sk_pop(CMS_RecipientEncryptedKey, (st))
  404. #define sk_CMS_RecipientEncryptedKey_sort(st) SKM_sk_sort(CMS_RecipientEncryptedKey, (st))
  405. #define sk_CMS_RecipientEncryptedKey_is_sorted(st) SKM_sk_is_sorted(CMS_RecipientEncryptedKey, (st))
  406. #define sk_CMS_RecipientInfo_new(cmp) SKM_sk_new(CMS_RecipientInfo, (cmp))
  407. #define sk_CMS_RecipientInfo_new_null() SKM_sk_new_null(CMS_RecipientInfo)
  408. #define sk_CMS_RecipientInfo_free(st) SKM_sk_free(CMS_RecipientInfo, (st))
  409. #define sk_CMS_RecipientInfo_num(st) SKM_sk_num(CMS_RecipientInfo, (st))
  410. #define sk_CMS_RecipientInfo_value(st, i) SKM_sk_value(CMS_RecipientInfo, (st), (i))
  411. #define sk_CMS_RecipientInfo_set(st, i, val) SKM_sk_set(CMS_RecipientInfo, (st), (i), (val))
  412. #define sk_CMS_RecipientInfo_zero(st) SKM_sk_zero(CMS_RecipientInfo, (st))
  413. #define sk_CMS_RecipientInfo_push(st, val) SKM_sk_push(CMS_RecipientInfo, (st), (val))
  414. #define sk_CMS_RecipientInfo_unshift(st, val) SKM_sk_unshift(CMS_RecipientInfo, (st), (val))
  415. #define sk_CMS_RecipientInfo_find(st, val) SKM_sk_find(CMS_RecipientInfo, (st), (val))
  416. #define sk_CMS_RecipientInfo_delete(st, i) SKM_sk_delete(CMS_RecipientInfo, (st), (i))
  417. #define sk_CMS_RecipientInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RecipientInfo, (st), (ptr))
  418. #define sk_CMS_RecipientInfo_insert(st, val, i) SKM_sk_insert(CMS_RecipientInfo, (st), (val), (i))
  419. #define sk_CMS_RecipientInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RecipientInfo, (st), (cmp))
  420. #define sk_CMS_RecipientInfo_dup(st) SKM_sk_dup(CMS_RecipientInfo, st)
  421. #define sk_CMS_RecipientInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_RecipientInfo, (st), (free_func))
  422. #define sk_CMS_RecipientInfo_shift(st) SKM_sk_shift(CMS_RecipientInfo, (st))
  423. #define sk_CMS_RecipientInfo_pop(st) SKM_sk_pop(CMS_RecipientInfo, (st))
  424. #define sk_CMS_RecipientInfo_sort(st) SKM_sk_sort(CMS_RecipientInfo, (st))
  425. #define sk_CMS_RecipientInfo_is_sorted(st) SKM_sk_is_sorted(CMS_RecipientInfo, (st))
  426. #define sk_CMS_RevocationInfoChoice_new(cmp) SKM_sk_new(CMS_RevocationInfoChoice, (cmp))
  427. #define sk_CMS_RevocationInfoChoice_new_null() SKM_sk_new_null(CMS_RevocationInfoChoice)
  428. #define sk_CMS_RevocationInfoChoice_free(st) SKM_sk_free(CMS_RevocationInfoChoice, (st))
  429. #define sk_CMS_RevocationInfoChoice_num(st) SKM_sk_num(CMS_RevocationInfoChoice, (st))
  430. #define sk_CMS_RevocationInfoChoice_value(st, i) SKM_sk_value(CMS_RevocationInfoChoice, (st), (i))
  431. #define sk_CMS_RevocationInfoChoice_set(st, i, val) SKM_sk_set(CMS_RevocationInfoChoice, (st), (i), (val))
  432. #define sk_CMS_RevocationInfoChoice_zero(st) SKM_sk_zero(CMS_RevocationInfoChoice, (st))
  433. #define sk_CMS_RevocationInfoChoice_push(st, val) SKM_sk_push(CMS_RevocationInfoChoice, (st), (val))
  434. #define sk_CMS_RevocationInfoChoice_unshift(st, val) SKM_sk_unshift(CMS_RevocationInfoChoice, (st), (val))
  435. #define sk_CMS_RevocationInfoChoice_find(st, val) SKM_sk_find(CMS_RevocationInfoChoice, (st), (val))
  436. #define sk_CMS_RevocationInfoChoice_delete(st, i) SKM_sk_delete(CMS_RevocationInfoChoice, (st), (i))
  437. #define sk_CMS_RevocationInfoChoice_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RevocationInfoChoice, (st), (ptr))
  438. #define sk_CMS_RevocationInfoChoice_insert(st, val, i) SKM_sk_insert(CMS_RevocationInfoChoice, (st), (val), (i))
  439. #define sk_CMS_RevocationInfoChoice_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RevocationInfoChoice, (st), (cmp))
  440. #define sk_CMS_RevocationInfoChoice_dup(st) SKM_sk_dup(CMS_RevocationInfoChoice, st)
  441. #define sk_CMS_RevocationInfoChoice_pop_free(st, free_func) SKM_sk_pop_free(CMS_RevocationInfoChoice, (st), (free_func))
  442. #define sk_CMS_RevocationInfoChoice_shift(st) SKM_sk_shift(CMS_RevocationInfoChoice, (st))
  443. #define sk_CMS_RevocationInfoChoice_pop(st) SKM_sk_pop(CMS_RevocationInfoChoice, (st))
  444. #define sk_CMS_RevocationInfoChoice_sort(st) SKM_sk_sort(CMS_RevocationInfoChoice, (st))
  445. #define sk_CMS_RevocationInfoChoice_is_sorted(st) SKM_sk_is_sorted(CMS_RevocationInfoChoice, (st))
  446. #define sk_CMS_SignerInfo_new(cmp) SKM_sk_new(CMS_SignerInfo, (cmp))
  447. #define sk_CMS_SignerInfo_new_null() SKM_sk_new_null(CMS_SignerInfo)
  448. #define sk_CMS_SignerInfo_free(st) SKM_sk_free(CMS_SignerInfo, (st))
  449. #define sk_CMS_SignerInfo_num(st) SKM_sk_num(CMS_SignerInfo, (st))
  450. #define sk_CMS_SignerInfo_value(st, i) SKM_sk_value(CMS_SignerInfo, (st), (i))
  451. #define sk_CMS_SignerInfo_set(st, i, val) SKM_sk_set(CMS_SignerInfo, (st), (i), (val))
  452. #define sk_CMS_SignerInfo_zero(st) SKM_sk_zero(CMS_SignerInfo, (st))
  453. #define sk_CMS_SignerInfo_push(st, val) SKM_sk_push(CMS_SignerInfo, (st), (val))
  454. #define sk_CMS_SignerInfo_unshift(st, val) SKM_sk_unshift(CMS_SignerInfo, (st), (val))
  455. #define sk_CMS_SignerInfo_find(st, val) SKM_sk_find(CMS_SignerInfo, (st), (val))
  456. #define sk_CMS_SignerInfo_delete(st, i) SKM_sk_delete(CMS_SignerInfo, (st), (i))
  457. #define sk_CMS_SignerInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_SignerInfo, (st), (ptr))
  458. #define sk_CMS_SignerInfo_insert(st, val, i) SKM_sk_insert(CMS_SignerInfo, (st), (val), (i))
  459. #define sk_CMS_SignerInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_SignerInfo, (st), (cmp))
  460. #define sk_CMS_SignerInfo_dup(st) SKM_sk_dup(CMS_SignerInfo, st)
  461. #define sk_CMS_SignerInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_SignerInfo, (st), (free_func))
  462. #define sk_CMS_SignerInfo_shift(st) SKM_sk_shift(CMS_SignerInfo, (st))
  463. #define sk_CMS_SignerInfo_pop(st) SKM_sk_pop(CMS_SignerInfo, (st))
  464. #define sk_CMS_SignerInfo_sort(st) SKM_sk_sort(CMS_SignerInfo, (st))
  465. #define sk_CMS_SignerInfo_is_sorted(st) SKM_sk_is_sorted(CMS_SignerInfo, (st))
  466. #define sk_CONF_IMODULE_new(cmp) SKM_sk_new(CONF_IMODULE, (cmp))
  467. #define sk_CONF_IMODULE_new_null() SKM_sk_new_null(CONF_IMODULE)
  468. #define sk_CONF_IMODULE_free(st) SKM_sk_free(CONF_IMODULE, (st))
  469. #define sk_CONF_IMODULE_num(st) SKM_sk_num(CONF_IMODULE, (st))
  470. #define sk_CONF_IMODULE_value(st, i) SKM_sk_value(CONF_IMODULE, (st), (i))
  471. #define sk_CONF_IMODULE_set(st, i, val) SKM_sk_set(CONF_IMODULE, (st), (i), (val))
  472. #define sk_CONF_IMODULE_zero(st) SKM_sk_zero(CONF_IMODULE, (st))
  473. #define sk_CONF_IMODULE_push(st, val) SKM_sk_push(CONF_IMODULE, (st), (val))
  474. #define sk_CONF_IMODULE_unshift(st, val) SKM_sk_unshift(CONF_IMODULE, (st), (val))
  475. #define sk_CONF_IMODULE_find(st, val) SKM_sk_find(CONF_IMODULE, (st), (val))
  476. #define sk_CONF_IMODULE_delete(st, i) SKM_sk_delete(CONF_IMODULE, (st), (i))
  477. #define sk_CONF_IMODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_IMODULE, (st), (ptr))
  478. #define sk_CONF_IMODULE_insert(st, val, i) SKM_sk_insert(CONF_IMODULE, (st), (val), (i))
  479. #define sk_CONF_IMODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_IMODULE, (st), (cmp))
  480. #define sk_CONF_IMODULE_dup(st) SKM_sk_dup(CONF_IMODULE, st)
  481. #define sk_CONF_IMODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_IMODULE, (st), (free_func))
  482. #define sk_CONF_IMODULE_shift(st) SKM_sk_shift(CONF_IMODULE, (st))
  483. #define sk_CONF_IMODULE_pop(st) SKM_sk_pop(CONF_IMODULE, (st))
  484. #define sk_CONF_IMODULE_sort(st) SKM_sk_sort(CONF_IMODULE, (st))
  485. #define sk_CONF_IMODULE_is_sorted(st) SKM_sk_is_sorted(CONF_IMODULE, (st))
  486. #define sk_CONF_MODULE_new(cmp) SKM_sk_new(CONF_MODULE, (cmp))
  487. #define sk_CONF_MODULE_new_null() SKM_sk_new_null(CONF_MODULE)
  488. #define sk_CONF_MODULE_free(st) SKM_sk_free(CONF_MODULE, (st))
  489. #define sk_CONF_MODULE_num(st) SKM_sk_num(CONF_MODULE, (st))
  490. #define sk_CONF_MODULE_value(st, i) SKM_sk_value(CONF_MODULE, (st), (i))
  491. #define sk_CONF_MODULE_set(st, i, val) SKM_sk_set(CONF_MODULE, (st), (i), (val))
  492. #define sk_CONF_MODULE_zero(st) SKM_sk_zero(CONF_MODULE, (st))
  493. #define sk_CONF_MODULE_push(st, val) SKM_sk_push(CONF_MODULE, (st), (val))
  494. #define sk_CONF_MODULE_unshift(st, val) SKM_sk_unshift(CONF_MODULE, (st), (val))
  495. #define sk_CONF_MODULE_find(st, val) SKM_sk_find(CONF_MODULE, (st), (val))
  496. #define sk_CONF_MODULE_delete(st, i) SKM_sk_delete(CONF_MODULE, (st), (i))
  497. #define sk_CONF_MODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_MODULE, (st), (ptr))
  498. #define sk_CONF_MODULE_insert(st, val, i) SKM_sk_insert(CONF_MODULE, (st), (val), (i))
  499. #define sk_CONF_MODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_MODULE, (st), (cmp))
  500. #define sk_CONF_MODULE_dup(st) SKM_sk_dup(CONF_MODULE, st)
  501. #define sk_CONF_MODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_MODULE, (st), (free_func))
  502. #define sk_CONF_MODULE_shift(st) SKM_sk_shift(CONF_MODULE, (st))
  503. #define sk_CONF_MODULE_pop(st) SKM_sk_pop(CONF_MODULE, (st))
  504. #define sk_CONF_MODULE_sort(st) SKM_sk_sort(CONF_MODULE, (st))
  505. #define sk_CONF_MODULE_is_sorted(st) SKM_sk_is_sorted(CONF_MODULE, (st))
  506. #define sk_CONF_VALUE_new(cmp) SKM_sk_new(CONF_VALUE, (cmp))
  507. #define sk_CONF_VALUE_new_null() SKM_sk_new_null(CONF_VALUE)
  508. #define sk_CONF_VALUE_free(st) SKM_sk_free(CONF_VALUE, (st))
  509. #define sk_CONF_VALUE_num(st) SKM_sk_num(CONF_VALUE, (st))
  510. #define sk_CONF_VALUE_value(st, i) SKM_sk_value(CONF_VALUE, (st), (i))
  511. #define sk_CONF_VALUE_set(st, i, val) SKM_sk_set(CONF_VALUE, (st), (i), (val))
  512. #define sk_CONF_VALUE_zero(st) SKM_sk_zero(CONF_VALUE, (st))
  513. #define sk_CONF_VALUE_push(st, val) SKM_sk_push(CONF_VALUE, (st), (val))
  514. #define sk_CONF_VALUE_unshift(st, val) SKM_sk_unshift(CONF_VALUE, (st), (val))
  515. #define sk_CONF_VALUE_find(st, val) SKM_sk_find(CONF_VALUE, (st), (val))
  516. #define sk_CONF_VALUE_delete(st, i) SKM_sk_delete(CONF_VALUE, (st), (i))
  517. #define sk_CONF_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_VALUE, (st), (ptr))
  518. #define sk_CONF_VALUE_insert(st, val, i) SKM_sk_insert(CONF_VALUE, (st), (val), (i))
  519. #define sk_CONF_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_VALUE, (st), (cmp))
  520. #define sk_CONF_VALUE_dup(st) SKM_sk_dup(CONF_VALUE, st)
  521. #define sk_CONF_VALUE_pop_free(st, free_func) SKM_sk_pop_free(CONF_VALUE, (st), (free_func))
  522. #define sk_CONF_VALUE_shift(st) SKM_sk_shift(CONF_VALUE, (st))
  523. #define sk_CONF_VALUE_pop(st) SKM_sk_pop(CONF_VALUE, (st))
  524. #define sk_CONF_VALUE_sort(st) SKM_sk_sort(CONF_VALUE, (st))
  525. #define sk_CONF_VALUE_is_sorted(st) SKM_sk_is_sorted(CONF_VALUE, (st))
  526. #define sk_CRYPTO_dynlock_new(cmp) SKM_sk_new(CRYPTO_dynlock, (cmp))
  527. #define sk_CRYPTO_dynlock_new_null() SKM_sk_new_null(CRYPTO_dynlock)
  528. #define sk_CRYPTO_dynlock_free(st) SKM_sk_free(CRYPTO_dynlock, (st))
  529. #define sk_CRYPTO_dynlock_num(st) SKM_sk_num(CRYPTO_dynlock, (st))
  530. #define sk_CRYPTO_dynlock_value(st, i) SKM_sk_value(CRYPTO_dynlock, (st), (i))
  531. #define sk_CRYPTO_dynlock_set(st, i, val) SKM_sk_set(CRYPTO_dynlock, (st), (i), (val))
  532. #define sk_CRYPTO_dynlock_zero(st) SKM_sk_zero(CRYPTO_dynlock, (st))
  533. #define sk_CRYPTO_dynlock_push(st, val) SKM_sk_push(CRYPTO_dynlock, (st), (val))
  534. #define sk_CRYPTO_dynlock_unshift(st, val) SKM_sk_unshift(CRYPTO_dynlock, (st), (val))
  535. #define sk_CRYPTO_dynlock_find(st, val) SKM_sk_find(CRYPTO_dynlock, (st), (val))
  536. #define sk_CRYPTO_dynlock_delete(st, i) SKM_sk_delete(CRYPTO_dynlock, (st), (i))
  537. #define sk_CRYPTO_dynlock_delete_ptr(st, ptr) SKM_sk_delete_ptr(CRYPTO_dynlock, (st), (ptr))
  538. #define sk_CRYPTO_dynlock_insert(st, val, i) SKM_sk_insert(CRYPTO_dynlock, (st), (val), (i))
  539. #define sk_CRYPTO_dynlock_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CRYPTO_dynlock, (st), (cmp))
  540. #define sk_CRYPTO_dynlock_dup(st) SKM_sk_dup(CRYPTO_dynlock, st)
  541. #define sk_CRYPTO_dynlock_pop_free(st, free_func) SKM_sk_pop_free(CRYPTO_dynlock, (st), (free_func))
  542. #define sk_CRYPTO_dynlock_shift(st) SKM_sk_shift(CRYPTO_dynlock, (st))
  543. #define sk_CRYPTO_dynlock_pop(st) SKM_sk_pop(CRYPTO_dynlock, (st))
  544. #define sk_CRYPTO_dynlock_sort(st) SKM_sk_sort(CRYPTO_dynlock, (st))
  545. #define sk_CRYPTO_dynlock_is_sorted(st) SKM_sk_is_sorted(CRYPTO_dynlock, (st))
  546. #define sk_CTLOG_new(cmp) SKM_sk_new(CTLOG, (cmp))
  547. #define sk_CTLOG_new_null() SKM_sk_new_null(CTLOG)
  548. #define sk_CTLOG_free(st) SKM_sk_free(CTLOG, (st))
  549. #define sk_CTLOG_num(st) SKM_sk_num(CTLOG, (st))
  550. #define sk_CTLOG_value(st, i) SKM_sk_value(CTLOG, (st), (i))
  551. #define sk_CTLOG_set(st, i, val) SKM_sk_set(CTLOG, (st), (i), (val))
  552. #define sk_CTLOG_zero(st) SKM_sk_zero(CTLOG, (st))
  553. #define sk_CTLOG_push(st, val) SKM_sk_push(CTLOG, (st), (val))
  554. #define sk_CTLOG_unshift(st, val) SKM_sk_unshift(CTLOG, (st), (val))
  555. #define sk_CTLOG_find(st, val) SKM_sk_find(CTLOG, (st), (val))
  556. #define sk_CTLOG_delete(st, i) SKM_sk_delete(CTLOG, (st), (i))
  557. #define sk_CTLOG_delete_ptr(st, ptr) SKM_sk_delete_ptr(CTLOG, (st), (ptr))
  558. #define sk_CTLOG_insert(st, val, i) SKM_sk_insert(CTLOG, (st), (val), (i))
  559. #define sk_CTLOG_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CTLOG, (st), (cmp))
  560. #define sk_CTLOG_dup(st) SKM_sk_dup(CTLOG, st)
  561. #define sk_CTLOG_pop_free(st, free_func) SKM_sk_pop_free(CTLOG, (st), (free_func))
  562. #define sk_CTLOG_shift(st) SKM_sk_shift(CTLOG, (st))
  563. #define sk_CTLOG_pop(st) SKM_sk_pop(CTLOG, (st))
  564. #define sk_CTLOG_sort(st) SKM_sk_sort(CTLOG, (st))
  565. #define sk_CTLOG_is_sorted(st) SKM_sk_is_sorted(CTLOG, (st))
  566. #define sk_DIST_POINT_new(cmp) SKM_sk_new(DIST_POINT, (cmp))
  567. #define sk_DIST_POINT_new_null() SKM_sk_new_null(DIST_POINT)
  568. #define sk_DIST_POINT_free(st) SKM_sk_free(DIST_POINT, (st))
  569. #define sk_DIST_POINT_num(st) SKM_sk_num(DIST_POINT, (st))
  570. #define sk_DIST_POINT_value(st, i) SKM_sk_value(DIST_POINT, (st), (i))
  571. #define sk_DIST_POINT_set(st, i, val) SKM_sk_set(DIST_POINT, (st), (i), (val))
  572. #define sk_DIST_POINT_zero(st) SKM_sk_zero(DIST_POINT, (st))
  573. #define sk_DIST_POINT_push(st, val) SKM_sk_push(DIST_POINT, (st), (val))
  574. #define sk_DIST_POINT_unshift(st, val) SKM_sk_unshift(DIST_POINT, (st), (val))
  575. #define sk_DIST_POINT_find(st, val) SKM_sk_find(DIST_POINT, (st), (val))
  576. #define sk_DIST_POINT_delete(st, i) SKM_sk_delete(DIST_POINT, (st), (i))
  577. #define sk_DIST_POINT_delete_ptr(st, ptr) SKM_sk_delete_ptr(DIST_POINT, (st), (ptr))
  578. #define sk_DIST_POINT_insert(st, val, i) SKM_sk_insert(DIST_POINT, (st), (val), (i))
  579. #define sk_DIST_POINT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(DIST_POINT, (st), (cmp))
  580. #define sk_DIST_POINT_dup(st) SKM_sk_dup(DIST_POINT, st)
  581. #define sk_DIST_POINT_pop_free(st, free_func) SKM_sk_pop_free(DIST_POINT, (st), (free_func))
  582. #define sk_DIST_POINT_shift(st) SKM_sk_shift(DIST_POINT, (st))
  583. #define sk_DIST_POINT_pop(st) SKM_sk_pop(DIST_POINT, (st))
  584. #define sk_DIST_POINT_sort(st) SKM_sk_sort(DIST_POINT, (st))
  585. #define sk_DIST_POINT_is_sorted(st) SKM_sk_is_sorted(DIST_POINT, (st))
  586. #define sk_ESS_CERT_ID_new(cmp) SKM_sk_new(ESS_CERT_ID, (cmp))
  587. #define sk_ESS_CERT_ID_new_null() SKM_sk_new_null(ESS_CERT_ID)
  588. #define sk_ESS_CERT_ID_free(st) SKM_sk_free(ESS_CERT_ID, (st))
  589. #define sk_ESS_CERT_ID_num(st) SKM_sk_num(ESS_CERT_ID, (st))
  590. #define sk_ESS_CERT_ID_value(st, i) SKM_sk_value(ESS_CERT_ID, (st), (i))
  591. #define sk_ESS_CERT_ID_set(st, i, val) SKM_sk_set(ESS_CERT_ID, (st), (i), (val))
  592. #define sk_ESS_CERT_ID_zero(st) SKM_sk_zero(ESS_CERT_ID, (st))
  593. #define sk_ESS_CERT_ID_push(st, val) SKM_sk_push(ESS_CERT_ID, (st), (val))
  594. #define sk_ESS_CERT_ID_unshift(st, val) SKM_sk_unshift(ESS_CERT_ID, (st), (val))
  595. #define sk_ESS_CERT_ID_find(st, val) SKM_sk_find(ESS_CERT_ID, (st), (val))
  596. #define sk_ESS_CERT_ID_delete(st, i) SKM_sk_delete(ESS_CERT_ID, (st), (i))
  597. #define sk_ESS_CERT_ID_delete_ptr(st, ptr) SKM_sk_delete_ptr(ESS_CERT_ID, (st), (ptr))
  598. #define sk_ESS_CERT_ID_insert(st, val, i) SKM_sk_insert(ESS_CERT_ID, (st), (val), (i))
  599. #define sk_ESS_CERT_ID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ESS_CERT_ID, (st), (cmp))
  600. #define sk_ESS_CERT_ID_dup(st) SKM_sk_dup(ESS_CERT_ID, st)
  601. #define sk_ESS_CERT_ID_pop_free(st, free_func) SKM_sk_pop_free(ESS_CERT_ID, (st), (free_func))
  602. #define sk_ESS_CERT_ID_shift(st) SKM_sk_shift(ESS_CERT_ID, (st))
  603. #define sk_ESS_CERT_ID_pop(st) SKM_sk_pop(ESS_CERT_ID, (st))
  604. #define sk_ESS_CERT_ID_sort(st) SKM_sk_sort(ESS_CERT_ID, (st))
  605. #define sk_ESS_CERT_ID_is_sorted(st) SKM_sk_is_sorted(ESS_CERT_ID, (st))
  606. #ifdef LIBRESSL_INTERNAL
  607. #define sk_ESS_CERT_ID_V2_new(cmp) SKM_sk_new(ESS_CERT_ID_V2, (cmp))
  608. #define sk_ESS_CERT_ID_V2_new_null() SKM_sk_new_null(ESS_CERT_ID_V2)
  609. #define sk_ESS_CERT_ID_V2_free(st) SKM_sk_free(ESS_CERT_ID_V2, (st))
  610. #define sk_ESS_CERT_ID_V2_num(st) SKM_sk_num(ESS_CERT_ID_V2, (st))
  611. #define sk_ESS_CERT_ID_V2_value(st, i) SKM_sk_value(ESS_CERT_ID_V2, (st), (i))
  612. #define sk_ESS_CERT_ID_V2_set(st, i, val) SKM_sk_set(ESS_CERT_ID_V2, (st), (i), (val))
  613. #define sk_ESS_CERT_ID_V2_zero(st) SKM_sk_zero(ESS_CERT_ID_V2, (st))
  614. #define sk_ESS_CERT_ID_V2_push(st, val) SKM_sk_push(ESS_CERT_ID_V2, (st), (val))
  615. #define sk_ESS_CERT_ID_V2_unshift(st, val) SKM_sk_unshift(ESS_CERT_ID_V2, (st), (val))
  616. #define sk_ESS_CERT_ID_V2_find(st, val) SKM_sk_find(ESS_CERT_ID_V2, (st), (val))
  617. #define sk_ESS_CERT_ID_V2_delete(st, i) SKM_sk_delete(ESS_CERT_ID_V2, (st), (i))
  618. #define sk_ESS_CERT_ID_V2_delete_ptr(st, ptr) SKM_sk_delete_ptr(ESS_CERT_ID_V2, (st), (ptr))
  619. #define sk_ESS_CERT_ID_V2_insert(st, val, i) SKM_sk_insert(ESS_CERT_ID_V2, (st), (val), (i))
  620. #define sk_ESS_CERT_ID_V2_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ESS_CERT_ID_V2, (st), (cmp))
  621. #define sk_ESS_CERT_ID_V2_dup(st) SKM_sk_dup(ESS_CERT_ID_V2, st)
  622. #define sk_ESS_CERT_ID_V2_pop_free(st, free_func) SKM_sk_pop_free(ESS_CERT_ID_V2, (st), (free_func))
  623. #define sk_ESS_CERT_ID_V2_shift(st) SKM_sk_shift(ESS_CERT_ID_V2, (st))
  624. #define sk_ESS_CERT_ID_V2_pop(st) SKM_sk_pop(ESS_CERT_ID_V2, (st))
  625. #define sk_ESS_CERT_ID_V2_sort(st) SKM_sk_sort(ESS_CERT_ID_V2, (st))
  626. #define sk_ESS_CERT_ID_V2_is_sorted(st) SKM_sk_is_sorted(ESS_CERT_ID_V2, (st))
  627. #endif /* LIBRESSL_INTERNAL */
  628. #define sk_EVP_MD_new(cmp) SKM_sk_new(EVP_MD, (cmp))
  629. #define sk_EVP_MD_new_null() SKM_sk_new_null(EVP_MD)
  630. #define sk_EVP_MD_free(st) SKM_sk_free(EVP_MD, (st))
  631. #define sk_EVP_MD_num(st) SKM_sk_num(EVP_MD, (st))
  632. #define sk_EVP_MD_value(st, i) SKM_sk_value(EVP_MD, (st), (i))
  633. #define sk_EVP_MD_set(st, i, val) SKM_sk_set(EVP_MD, (st), (i), (val))
  634. #define sk_EVP_MD_zero(st) SKM_sk_zero(EVP_MD, (st))
  635. #define sk_EVP_MD_push(st, val) SKM_sk_push(EVP_MD, (st), (val))
  636. #define sk_EVP_MD_unshift(st, val) SKM_sk_unshift(EVP_MD, (st), (val))
  637. #define sk_EVP_MD_find(st, val) SKM_sk_find(EVP_MD, (st), (val))
  638. #define sk_EVP_MD_delete(st, i) SKM_sk_delete(EVP_MD, (st), (i))
  639. #define sk_EVP_MD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_MD, (st), (ptr))
  640. #define sk_EVP_MD_insert(st, val, i) SKM_sk_insert(EVP_MD, (st), (val), (i))
  641. #define sk_EVP_MD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_MD, (st), (cmp))
  642. #define sk_EVP_MD_dup(st) SKM_sk_dup(EVP_MD, st)
  643. #define sk_EVP_MD_pop_free(st, free_func) SKM_sk_pop_free(EVP_MD, (st), (free_func))
  644. #define sk_EVP_MD_shift(st) SKM_sk_shift(EVP_MD, (st))
  645. #define sk_EVP_MD_pop(st) SKM_sk_pop(EVP_MD, (st))
  646. #define sk_EVP_MD_sort(st) SKM_sk_sort(EVP_MD, (st))
  647. #define sk_EVP_MD_is_sorted(st) SKM_sk_is_sorted(EVP_MD, (st))
  648. #define sk_EVP_PKEY_ASN1_METHOD_new(cmp) SKM_sk_new(EVP_PKEY_ASN1_METHOD, (cmp))
  649. #define sk_EVP_PKEY_ASN1_METHOD_new_null() SKM_sk_new_null(EVP_PKEY_ASN1_METHOD)
  650. #define sk_EVP_PKEY_ASN1_METHOD_free(st) SKM_sk_free(EVP_PKEY_ASN1_METHOD, (st))
  651. #define sk_EVP_PKEY_ASN1_METHOD_num(st) SKM_sk_num(EVP_PKEY_ASN1_METHOD, (st))
  652. #define sk_EVP_PKEY_ASN1_METHOD_value(st, i) SKM_sk_value(EVP_PKEY_ASN1_METHOD, (st), (i))
  653. #define sk_EVP_PKEY_ASN1_METHOD_set(st, i, val) SKM_sk_set(EVP_PKEY_ASN1_METHOD, (st), (i), (val))
  654. #define sk_EVP_PKEY_ASN1_METHOD_zero(st) SKM_sk_zero(EVP_PKEY_ASN1_METHOD, (st))
  655. #define sk_EVP_PKEY_ASN1_METHOD_push(st, val) SKM_sk_push(EVP_PKEY_ASN1_METHOD, (st), (val))
  656. #define sk_EVP_PKEY_ASN1_METHOD_unshift(st, val) SKM_sk_unshift(EVP_PKEY_ASN1_METHOD, (st), (val))
  657. #define sk_EVP_PKEY_ASN1_METHOD_find(st, val) SKM_sk_find(EVP_PKEY_ASN1_METHOD, (st), (val))
  658. #define sk_EVP_PKEY_ASN1_METHOD_delete(st, i) SKM_sk_delete(EVP_PKEY_ASN1_METHOD, (st), (i))
  659. #define sk_EVP_PKEY_ASN1_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_PKEY_ASN1_METHOD, (st), (ptr))
  660. #define sk_EVP_PKEY_ASN1_METHOD_insert(st, val, i) SKM_sk_insert(EVP_PKEY_ASN1_METHOD, (st), (val), (i))
  661. #define sk_EVP_PKEY_ASN1_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_PKEY_ASN1_METHOD, (st), (cmp))
  662. #define sk_EVP_PKEY_ASN1_METHOD_dup(st) SKM_sk_dup(EVP_PKEY_ASN1_METHOD, st)
  663. #define sk_EVP_PKEY_ASN1_METHOD_pop_free(st, free_func) SKM_sk_pop_free(EVP_PKEY_ASN1_METHOD, (st), (free_func))
  664. #define sk_EVP_PKEY_ASN1_METHOD_shift(st) SKM_sk_shift(EVP_PKEY_ASN1_METHOD, (st))
  665. #define sk_EVP_PKEY_ASN1_METHOD_pop(st) SKM_sk_pop(EVP_PKEY_ASN1_METHOD, (st))
  666. #define sk_EVP_PKEY_ASN1_METHOD_sort(st) SKM_sk_sort(EVP_PKEY_ASN1_METHOD, (st))
  667. #define sk_EVP_PKEY_ASN1_METHOD_is_sorted(st) SKM_sk_is_sorted(EVP_PKEY_ASN1_METHOD, (st))
  668. #define sk_EVP_PKEY_METHOD_new(cmp) SKM_sk_new(EVP_PKEY_METHOD, (cmp))
  669. #define sk_EVP_PKEY_METHOD_new_null() SKM_sk_new_null(EVP_PKEY_METHOD)
  670. #define sk_EVP_PKEY_METHOD_free(st) SKM_sk_free(EVP_PKEY_METHOD, (st))
  671. #define sk_EVP_PKEY_METHOD_num(st) SKM_sk_num(EVP_PKEY_METHOD, (st))
  672. #define sk_EVP_PKEY_METHOD_value(st, i) SKM_sk_value(EVP_PKEY_METHOD, (st), (i))
  673. #define sk_EVP_PKEY_METHOD_set(st, i, val) SKM_sk_set(EVP_PKEY_METHOD, (st), (i), (val))
  674. #define sk_EVP_PKEY_METHOD_zero(st) SKM_sk_zero(EVP_PKEY_METHOD, (st))
  675. #define sk_EVP_PKEY_METHOD_push(st, val) SKM_sk_push(EVP_PKEY_METHOD, (st), (val))
  676. #define sk_EVP_PKEY_METHOD_unshift(st, val) SKM_sk_unshift(EVP_PKEY_METHOD, (st), (val))
  677. #define sk_EVP_PKEY_METHOD_find(st, val) SKM_sk_find(EVP_PKEY_METHOD, (st), (val))
  678. #define sk_EVP_PKEY_METHOD_delete(st, i) SKM_sk_delete(EVP_PKEY_METHOD, (st), (i))
  679. #define sk_EVP_PKEY_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(EVP_PKEY_METHOD, (st), (ptr))
  680. #define sk_EVP_PKEY_METHOD_insert(st, val, i) SKM_sk_insert(EVP_PKEY_METHOD, (st), (val), (i))
  681. #define sk_EVP_PKEY_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(EVP_PKEY_METHOD, (st), (cmp))
  682. #define sk_EVP_PKEY_METHOD_dup(st) SKM_sk_dup(EVP_PKEY_METHOD, st)
  683. #define sk_EVP_PKEY_METHOD_pop_free(st, free_func) SKM_sk_pop_free(EVP_PKEY_METHOD, (st), (free_func))
  684. #define sk_EVP_PKEY_METHOD_shift(st) SKM_sk_shift(EVP_PKEY_METHOD, (st))
  685. #define sk_EVP_PKEY_METHOD_pop(st) SKM_sk_pop(EVP_PKEY_METHOD, (st))
  686. #define sk_EVP_PKEY_METHOD_sort(st) SKM_sk_sort(EVP_PKEY_METHOD, (st))
  687. #define sk_EVP_PKEY_METHOD_is_sorted(st) SKM_sk_is_sorted(EVP_PKEY_METHOD, (st))
  688. #define sk_GENERAL_NAME_new(cmp) SKM_sk_new(GENERAL_NAME, (cmp))
  689. #define sk_GENERAL_NAME_new_null() SKM_sk_new_null(GENERAL_NAME)
  690. #define sk_GENERAL_NAME_free(st) SKM_sk_free(GENERAL_NAME, (st))
  691. #define sk_GENERAL_NAME_num(st) SKM_sk_num(GENERAL_NAME, (st))
  692. #define sk_GENERAL_NAME_value(st, i) SKM_sk_value(GENERAL_NAME, (st), (i))
  693. #define sk_GENERAL_NAME_set(st, i, val) SKM_sk_set(GENERAL_NAME, (st), (i), (val))
  694. #define sk_GENERAL_NAME_zero(st) SKM_sk_zero(GENERAL_NAME, (st))
  695. #define sk_GENERAL_NAME_push(st, val) SKM_sk_push(GENERAL_NAME, (st), (val))
  696. #define sk_GENERAL_NAME_unshift(st, val) SKM_sk_unshift(GENERAL_NAME, (st), (val))
  697. #define sk_GENERAL_NAME_find(st, val) SKM_sk_find(GENERAL_NAME, (st), (val))
  698. #define sk_GENERAL_NAME_delete(st, i) SKM_sk_delete(GENERAL_NAME, (st), (i))
  699. #define sk_GENERAL_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAME, (st), (ptr))
  700. #define sk_GENERAL_NAME_insert(st, val, i) SKM_sk_insert(GENERAL_NAME, (st), (val), (i))
  701. #define sk_GENERAL_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAME, (st), (cmp))
  702. #define sk_GENERAL_NAME_dup(st) SKM_sk_dup(GENERAL_NAME, st)
  703. #define sk_GENERAL_NAME_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAME, (st), (free_func))
  704. #define sk_GENERAL_NAME_shift(st) SKM_sk_shift(GENERAL_NAME, (st))
  705. #define sk_GENERAL_NAME_pop(st) SKM_sk_pop(GENERAL_NAME, (st))
  706. #define sk_GENERAL_NAME_sort(st) SKM_sk_sort(GENERAL_NAME, (st))
  707. #define sk_GENERAL_NAME_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAME, (st))
  708. #define sk_GENERAL_NAMES_new(cmp) SKM_sk_new(GENERAL_NAMES, (cmp))
  709. #define sk_GENERAL_NAMES_new_null() SKM_sk_new_null(GENERAL_NAMES)
  710. #define sk_GENERAL_NAMES_free(st) SKM_sk_free(GENERAL_NAMES, (st))
  711. #define sk_GENERAL_NAMES_num(st) SKM_sk_num(GENERAL_NAMES, (st))
  712. #define sk_GENERAL_NAMES_value(st, i) SKM_sk_value(GENERAL_NAMES, (st), (i))
  713. #define sk_GENERAL_NAMES_set(st, i, val) SKM_sk_set(GENERAL_NAMES, (st), (i), (val))
  714. #define sk_GENERAL_NAMES_zero(st) SKM_sk_zero(GENERAL_NAMES, (st))
  715. #define sk_GENERAL_NAMES_push(st, val) SKM_sk_push(GENERAL_NAMES, (st), (val))
  716. #define sk_GENERAL_NAMES_unshift(st, val) SKM_sk_unshift(GENERAL_NAMES, (st), (val))
  717. #define sk_GENERAL_NAMES_find(st, val) SKM_sk_find(GENERAL_NAMES, (st), (val))
  718. #define sk_GENERAL_NAMES_delete(st, i) SKM_sk_delete(GENERAL_NAMES, (st), (i))
  719. #define sk_GENERAL_NAMES_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAMES, (st), (ptr))
  720. #define sk_GENERAL_NAMES_insert(st, val, i) SKM_sk_insert(GENERAL_NAMES, (st), (val), (i))
  721. #define sk_GENERAL_NAMES_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAMES, (st), (cmp))
  722. #define sk_GENERAL_NAMES_dup(st) SKM_sk_dup(GENERAL_NAMES, st)
  723. #define sk_GENERAL_NAMES_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAMES, (st), (free_func))
  724. #define sk_GENERAL_NAMES_shift(st) SKM_sk_shift(GENERAL_NAMES, (st))
  725. #define sk_GENERAL_NAMES_pop(st) SKM_sk_pop(GENERAL_NAMES, (st))
  726. #define sk_GENERAL_NAMES_sort(st) SKM_sk_sort(GENERAL_NAMES, (st))
  727. #define sk_GENERAL_NAMES_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAMES, (st))
  728. #define sk_GENERAL_SUBTREE_new(cmp) SKM_sk_new(GENERAL_SUBTREE, (cmp))
  729. #define sk_GENERAL_SUBTREE_new_null() SKM_sk_new_null(GENERAL_SUBTREE)
  730. #define sk_GENERAL_SUBTREE_free(st) SKM_sk_free(GENERAL_SUBTREE, (st))
  731. #define sk_GENERAL_SUBTREE_num(st) SKM_sk_num(GENERAL_SUBTREE, (st))
  732. #define sk_GENERAL_SUBTREE_value(st, i) SKM_sk_value(GENERAL_SUBTREE, (st), (i))
  733. #define sk_GENERAL_SUBTREE_set(st, i, val) SKM_sk_set(GENERAL_SUBTREE, (st), (i), (val))
  734. #define sk_GENERAL_SUBTREE_zero(st) SKM_sk_zero(GENERAL_SUBTREE, (st))
  735. #define sk_GENERAL_SUBTREE_push(st, val) SKM_sk_push(GENERAL_SUBTREE, (st), (val))
  736. #define sk_GENERAL_SUBTREE_unshift(st, val) SKM_sk_unshift(GENERAL_SUBTREE, (st), (val))
  737. #define sk_GENERAL_SUBTREE_find(st, val) SKM_sk_find(GENERAL_SUBTREE, (st), (val))
  738. #define sk_GENERAL_SUBTREE_delete(st, i) SKM_sk_delete(GENERAL_SUBTREE, (st), (i))
  739. #define sk_GENERAL_SUBTREE_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_SUBTREE, (st), (ptr))
  740. #define sk_GENERAL_SUBTREE_insert(st, val, i) SKM_sk_insert(GENERAL_SUBTREE, (st), (val), (i))
  741. #define sk_GENERAL_SUBTREE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_SUBTREE, (st), (cmp))
  742. #define sk_GENERAL_SUBTREE_dup(st) SKM_sk_dup(GENERAL_SUBTREE, st)
  743. #define sk_GENERAL_SUBTREE_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_SUBTREE, (st), (free_func))
  744. #define sk_GENERAL_SUBTREE_shift(st) SKM_sk_shift(GENERAL_SUBTREE, (st))
  745. #define sk_GENERAL_SUBTREE_pop(st) SKM_sk_pop(GENERAL_SUBTREE, (st))
  746. #define sk_GENERAL_SUBTREE_sort(st) SKM_sk_sort(GENERAL_SUBTREE, (st))
  747. #define sk_GENERAL_SUBTREE_is_sorted(st) SKM_sk_is_sorted(GENERAL_SUBTREE, (st))
  748. #define sk_IPAddressFamily_new(cmp) SKM_sk_new(IPAddressFamily, (cmp))
  749. #define sk_IPAddressFamily_new_null() SKM_sk_new_null(IPAddressFamily)
  750. #define sk_IPAddressFamily_free(st) SKM_sk_free(IPAddressFamily, (st))
  751. #define sk_IPAddressFamily_num(st) SKM_sk_num(IPAddressFamily, (st))
  752. #define sk_IPAddressFamily_value(st, i) SKM_sk_value(IPAddressFamily, (st), (i))
  753. #define sk_IPAddressFamily_set(st, i, val) SKM_sk_set(IPAddressFamily, (st), (i), (val))
  754. #define sk_IPAddressFamily_zero(st) SKM_sk_zero(IPAddressFamily, (st))
  755. #define sk_IPAddressFamily_push(st, val) SKM_sk_push(IPAddressFamily, (st), (val))
  756. #define sk_IPAddressFamily_unshift(st, val) SKM_sk_unshift(IPAddressFamily, (st), (val))
  757. #define sk_IPAddressFamily_find(st, val) SKM_sk_find(IPAddressFamily, (st), (val))
  758. #define sk_IPAddressFamily_delete(st, i) SKM_sk_delete(IPAddressFamily, (st), (i))
  759. #define sk_IPAddressFamily_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressFamily, (st), (ptr))
  760. #define sk_IPAddressFamily_insert(st, val, i) SKM_sk_insert(IPAddressFamily, (st), (val), (i))
  761. #define sk_IPAddressFamily_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressFamily, (st), (cmp))
  762. #define sk_IPAddressFamily_dup(st) SKM_sk_dup(IPAddressFamily, st)
  763. #define sk_IPAddressFamily_pop_free(st, free_func) SKM_sk_pop_free(IPAddressFamily, (st), (free_func))
  764. #define sk_IPAddressFamily_shift(st) SKM_sk_shift(IPAddressFamily, (st))
  765. #define sk_IPAddressFamily_pop(st) SKM_sk_pop(IPAddressFamily, (st))
  766. #define sk_IPAddressFamily_sort(st) SKM_sk_sort(IPAddressFamily, (st))
  767. #define sk_IPAddressFamily_is_sorted(st) SKM_sk_is_sorted(IPAddressFamily, (st))
  768. #define sk_IPAddressOrRange_new(cmp) SKM_sk_new(IPAddressOrRange, (cmp))
  769. #define sk_IPAddressOrRange_new_null() SKM_sk_new_null(IPAddressOrRange)
  770. #define sk_IPAddressOrRange_free(st) SKM_sk_free(IPAddressOrRange, (st))
  771. #define sk_IPAddressOrRange_num(st) SKM_sk_num(IPAddressOrRange, (st))
  772. #define sk_IPAddressOrRange_value(st, i) SKM_sk_value(IPAddressOrRange, (st), (i))
  773. #define sk_IPAddressOrRange_set(st, i, val) SKM_sk_set(IPAddressOrRange, (st), (i), (val))
  774. #define sk_IPAddressOrRange_zero(st) SKM_sk_zero(IPAddressOrRange, (st))
  775. #define sk_IPAddressOrRange_push(st, val) SKM_sk_push(IPAddressOrRange, (st), (val))
  776. #define sk_IPAddressOrRange_unshift(st, val) SKM_sk_unshift(IPAddressOrRange, (st), (val))
  777. #define sk_IPAddressOrRange_find(st, val) SKM_sk_find(IPAddressOrRange, (st), (val))
  778. #define sk_IPAddressOrRange_delete(st, i) SKM_sk_delete(IPAddressOrRange, (st), (i))
  779. #define sk_IPAddressOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressOrRange, (st), (ptr))
  780. #define sk_IPAddressOrRange_insert(st, val, i) SKM_sk_insert(IPAddressOrRange, (st), (val), (i))
  781. #define sk_IPAddressOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressOrRange, (st), (cmp))
  782. #define sk_IPAddressOrRange_dup(st) SKM_sk_dup(IPAddressOrRange, st)
  783. #define sk_IPAddressOrRange_pop_free(st, free_func) SKM_sk_pop_free(IPAddressOrRange, (st), (free_func))
  784. #define sk_IPAddressOrRange_shift(st) SKM_sk_shift(IPAddressOrRange, (st))
  785. #define sk_IPAddressOrRange_pop(st) SKM_sk_pop(IPAddressOrRange, (st))
  786. #define sk_IPAddressOrRange_sort(st) SKM_sk_sort(IPAddressOrRange, (st))
  787. #define sk_IPAddressOrRange_is_sorted(st) SKM_sk_is_sorted(IPAddressOrRange, (st))
  788. #define sk_MIME_HEADER_new(cmp) SKM_sk_new(MIME_HEADER, (cmp))
  789. #define sk_MIME_HEADER_new_null() SKM_sk_new_null(MIME_HEADER)
  790. #define sk_MIME_HEADER_free(st) SKM_sk_free(MIME_HEADER, (st))
  791. #define sk_MIME_HEADER_num(st) SKM_sk_num(MIME_HEADER, (st))
  792. #define sk_MIME_HEADER_value(st, i) SKM_sk_value(MIME_HEADER, (st), (i))
  793. #define sk_MIME_HEADER_set(st, i, val) SKM_sk_set(MIME_HEADER, (st), (i), (val))
  794. #define sk_MIME_HEADER_zero(st) SKM_sk_zero(MIME_HEADER, (st))
  795. #define sk_MIME_HEADER_push(st, val) SKM_sk_push(MIME_HEADER, (st), (val))
  796. #define sk_MIME_HEADER_unshift(st, val) SKM_sk_unshift(MIME_HEADER, (st), (val))
  797. #define sk_MIME_HEADER_find(st, val) SKM_sk_find(MIME_HEADER, (st), (val))
  798. #define sk_MIME_HEADER_delete(st, i) SKM_sk_delete(MIME_HEADER, (st), (i))
  799. #define sk_MIME_HEADER_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_HEADER, (st), (ptr))
  800. #define sk_MIME_HEADER_insert(st, val, i) SKM_sk_insert(MIME_HEADER, (st), (val), (i))
  801. #define sk_MIME_HEADER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_HEADER, (st), (cmp))
  802. #define sk_MIME_HEADER_dup(st) SKM_sk_dup(MIME_HEADER, st)
  803. #define sk_MIME_HEADER_pop_free(st, free_func) SKM_sk_pop_free(MIME_HEADER, (st), (free_func))
  804. #define sk_MIME_HEADER_shift(st) SKM_sk_shift(MIME_HEADER, (st))
  805. #define sk_MIME_HEADER_pop(st) SKM_sk_pop(MIME_HEADER, (st))
  806. #define sk_MIME_HEADER_sort(st) SKM_sk_sort(MIME_HEADER, (st))
  807. #define sk_MIME_HEADER_is_sorted(st) SKM_sk_is_sorted(MIME_HEADER, (st))
  808. #define sk_MIME_PARAM_new(cmp) SKM_sk_new(MIME_PARAM, (cmp))
  809. #define sk_MIME_PARAM_new_null() SKM_sk_new_null(MIME_PARAM)
  810. #define sk_MIME_PARAM_free(st) SKM_sk_free(MIME_PARAM, (st))
  811. #define sk_MIME_PARAM_num(st) SKM_sk_num(MIME_PARAM, (st))
  812. #define sk_MIME_PARAM_value(st, i) SKM_sk_value(MIME_PARAM, (st), (i))
  813. #define sk_MIME_PARAM_set(st, i, val) SKM_sk_set(MIME_PARAM, (st), (i), (val))
  814. #define sk_MIME_PARAM_zero(st) SKM_sk_zero(MIME_PARAM, (st))
  815. #define sk_MIME_PARAM_push(st, val) SKM_sk_push(MIME_PARAM, (st), (val))
  816. #define sk_MIME_PARAM_unshift(st, val) SKM_sk_unshift(MIME_PARAM, (st), (val))
  817. #define sk_MIME_PARAM_find(st, val) SKM_sk_find(MIME_PARAM, (st), (val))
  818. #define sk_MIME_PARAM_delete(st, i) SKM_sk_delete(MIME_PARAM, (st), (i))
  819. #define sk_MIME_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_PARAM, (st), (ptr))
  820. #define sk_MIME_PARAM_insert(st, val, i) SKM_sk_insert(MIME_PARAM, (st), (val), (i))
  821. #define sk_MIME_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_PARAM, (st), (cmp))
  822. #define sk_MIME_PARAM_dup(st) SKM_sk_dup(MIME_PARAM, st)
  823. #define sk_MIME_PARAM_pop_free(st, free_func) SKM_sk_pop_free(MIME_PARAM, (st), (free_func))
  824. #define sk_MIME_PARAM_shift(st) SKM_sk_shift(MIME_PARAM, (st))
  825. #define sk_MIME_PARAM_pop(st) SKM_sk_pop(MIME_PARAM, (st))
  826. #define sk_MIME_PARAM_sort(st) SKM_sk_sort(MIME_PARAM, (st))
  827. #define sk_MIME_PARAM_is_sorted(st) SKM_sk_is_sorted(MIME_PARAM, (st))
  828. #define sk_NAME_FUNCS_new(cmp) SKM_sk_new(NAME_FUNCS, (cmp))
  829. #define sk_NAME_FUNCS_new_null() SKM_sk_new_null(NAME_FUNCS)
  830. #define sk_NAME_FUNCS_free(st) SKM_sk_free(NAME_FUNCS, (st))
  831. #define sk_NAME_FUNCS_num(st) SKM_sk_num(NAME_FUNCS, (st))
  832. #define sk_NAME_FUNCS_value(st, i) SKM_sk_value(NAME_FUNCS, (st), (i))
  833. #define sk_NAME_FUNCS_set(st, i, val) SKM_sk_set(NAME_FUNCS, (st), (i), (val))
  834. #define sk_NAME_FUNCS_zero(st) SKM_sk_zero(NAME_FUNCS, (st))
  835. #define sk_NAME_FUNCS_push(st, val) SKM_sk_push(NAME_FUNCS, (st), (val))
  836. #define sk_NAME_FUNCS_unshift(st, val) SKM_sk_unshift(NAME_FUNCS, (st), (val))
  837. #define sk_NAME_FUNCS_find(st, val) SKM_sk_find(NAME_FUNCS, (st), (val))
  838. #define sk_NAME_FUNCS_delete(st, i) SKM_sk_delete(NAME_FUNCS, (st), (i))
  839. #define sk_NAME_FUNCS_delete_ptr(st, ptr) SKM_sk_delete_ptr(NAME_FUNCS, (st), (ptr))
  840. #define sk_NAME_FUNCS_insert(st, val, i) SKM_sk_insert(NAME_FUNCS, (st), (val), (i))
  841. #define sk_NAME_FUNCS_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(NAME_FUNCS, (st), (cmp))
  842. #define sk_NAME_FUNCS_dup(st) SKM_sk_dup(NAME_FUNCS, st)
  843. #define sk_NAME_FUNCS_pop_free(st, free_func) SKM_sk_pop_free(NAME_FUNCS, (st), (free_func))
  844. #define sk_NAME_FUNCS_shift(st) SKM_sk_shift(NAME_FUNCS, (st))
  845. #define sk_NAME_FUNCS_pop(st) SKM_sk_pop(NAME_FUNCS, (st))
  846. #define sk_NAME_FUNCS_sort(st) SKM_sk_sort(NAME_FUNCS, (st))
  847. #define sk_NAME_FUNCS_is_sorted(st) SKM_sk_is_sorted(NAME_FUNCS, (st))
  848. #define sk_OCSP_CERTID_new(cmp) SKM_sk_new(OCSP_CERTID, (cmp))
  849. #define sk_OCSP_CERTID_new_null() SKM_sk_new_null(OCSP_CERTID)
  850. #define sk_OCSP_CERTID_free(st) SKM_sk_free(OCSP_CERTID, (st))
  851. #define sk_OCSP_CERTID_num(st) SKM_sk_num(OCSP_CERTID, (st))
  852. #define sk_OCSP_CERTID_value(st, i) SKM_sk_value(OCSP_CERTID, (st), (i))
  853. #define sk_OCSP_CERTID_set(st, i, val) SKM_sk_set(OCSP_CERTID, (st), (i), (val))
  854. #define sk_OCSP_CERTID_zero(st) SKM_sk_zero(OCSP_CERTID, (st))
  855. #define sk_OCSP_CERTID_push(st, val) SKM_sk_push(OCSP_CERTID, (st), (val))
  856. #define sk_OCSP_CERTID_unshift(st, val) SKM_sk_unshift(OCSP_CERTID, (st), (val))
  857. #define sk_OCSP_CERTID_find(st, val) SKM_sk_find(OCSP_CERTID, (st), (val))
  858. #define sk_OCSP_CERTID_delete(st, i) SKM_sk_delete(OCSP_CERTID, (st), (i))
  859. #define sk_OCSP_CERTID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_CERTID, (st), (ptr))
  860. #define sk_OCSP_CERTID_insert(st, val, i) SKM_sk_insert(OCSP_CERTID, (st), (val), (i))
  861. #define sk_OCSP_CERTID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_CERTID, (st), (cmp))
  862. #define sk_OCSP_CERTID_dup(st) SKM_sk_dup(OCSP_CERTID, st)
  863. #define sk_OCSP_CERTID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_CERTID, (st), (free_func))
  864. #define sk_OCSP_CERTID_shift(st) SKM_sk_shift(OCSP_CERTID, (st))
  865. #define sk_OCSP_CERTID_pop(st) SKM_sk_pop(OCSP_CERTID, (st))
  866. #define sk_OCSP_CERTID_sort(st) SKM_sk_sort(OCSP_CERTID, (st))
  867. #define sk_OCSP_CERTID_is_sorted(st) SKM_sk_is_sorted(OCSP_CERTID, (st))
  868. #define sk_OCSP_ONEREQ_new(cmp) SKM_sk_new(OCSP_ONEREQ, (cmp))
  869. #define sk_OCSP_ONEREQ_new_null() SKM_sk_new_null(OCSP_ONEREQ)
  870. #define sk_OCSP_ONEREQ_free(st) SKM_sk_free(OCSP_ONEREQ, (st))
  871. #define sk_OCSP_ONEREQ_num(st) SKM_sk_num(OCSP_ONEREQ, (st))
  872. #define sk_OCSP_ONEREQ_value(st, i) SKM_sk_value(OCSP_ONEREQ, (st), (i))
  873. #define sk_OCSP_ONEREQ_set(st, i, val) SKM_sk_set(OCSP_ONEREQ, (st), (i), (val))
  874. #define sk_OCSP_ONEREQ_zero(st) SKM_sk_zero(OCSP_ONEREQ, (st))
  875. #define sk_OCSP_ONEREQ_push(st, val) SKM_sk_push(OCSP_ONEREQ, (st), (val))
  876. #define sk_OCSP_ONEREQ_unshift(st, val) SKM_sk_unshift(OCSP_ONEREQ, (st), (val))
  877. #define sk_OCSP_ONEREQ_find(st, val) SKM_sk_find(OCSP_ONEREQ, (st), (val))
  878. #define sk_OCSP_ONEREQ_delete(st, i) SKM_sk_delete(OCSP_ONEREQ, (st), (i))
  879. #define sk_OCSP_ONEREQ_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_ONEREQ, (st), (ptr))
  880. #define sk_OCSP_ONEREQ_insert(st, val, i) SKM_sk_insert(OCSP_ONEREQ, (st), (val), (i))
  881. #define sk_OCSP_ONEREQ_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_ONEREQ, (st), (cmp))
  882. #define sk_OCSP_ONEREQ_dup(st) SKM_sk_dup(OCSP_ONEREQ, st)
  883. #define sk_OCSP_ONEREQ_pop_free(st, free_func) SKM_sk_pop_free(OCSP_ONEREQ, (st), (free_func))
  884. #define sk_OCSP_ONEREQ_shift(st) SKM_sk_shift(OCSP_ONEREQ, (st))
  885. #define sk_OCSP_ONEREQ_pop(st) SKM_sk_pop(OCSP_ONEREQ, (st))
  886. #define sk_OCSP_ONEREQ_sort(st) SKM_sk_sort(OCSP_ONEREQ, (st))
  887. #define sk_OCSP_ONEREQ_is_sorted(st) SKM_sk_is_sorted(OCSP_ONEREQ, (st))
  888. #define sk_OCSP_RESPID_new(cmp) SKM_sk_new(OCSP_RESPID, (cmp))
  889. #define sk_OCSP_RESPID_new_null() SKM_sk_new_null(OCSP_RESPID)
  890. #define sk_OCSP_RESPID_free(st) SKM_sk_free(OCSP_RESPID, (st))
  891. #define sk_OCSP_RESPID_num(st) SKM_sk_num(OCSP_RESPID, (st))
  892. #define sk_OCSP_RESPID_value(st, i) SKM_sk_value(OCSP_RESPID, (st), (i))
  893. #define sk_OCSP_RESPID_set(st, i, val) SKM_sk_set(OCSP_RESPID, (st), (i), (val))
  894. #define sk_OCSP_RESPID_zero(st) SKM_sk_zero(OCSP_RESPID, (st))
  895. #define sk_OCSP_RESPID_push(st, val) SKM_sk_push(OCSP_RESPID, (st), (val))
  896. #define sk_OCSP_RESPID_unshift(st, val) SKM_sk_unshift(OCSP_RESPID, (st), (val))
  897. #define sk_OCSP_RESPID_find(st, val) SKM_sk_find(OCSP_RESPID, (st), (val))
  898. #define sk_OCSP_RESPID_delete(st, i) SKM_sk_delete(OCSP_RESPID, (st), (i))
  899. #define sk_OCSP_RESPID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_RESPID, (st), (ptr))
  900. #define sk_OCSP_RESPID_insert(st, val, i) SKM_sk_insert(OCSP_RESPID, (st), (val), (i))
  901. #define sk_OCSP_RESPID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_RESPID, (st), (cmp))
  902. #define sk_OCSP_RESPID_dup(st) SKM_sk_dup(OCSP_RESPID, st)
  903. #define sk_OCSP_RESPID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_RESPID, (st), (free_func))
  904. #define sk_OCSP_RESPID_shift(st) SKM_sk_shift(OCSP_RESPID, (st))
  905. #define sk_OCSP_RESPID_pop(st) SKM_sk_pop(OCSP_RESPID, (st))
  906. #define sk_OCSP_RESPID_sort(st) SKM_sk_sort(OCSP_RESPID, (st))
  907. #define sk_OCSP_RESPID_is_sorted(st) SKM_sk_is_sorted(OCSP_RESPID, (st))
  908. #define sk_OCSP_SINGLERESP_new(cmp) SKM_sk_new(OCSP_SINGLERESP, (cmp))
  909. #define sk_OCSP_SINGLERESP_new_null() SKM_sk_new_null(OCSP_SINGLERESP)
  910. #define sk_OCSP_SINGLERESP_free(st) SKM_sk_free(OCSP_SINGLERESP, (st))
  911. #define sk_OCSP_SINGLERESP_num(st) SKM_sk_num(OCSP_SINGLERESP, (st))
  912. #define sk_OCSP_SINGLERESP_value(st, i) SKM_sk_value(OCSP_SINGLERESP, (st), (i))
  913. #define sk_OCSP_SINGLERESP_set(st, i, val) SKM_sk_set(OCSP_SINGLERESP, (st), (i), (val))
  914. #define sk_OCSP_SINGLERESP_zero(st) SKM_sk_zero(OCSP_SINGLERESP, (st))
  915. #define sk_OCSP_SINGLERESP_push(st, val) SKM_sk_push(OCSP_SINGLERESP, (st), (val))
  916. #define sk_OCSP_SINGLERESP_unshift(st, val) SKM_sk_unshift(OCSP_SINGLERESP, (st), (val))
  917. #define sk_OCSP_SINGLERESP_find(st, val) SKM_sk_find(OCSP_SINGLERESP, (st), (val))
  918. #define sk_OCSP_SINGLERESP_delete(st, i) SKM_sk_delete(OCSP_SINGLERESP, (st), (i))
  919. #define sk_OCSP_SINGLERESP_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_SINGLERESP, (st), (ptr))
  920. #define sk_OCSP_SINGLERESP_insert(st, val, i) SKM_sk_insert(OCSP_SINGLERESP, (st), (val), (i))
  921. #define sk_OCSP_SINGLERESP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_SINGLERESP, (st), (cmp))
  922. #define sk_OCSP_SINGLERESP_dup(st) SKM_sk_dup(OCSP_SINGLERESP, st)
  923. #define sk_OCSP_SINGLERESP_pop_free(st, free_func) SKM_sk_pop_free(OCSP_SINGLERESP, (st), (free_func))
  924. #define sk_OCSP_SINGLERESP_shift(st) SKM_sk_shift(OCSP_SINGLERESP, (st))
  925. #define sk_OCSP_SINGLERESP_pop(st) SKM_sk_pop(OCSP_SINGLERESP, (st))
  926. #define sk_OCSP_SINGLERESP_sort(st) SKM_sk_sort(OCSP_SINGLERESP, (st))
  927. #define sk_OCSP_SINGLERESP_is_sorted(st) SKM_sk_is_sorted(OCSP_SINGLERESP, (st))
  928. #define sk_PKCS12_SAFEBAG_new(cmp) SKM_sk_new(PKCS12_SAFEBAG, (cmp))
  929. #define sk_PKCS12_SAFEBAG_new_null() SKM_sk_new_null(PKCS12_SAFEBAG)
  930. #define sk_PKCS12_SAFEBAG_free(st) SKM_sk_free(PKCS12_SAFEBAG, (st))
  931. #define sk_PKCS12_SAFEBAG_num(st) SKM_sk_num(PKCS12_SAFEBAG, (st))
  932. #define sk_PKCS12_SAFEBAG_value(st, i) SKM_sk_value(PKCS12_SAFEBAG, (st), (i))
  933. #define sk_PKCS12_SAFEBAG_set(st, i, val) SKM_sk_set(PKCS12_SAFEBAG, (st), (i), (val))
  934. #define sk_PKCS12_SAFEBAG_zero(st) SKM_sk_zero(PKCS12_SAFEBAG, (st))
  935. #define sk_PKCS12_SAFEBAG_push(st, val) SKM_sk_push(PKCS12_SAFEBAG, (st), (val))
  936. #define sk_PKCS12_SAFEBAG_unshift(st, val) SKM_sk_unshift(PKCS12_SAFEBAG, (st), (val))
  937. #define sk_PKCS12_SAFEBAG_find(st, val) SKM_sk_find(PKCS12_SAFEBAG, (st), (val))
  938. #define sk_PKCS12_SAFEBAG_delete(st, i) SKM_sk_delete(PKCS12_SAFEBAG, (st), (i))
  939. #define sk_PKCS12_SAFEBAG_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS12_SAFEBAG, (st), (ptr))
  940. #define sk_PKCS12_SAFEBAG_insert(st, val, i) SKM_sk_insert(PKCS12_SAFEBAG, (st), (val), (i))
  941. #define sk_PKCS12_SAFEBAG_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS12_SAFEBAG, (st), (cmp))
  942. #define sk_PKCS12_SAFEBAG_dup(st) SKM_sk_dup(PKCS12_SAFEBAG, st)
  943. #define sk_PKCS12_SAFEBAG_pop_free(st, free_func) SKM_sk_pop_free(PKCS12_SAFEBAG, (st), (free_func))
  944. #define sk_PKCS12_SAFEBAG_shift(st) SKM_sk_shift(PKCS12_SAFEBAG, (st))
  945. #define sk_PKCS12_SAFEBAG_pop(st) SKM_sk_pop(PKCS12_SAFEBAG, (st))
  946. #define sk_PKCS12_SAFEBAG_sort(st) SKM_sk_sort(PKCS12_SAFEBAG, (st))
  947. #define sk_PKCS12_SAFEBAG_is_sorted(st) SKM_sk_is_sorted(PKCS12_SAFEBAG, (st))
  948. #define sk_PKCS7_new(cmp) SKM_sk_new(PKCS7, (cmp))
  949. #define sk_PKCS7_new_null() SKM_sk_new_null(PKCS7)
  950. #define sk_PKCS7_free(st) SKM_sk_free(PKCS7, (st))
  951. #define sk_PKCS7_num(st) SKM_sk_num(PKCS7, (st))
  952. #define sk_PKCS7_value(st, i) SKM_sk_value(PKCS7, (st), (i))
  953. #define sk_PKCS7_set(st, i, val) SKM_sk_set(PKCS7, (st), (i), (val))
  954. #define sk_PKCS7_zero(st) SKM_sk_zero(PKCS7, (st))
  955. #define sk_PKCS7_push(st, val) SKM_sk_push(PKCS7, (st), (val))
  956. #define sk_PKCS7_unshift(st, val) SKM_sk_unshift(PKCS7, (st), (val))
  957. #define sk_PKCS7_find(st, val) SKM_sk_find(PKCS7, (st), (val))
  958. #define sk_PKCS7_delete(st, i) SKM_sk_delete(PKCS7, (st), (i))
  959. #define sk_PKCS7_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7, (st), (ptr))
  960. #define sk_PKCS7_insert(st, val, i) SKM_sk_insert(PKCS7, (st), (val), (i))
  961. #define sk_PKCS7_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7, (st), (cmp))
  962. #define sk_PKCS7_dup(st) SKM_sk_dup(PKCS7, st)
  963. #define sk_PKCS7_pop_free(st, free_func) SKM_sk_pop_free(PKCS7, (st), (free_func))
  964. #define sk_PKCS7_shift(st) SKM_sk_shift(PKCS7, (st))
  965. #define sk_PKCS7_pop(st) SKM_sk_pop(PKCS7, (st))
  966. #define sk_PKCS7_sort(st) SKM_sk_sort(PKCS7, (st))
  967. #define sk_PKCS7_is_sorted(st) SKM_sk_is_sorted(PKCS7, (st))
  968. #define sk_PKCS7_RECIP_INFO_new(cmp) SKM_sk_new(PKCS7_RECIP_INFO, (cmp))
  969. #define sk_PKCS7_RECIP_INFO_new_null() SKM_sk_new_null(PKCS7_RECIP_INFO)
  970. #define sk_PKCS7_RECIP_INFO_free(st) SKM_sk_free(PKCS7_RECIP_INFO, (st))
  971. #define sk_PKCS7_RECIP_INFO_num(st) SKM_sk_num(PKCS7_RECIP_INFO, (st))
  972. #define sk_PKCS7_RECIP_INFO_value(st, i) SKM_sk_value(PKCS7_RECIP_INFO, (st), (i))
  973. #define sk_PKCS7_RECIP_INFO_set(st, i, val) SKM_sk_set(PKCS7_RECIP_INFO, (st), (i), (val))
  974. #define sk_PKCS7_RECIP_INFO_zero(st) SKM_sk_zero(PKCS7_RECIP_INFO, (st))
  975. #define sk_PKCS7_RECIP_INFO_push(st, val) SKM_sk_push(PKCS7_RECIP_INFO, (st), (val))
  976. #define sk_PKCS7_RECIP_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_RECIP_INFO, (st), (val))
  977. #define sk_PKCS7_RECIP_INFO_find(st, val) SKM_sk_find(PKCS7_RECIP_INFO, (st), (val))
  978. #define sk_PKCS7_RECIP_INFO_delete(st, i) SKM_sk_delete(PKCS7_RECIP_INFO, (st), (i))
  979. #define sk_PKCS7_RECIP_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_RECIP_INFO, (st), (ptr))
  980. #define sk_PKCS7_RECIP_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_RECIP_INFO, (st), (val), (i))
  981. #define sk_PKCS7_RECIP_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_RECIP_INFO, (st), (cmp))
  982. #define sk_PKCS7_RECIP_INFO_dup(st) SKM_sk_dup(PKCS7_RECIP_INFO, st)
  983. #define sk_PKCS7_RECIP_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_RECIP_INFO, (st), (free_func))
  984. #define sk_PKCS7_RECIP_INFO_shift(st) SKM_sk_shift(PKCS7_RECIP_INFO, (st))
  985. #define sk_PKCS7_RECIP_INFO_pop(st) SKM_sk_pop(PKCS7_RECIP_INFO, (st))
  986. #define sk_PKCS7_RECIP_INFO_sort(st) SKM_sk_sort(PKCS7_RECIP_INFO, (st))
  987. #define sk_PKCS7_RECIP_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_RECIP_INFO, (st))
  988. #define sk_PKCS7_SIGNER_INFO_new(cmp) SKM_sk_new(PKCS7_SIGNER_INFO, (cmp))
  989. #define sk_PKCS7_SIGNER_INFO_new_null() SKM_sk_new_null(PKCS7_SIGNER_INFO)
  990. #define sk_PKCS7_SIGNER_INFO_free(st) SKM_sk_free(PKCS7_SIGNER_INFO, (st))
  991. #define sk_PKCS7_SIGNER_INFO_num(st) SKM_sk_num(PKCS7_SIGNER_INFO, (st))
  992. #define sk_PKCS7_SIGNER_INFO_value(st, i) SKM_sk_value(PKCS7_SIGNER_INFO, (st), (i))
  993. #define sk_PKCS7_SIGNER_INFO_set(st, i, val) SKM_sk_set(PKCS7_SIGNER_INFO, (st), (i), (val))
  994. #define sk_PKCS7_SIGNER_INFO_zero(st) SKM_sk_zero(PKCS7_SIGNER_INFO, (st))
  995. #define sk_PKCS7_SIGNER_INFO_push(st, val) SKM_sk_push(PKCS7_SIGNER_INFO, (st), (val))
  996. #define sk_PKCS7_SIGNER_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_SIGNER_INFO, (st), (val))
  997. #define sk_PKCS7_SIGNER_INFO_find(st, val) SKM_sk_find(PKCS7_SIGNER_INFO, (st), (val))
  998. #define sk_PKCS7_SIGNER_INFO_delete(st, i) SKM_sk_delete(PKCS7_SIGNER_INFO, (st), (i))
  999. #define sk_PKCS7_SIGNER_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_SIGNER_INFO, (st), (ptr))
  1000. #define sk_PKCS7_SIGNER_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_SIGNER_INFO, (st), (val), (i))
  1001. #define sk_PKCS7_SIGNER_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_SIGNER_INFO, (st), (cmp))
  1002. #define sk_PKCS7_SIGNER_INFO_dup(st) SKM_sk_dup(PKCS7_SIGNER_INFO, st)
  1003. #define sk_PKCS7_SIGNER_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_SIGNER_INFO, (st), (free_func))
  1004. #define sk_PKCS7_SIGNER_INFO_shift(st) SKM_sk_shift(PKCS7_SIGNER_INFO, (st))
  1005. #define sk_PKCS7_SIGNER_INFO_pop(st) SKM_sk_pop(PKCS7_SIGNER_INFO, (st))
  1006. #define sk_PKCS7_SIGNER_INFO_sort(st) SKM_sk_sort(PKCS7_SIGNER_INFO, (st))
  1007. #define sk_PKCS7_SIGNER_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_SIGNER_INFO, (st))
  1008. #define sk_POLICYINFO_new(cmp) SKM_sk_new(POLICYINFO, (cmp))
  1009. #define sk_POLICYINFO_new_null() SKM_sk_new_null(POLICYINFO)
  1010. #define sk_POLICYINFO_free(st) SKM_sk_free(POLICYINFO, (st))
  1011. #define sk_POLICYINFO_num(st) SKM_sk_num(POLICYINFO, (st))
  1012. #define sk_POLICYINFO_value(st, i) SKM_sk_value(POLICYINFO, (st), (i))
  1013. #define sk_POLICYINFO_set(st, i, val) SKM_sk_set(POLICYINFO, (st), (i), (val))
  1014. #define sk_POLICYINFO_zero(st) SKM_sk_zero(POLICYINFO, (st))
  1015. #define sk_POLICYINFO_push(st, val) SKM_sk_push(POLICYINFO, (st), (val))
  1016. #define sk_POLICYINFO_unshift(st, val) SKM_sk_unshift(POLICYINFO, (st), (val))
  1017. #define sk_POLICYINFO_find(st, val) SKM_sk_find(POLICYINFO, (st), (val))
  1018. #define sk_POLICYINFO_delete(st, i) SKM_sk_delete(POLICYINFO, (st), (i))
  1019. #define sk_POLICYINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYINFO, (st), (ptr))
  1020. #define sk_POLICYINFO_insert(st, val, i) SKM_sk_insert(POLICYINFO, (st), (val), (i))
  1021. #define sk_POLICYINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYINFO, (st), (cmp))
  1022. #define sk_POLICYINFO_dup(st) SKM_sk_dup(POLICYINFO, st)
  1023. #define sk_POLICYINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYINFO, (st), (free_func))
  1024. #define sk_POLICYINFO_shift(st) SKM_sk_shift(POLICYINFO, (st))
  1025. #define sk_POLICYINFO_pop(st) SKM_sk_pop(POLICYINFO, (st))
  1026. #define sk_POLICYINFO_sort(st) SKM_sk_sort(POLICYINFO, (st))
  1027. #define sk_POLICYINFO_is_sorted(st) SKM_sk_is_sorted(POLICYINFO, (st))
  1028. #define sk_POLICYQUALINFO_new(cmp) SKM_sk_new(POLICYQUALINFO, (cmp))
  1029. #define sk_POLICYQUALINFO_new_null() SKM_sk_new_null(POLICYQUALINFO)
  1030. #define sk_POLICYQUALINFO_free(st) SKM_sk_free(POLICYQUALINFO, (st))
  1031. #define sk_POLICYQUALINFO_num(st) SKM_sk_num(POLICYQUALINFO, (st))
  1032. #define sk_POLICYQUALINFO_value(st, i) SKM_sk_value(POLICYQUALINFO, (st), (i))
  1033. #define sk_POLICYQUALINFO_set(st, i, val) SKM_sk_set(POLICYQUALINFO, (st), (i), (val))
  1034. #define sk_POLICYQUALINFO_zero(st) SKM_sk_zero(POLICYQUALINFO, (st))
  1035. #define sk_POLICYQUALINFO_push(st, val) SKM_sk_push(POLICYQUALINFO, (st), (val))
  1036. #define sk_POLICYQUALINFO_unshift(st, val) SKM_sk_unshift(POLICYQUALINFO, (st), (val))
  1037. #define sk_POLICYQUALINFO_find(st, val) SKM_sk_find(POLICYQUALINFO, (st), (val))
  1038. #define sk_POLICYQUALINFO_delete(st, i) SKM_sk_delete(POLICYQUALINFO, (st), (i))
  1039. #define sk_POLICYQUALINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYQUALINFO, (st), (ptr))
  1040. #define sk_POLICYQUALINFO_insert(st, val, i) SKM_sk_insert(POLICYQUALINFO, (st), (val), (i))
  1041. #define sk_POLICYQUALINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYQUALINFO, (st), (cmp))
  1042. #define sk_POLICYQUALINFO_dup(st) SKM_sk_dup(POLICYQUALINFO, st)
  1043. #define sk_POLICYQUALINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYQUALINFO, (st), (free_func))
  1044. #define sk_POLICYQUALINFO_shift(st) SKM_sk_shift(POLICYQUALINFO, (st))
  1045. #define sk_POLICYQUALINFO_pop(st) SKM_sk_pop(POLICYQUALINFO, (st))
  1046. #define sk_POLICYQUALINFO_sort(st) SKM_sk_sort(POLICYQUALINFO, (st))
  1047. #define sk_POLICYQUALINFO_is_sorted(st) SKM_sk_is_sorted(POLICYQUALINFO, (st))
  1048. #define sk_POLICY_MAPPING_new(cmp) SKM_sk_new(POLICY_MAPPING, (cmp))
  1049. #define sk_POLICY_MAPPING_new_null() SKM_sk_new_null(POLICY_MAPPING)
  1050. #define sk_POLICY_MAPPING_free(st) SKM_sk_free(POLICY_MAPPING, (st))
  1051. #define sk_POLICY_MAPPING_num(st) SKM_sk_num(POLICY_MAPPING, (st))
  1052. #define sk_POLICY_MAPPING_value(st, i) SKM_sk_value(POLICY_MAPPING, (st), (i))
  1053. #define sk_POLICY_MAPPING_set(st, i, val) SKM_sk_set(POLICY_MAPPING, (st), (i), (val))
  1054. #define sk_POLICY_MAPPING_zero(st) SKM_sk_zero(POLICY_MAPPING, (st))
  1055. #define sk_POLICY_MAPPING_push(st, val) SKM_sk_push(POLICY_MAPPING, (st), (val))
  1056. #define sk_POLICY_MAPPING_unshift(st, val) SKM_sk_unshift(POLICY_MAPPING, (st), (val))
  1057. #define sk_POLICY_MAPPING_find(st, val) SKM_sk_find(POLICY_MAPPING, (st), (val))
  1058. #define sk_POLICY_MAPPING_delete(st, i) SKM_sk_delete(POLICY_MAPPING, (st), (i))
  1059. #define sk_POLICY_MAPPING_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICY_MAPPING, (st), (ptr))
  1060. #define sk_POLICY_MAPPING_insert(st, val, i) SKM_sk_insert(POLICY_MAPPING, (st), (val), (i))
  1061. #define sk_POLICY_MAPPING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICY_MAPPING, (st), (cmp))
  1062. #define sk_POLICY_MAPPING_dup(st) SKM_sk_dup(POLICY_MAPPING, st)
  1063. #define sk_POLICY_MAPPING_pop_free(st, free_func) SKM_sk_pop_free(POLICY_MAPPING, (st), (free_func))
  1064. #define sk_POLICY_MAPPING_shift(st) SKM_sk_shift(POLICY_MAPPING, (st))
  1065. #define sk_POLICY_MAPPING_pop(st) SKM_sk_pop(POLICY_MAPPING, (st))
  1066. #define sk_POLICY_MAPPING_sort(st) SKM_sk_sort(POLICY_MAPPING, (st))
  1067. #define sk_POLICY_MAPPING_is_sorted(st) SKM_sk_is_sorted(POLICY_MAPPING, (st))
  1068. #define sk_SCT_new(cmp) SKM_sk_new(SCT, (cmp))
  1069. #define sk_SCT_new_null() SKM_sk_new_null(SCT)
  1070. #define sk_SCT_free(st) SKM_sk_free(SCT, (st))
  1071. #define sk_SCT_num(st) SKM_sk_num(SCT, (st))
  1072. #define sk_SCT_value(st, i) SKM_sk_value(SCT, (st), (i))
  1073. #define sk_SCT_set(st, i, val) SKM_sk_set(SCT, (st), (i), (val))
  1074. #define sk_SCT_zero(st) SKM_sk_zero(SCT, (st))
  1075. #define sk_SCT_push(st, val) SKM_sk_push(SCT, (st), (val))
  1076. #define sk_SCT_unshift(st, val) SKM_sk_unshift(SCT, (st), (val))
  1077. #define sk_SCT_find(st, val) SKM_sk_find(SCT, (st), (val))
  1078. #define sk_SCT_delete(st, i) SKM_sk_delete(SCT, (st), (i))
  1079. #define sk_SCT_delete_ptr(st, ptr) SKM_sk_delete_ptr(SCT, (st), (ptr))
  1080. #define sk_SCT_insert(st, val, i) SKM_sk_insert(SCT, (st), (val), (i))
  1081. #define sk_SCT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SCT, (st), (cmp))
  1082. #define sk_SCT_dup(st) SKM_sk_dup(SCT, st)
  1083. #define sk_SCT_pop_free(st, free_func) SKM_sk_pop_free(SCT, (st), (free_func))
  1084. #define sk_SCT_shift(st) SKM_sk_shift(SCT, (st))
  1085. #define sk_SCT_pop(st) SKM_sk_pop(SCT, (st))
  1086. #define sk_SCT_sort(st) SKM_sk_sort(SCT, (st))
  1087. #define sk_SCT_is_sorted(st) SKM_sk_is_sorted(SCT, (st))
  1088. #define sk_SRTP_PROTECTION_PROFILE_new(cmp) SKM_sk_new(SRTP_PROTECTION_PROFILE, (cmp))
  1089. #define sk_SRTP_PROTECTION_PROFILE_new_null() SKM_sk_new_null(SRTP_PROTECTION_PROFILE)
  1090. #define sk_SRTP_PROTECTION_PROFILE_free(st) SKM_sk_free(SRTP_PROTECTION_PROFILE, (st))
  1091. #define sk_SRTP_PROTECTION_PROFILE_num(st) SKM_sk_num(SRTP_PROTECTION_PROFILE, (st))
  1092. #define sk_SRTP_PROTECTION_PROFILE_value(st, i) SKM_sk_value(SRTP_PROTECTION_PROFILE, (st), (i))
  1093. #define sk_SRTP_PROTECTION_PROFILE_set(st, i, val) SKM_sk_set(SRTP_PROTECTION_PROFILE, (st), (i), (val))
  1094. #define sk_SRTP_PROTECTION_PROFILE_zero(st) SKM_sk_zero(SRTP_PROTECTION_PROFILE, (st))
  1095. #define sk_SRTP_PROTECTION_PROFILE_push(st, val) SKM_sk_push(SRTP_PROTECTION_PROFILE, (st), (val))
  1096. #define sk_SRTP_PROTECTION_PROFILE_unshift(st, val) SKM_sk_unshift(SRTP_PROTECTION_PROFILE, (st), (val))
  1097. #define sk_SRTP_PROTECTION_PROFILE_find(st, val) SKM_sk_find(SRTP_PROTECTION_PROFILE, (st), (val))
  1098. #define sk_SRTP_PROTECTION_PROFILE_delete(st, i) SKM_sk_delete(SRTP_PROTECTION_PROFILE, (st), (i))
  1099. #define sk_SRTP_PROTECTION_PROFILE_delete_ptr(st, ptr) SKM_sk_delete_ptr(SRTP_PROTECTION_PROFILE, (st), (ptr))
  1100. #define sk_SRTP_PROTECTION_PROFILE_insert(st, val, i) SKM_sk_insert(SRTP_PROTECTION_PROFILE, (st), (val), (i))
  1101. #define sk_SRTP_PROTECTION_PROFILE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SRTP_PROTECTION_PROFILE, (st), (cmp))
  1102. #define sk_SRTP_PROTECTION_PROFILE_dup(st) SKM_sk_dup(SRTP_PROTECTION_PROFILE, st)
  1103. #define sk_SRTP_PROTECTION_PROFILE_pop_free(st, free_func) SKM_sk_pop_free(SRTP_PROTECTION_PROFILE, (st), (free_func))
  1104. #define sk_SRTP_PROTECTION_PROFILE_shift(st) SKM_sk_shift(SRTP_PROTECTION_PROFILE, (st))
  1105. #define sk_SRTP_PROTECTION_PROFILE_pop(st) SKM_sk_pop(SRTP_PROTECTION_PROFILE, (st))
  1106. #define sk_SRTP_PROTECTION_PROFILE_sort(st) SKM_sk_sort(SRTP_PROTECTION_PROFILE, (st))
  1107. #define sk_SRTP_PROTECTION_PROFILE_is_sorted(st) SKM_sk_is_sorted(SRTP_PROTECTION_PROFILE, (st))
  1108. #define sk_SSL_CIPHER_new(cmp) SKM_sk_new(SSL_CIPHER, (cmp))
  1109. #define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
  1110. #define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
  1111. #define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
  1112. #define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
  1113. #define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
  1114. #define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
  1115. #define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
  1116. #define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
  1117. #define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
  1118. #define sk_SSL_CIPHER_delete(st, i) SKM_sk_delete(SSL_CIPHER, (st), (i))
  1119. #define sk_SSL_CIPHER_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_CIPHER, (st), (ptr))
  1120. #define sk_SSL_CIPHER_insert(st, val, i) SKM_sk_insert(SSL_CIPHER, (st), (val), (i))
  1121. #define sk_SSL_CIPHER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_CIPHER, (st), (cmp))
  1122. #define sk_SSL_CIPHER_dup(st) SKM_sk_dup(SSL_CIPHER, st)
  1123. #define sk_SSL_CIPHER_pop_free(st, free_func) SKM_sk_pop_free(SSL_CIPHER, (st), (free_func))
  1124. #define sk_SSL_CIPHER_shift(st) SKM_sk_shift(SSL_CIPHER, (st))
  1125. #define sk_SSL_CIPHER_pop(st) SKM_sk_pop(SSL_CIPHER, (st))
  1126. #define sk_SSL_CIPHER_sort(st) SKM_sk_sort(SSL_CIPHER, (st))
  1127. #define sk_SSL_CIPHER_is_sorted(st) SKM_sk_is_sorted(SSL_CIPHER, (st))
  1128. #define sk_SSL_COMP_new(cmp) SKM_sk_new(SSL_COMP, (cmp))
  1129. #define sk_SSL_COMP_new_null() SKM_sk_new_null(SSL_COMP)
  1130. #define sk_SSL_COMP_free(st) SKM_sk_free(SSL_COMP, (st))
  1131. #define sk_SSL_COMP_num(st) SKM_sk_num(SSL_COMP, (st))
  1132. #define sk_SSL_COMP_value(st, i) SKM_sk_value(SSL_COMP, (st), (i))
  1133. #define sk_SSL_COMP_set(st, i, val) SKM_sk_set(SSL_COMP, (st), (i), (val))
  1134. #define sk_SSL_COMP_zero(st) SKM_sk_zero(SSL_COMP, (st))
  1135. #define sk_SSL_COMP_push(st, val) SKM_sk_push(SSL_COMP, (st), (val))
  1136. #define sk_SSL_COMP_unshift(st, val) SKM_sk_unshift(SSL_COMP, (st), (val))
  1137. #define sk_SSL_COMP_find(st, val) SKM_sk_find(SSL_COMP, (st), (val))
  1138. #define sk_SSL_COMP_delete(st, i) SKM_sk_delete(SSL_COMP, (st), (i))
  1139. #define sk_SSL_COMP_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_COMP, (st), (ptr))
  1140. #define sk_SSL_COMP_insert(st, val, i) SKM_sk_insert(SSL_COMP, (st), (val), (i))
  1141. #define sk_SSL_COMP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_COMP, (st), (cmp))
  1142. #define sk_SSL_COMP_dup(st) SKM_sk_dup(SSL_COMP, st)
  1143. #define sk_SSL_COMP_pop_free(st, free_func) SKM_sk_pop_free(SSL_COMP, (st), (free_func))
  1144. #define sk_SSL_COMP_shift(st) SKM_sk_shift(SSL_COMP, (st))
  1145. #define sk_SSL_COMP_pop(st) SKM_sk_pop(SSL_COMP, (st))
  1146. #define sk_SSL_COMP_sort(st) SKM_sk_sort(SSL_COMP, (st))
  1147. #define sk_SSL_COMP_is_sorted(st) SKM_sk_is_sorted(SSL_COMP, (st))
  1148. #define sk_STACK_OF_X509_NAME_ENTRY_new(cmp) SKM_sk_new(STACK_OF_X509_NAME_ENTRY, (cmp))
  1149. #define sk_STACK_OF_X509_NAME_ENTRY_new_null() SKM_sk_new_null(STACK_OF_X509_NAME_ENTRY)
  1150. #define sk_STACK_OF_X509_NAME_ENTRY_free(st) SKM_sk_free(STACK_OF_X509_NAME_ENTRY, (st))
  1151. #define sk_STACK_OF_X509_NAME_ENTRY_num(st) SKM_sk_num(STACK_OF_X509_NAME_ENTRY, (st))
  1152. #define sk_STACK_OF_X509_NAME_ENTRY_value(st, i) SKM_sk_value(STACK_OF_X509_NAME_ENTRY, (st), (i))
  1153. #define sk_STACK_OF_X509_NAME_ENTRY_set(st, i, val) SKM_sk_set(STACK_OF_X509_NAME_ENTRY, (st), (i), (val))
  1154. #define sk_STACK_OF_X509_NAME_ENTRY_zero(st) SKM_sk_zero(STACK_OF_X509_NAME_ENTRY, (st))
  1155. #define sk_STACK_OF_X509_NAME_ENTRY_push(st, val) SKM_sk_push(STACK_OF_X509_NAME_ENTRY, (st), (val))
  1156. #define sk_STACK_OF_X509_NAME_ENTRY_unshift(st, val) SKM_sk_unshift(STACK_OF_X509_NAME_ENTRY, (st), (val))
  1157. #define sk_STACK_OF_X509_NAME_ENTRY_find(st, val) SKM_sk_find(STACK_OF_X509_NAME_ENTRY, (st), (val))
  1158. #define sk_STACK_OF_X509_NAME_ENTRY_delete(st, i) SKM_sk_delete(STACK_OF_X509_NAME_ENTRY, (st), (i))
  1159. #define sk_STACK_OF_X509_NAME_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(STACK_OF_X509_NAME_ENTRY, (st), (ptr))
  1160. #define sk_STACK_OF_X509_NAME_ENTRY_insert(st, val, i) SKM_sk_insert(STACK_OF_X509_NAME_ENTRY, (st), (val), (i))
  1161. #define sk_STACK_OF_X509_NAME_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STACK_OF_X509_NAME_ENTRY, (st), (cmp))
  1162. #define sk_STACK_OF_X509_NAME_ENTRY_dup(st) SKM_sk_dup(STACK_OF_X509_NAME_ENTRY, st)
  1163. #define sk_STACK_OF_X509_NAME_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(STACK_OF_X509_NAME_ENTRY, (st), (free_func))
  1164. #define sk_STACK_OF_X509_NAME_ENTRY_shift(st) SKM_sk_shift(STACK_OF_X509_NAME_ENTRY, (st))
  1165. #define sk_STACK_OF_X509_NAME_ENTRY_pop(st) SKM_sk_pop(STACK_OF_X509_NAME_ENTRY, (st))
  1166. #define sk_STACK_OF_X509_NAME_ENTRY_sort(st) SKM_sk_sort(STACK_OF_X509_NAME_ENTRY, (st))
  1167. #define sk_STACK_OF_X509_NAME_ENTRY_is_sorted(st) SKM_sk_is_sorted(STACK_OF_X509_NAME_ENTRY, (st))
  1168. #define sk_STORE_ATTR_INFO_new(cmp) SKM_sk_new(STORE_ATTR_INFO, (cmp))
  1169. #define sk_STORE_ATTR_INFO_new_null() SKM_sk_new_null(STORE_ATTR_INFO)
  1170. #define sk_STORE_ATTR_INFO_free(st) SKM_sk_free(STORE_ATTR_INFO, (st))
  1171. #define sk_STORE_ATTR_INFO_num(st) SKM_sk_num(STORE_ATTR_INFO, (st))
  1172. #define sk_STORE_ATTR_INFO_value(st, i) SKM_sk_value(STORE_ATTR_INFO, (st), (i))
  1173. #define sk_STORE_ATTR_INFO_set(st, i, val) SKM_sk_set(STORE_ATTR_INFO, (st), (i), (val))
  1174. #define sk_STORE_ATTR_INFO_zero(st) SKM_sk_zero(STORE_ATTR_INFO, (st))
  1175. #define sk_STORE_ATTR_INFO_push(st, val) SKM_sk_push(STORE_ATTR_INFO, (st), (val))
  1176. #define sk_STORE_ATTR_INFO_unshift(st, val) SKM_sk_unshift(STORE_ATTR_INFO, (st), (val))
  1177. #define sk_STORE_ATTR_INFO_find(st, val) SKM_sk_find(STORE_ATTR_INFO, (st), (val))
  1178. #define sk_STORE_ATTR_INFO_delete(st, i) SKM_sk_delete(STORE_ATTR_INFO, (st), (i))
  1179. #define sk_STORE_ATTR_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(STORE_ATTR_INFO, (st), (ptr))
  1180. #define sk_STORE_ATTR_INFO_insert(st, val, i) SKM_sk_insert(STORE_ATTR_INFO, (st), (val), (i))
  1181. #define sk_STORE_ATTR_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STORE_ATTR_INFO, (st), (cmp))
  1182. #define sk_STORE_ATTR_INFO_dup(st) SKM_sk_dup(STORE_ATTR_INFO, st)
  1183. #define sk_STORE_ATTR_INFO_pop_free(st, free_func) SKM_sk_pop_free(STORE_ATTR_INFO, (st), (free_func))
  1184. #define sk_STORE_ATTR_INFO_shift(st) SKM_sk_shift(STORE_ATTR_INFO, (st))
  1185. #define sk_STORE_ATTR_INFO_pop(st) SKM_sk_pop(STORE_ATTR_INFO, (st))
  1186. #define sk_STORE_ATTR_INFO_sort(st) SKM_sk_sort(STORE_ATTR_INFO, (st))
  1187. #define sk_STORE_ATTR_INFO_is_sorted(st) SKM_sk_is_sorted(STORE_ATTR_INFO, (st))
  1188. #define sk_STORE_OBJECT_new(cmp) SKM_sk_new(STORE_OBJECT, (cmp))
  1189. #define sk_STORE_OBJECT_new_null() SKM_sk_new_null(STORE_OBJECT)
  1190. #define sk_STORE_OBJECT_free(st) SKM_sk_free(STORE_OBJECT, (st))
  1191. #define sk_STORE_OBJECT_num(st) SKM_sk_num(STORE_OBJECT, (st))
  1192. #define sk_STORE_OBJECT_value(st, i) SKM_sk_value(STORE_OBJECT, (st), (i))
  1193. #define sk_STORE_OBJECT_set(st, i, val) SKM_sk_set(STORE_OBJECT, (st), (i), (val))
  1194. #define sk_STORE_OBJECT_zero(st) SKM_sk_zero(STORE_OBJECT, (st))
  1195. #define sk_STORE_OBJECT_push(st, val) SKM_sk_push(STORE_OBJECT, (st), (val))
  1196. #define sk_STORE_OBJECT_unshift(st, val) SKM_sk_unshift(STORE_OBJECT, (st), (val))
  1197. #define sk_STORE_OBJECT_find(st, val) SKM_sk_find(STORE_OBJECT, (st), (val))
  1198. #define sk_STORE_OBJECT_delete(st, i) SKM_sk_delete(STORE_OBJECT, (st), (i))
  1199. #define sk_STORE_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(STORE_OBJECT, (st), (ptr))
  1200. #define sk_STORE_OBJECT_insert(st, val, i) SKM_sk_insert(STORE_OBJECT, (st), (val), (i))
  1201. #define sk_STORE_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STORE_OBJECT, (st), (cmp))
  1202. #define sk_STORE_OBJECT_dup(st) SKM_sk_dup(STORE_OBJECT, st)
  1203. #define sk_STORE_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(STORE_OBJECT, (st), (free_func))
  1204. #define sk_STORE_OBJECT_shift(st) SKM_sk_shift(STORE_OBJECT, (st))
  1205. #define sk_STORE_OBJECT_pop(st) SKM_sk_pop(STORE_OBJECT, (st))
  1206. #define sk_STORE_OBJECT_sort(st) SKM_sk_sort(STORE_OBJECT, (st))
  1207. #define sk_STORE_OBJECT_is_sorted(st) SKM_sk_is_sorted(STORE_OBJECT, (st))
  1208. #define sk_UI_STRING_new(cmp) SKM_sk_new(UI_STRING, (cmp))
  1209. #define sk_UI_STRING_new_null() SKM_sk_new_null(UI_STRING)
  1210. #define sk_UI_STRING_free(st) SKM_sk_free(UI_STRING, (st))
  1211. #define sk_UI_STRING_num(st) SKM_sk_num(UI_STRING, (st))
  1212. #define sk_UI_STRING_value(st, i) SKM_sk_value(UI_STRING, (st), (i))
  1213. #define sk_UI_STRING_set(st, i, val) SKM_sk_set(UI_STRING, (st), (i), (val))
  1214. #define sk_UI_STRING_zero(st) SKM_sk_zero(UI_STRING, (st))
  1215. #define sk_UI_STRING_push(st, val) SKM_sk_push(UI_STRING, (st), (val))
  1216. #define sk_UI_STRING_unshift(st, val) SKM_sk_unshift(UI_STRING, (st), (val))
  1217. #define sk_UI_STRING_find(st, val) SKM_sk_find(UI_STRING, (st), (val))
  1218. #define sk_UI_STRING_delete(st, i) SKM_sk_delete(UI_STRING, (st), (i))
  1219. #define sk_UI_STRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(UI_STRING, (st), (ptr))
  1220. #define sk_UI_STRING_insert(st, val, i) SKM_sk_insert(UI_STRING, (st), (val), (i))
  1221. #define sk_UI_STRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(UI_STRING, (st), (cmp))
  1222. #define sk_UI_STRING_dup(st) SKM_sk_dup(UI_STRING, st)
  1223. #define sk_UI_STRING_pop_free(st, free_func) SKM_sk_pop_free(UI_STRING, (st), (free_func))
  1224. #define sk_UI_STRING_shift(st) SKM_sk_shift(UI_STRING, (st))
  1225. #define sk_UI_STRING_pop(st) SKM_sk_pop(UI_STRING, (st))
  1226. #define sk_UI_STRING_sort(st) SKM_sk_sort(UI_STRING, (st))
  1227. #define sk_UI_STRING_is_sorted(st) SKM_sk_is_sorted(UI_STRING, (st))
  1228. #define sk_X509_new(cmp) SKM_sk_new(X509, (cmp))
  1229. #define sk_X509_new_null() SKM_sk_new_null(X509)
  1230. #define sk_X509_free(st) SKM_sk_free(X509, (st))
  1231. #define sk_X509_num(st) SKM_sk_num(X509, (st))
  1232. #define sk_X509_value(st, i) SKM_sk_value(X509, (st), (i))
  1233. #define sk_X509_set(st, i, val) SKM_sk_set(X509, (st), (i), (val))
  1234. #define sk_X509_zero(st) SKM_sk_zero(X509, (st))
  1235. #define sk_X509_push(st, val) SKM_sk_push(X509, (st), (val))
  1236. #define sk_X509_unshift(st, val) SKM_sk_unshift(X509, (st), (val))
  1237. #define sk_X509_find(st, val) SKM_sk_find(X509, (st), (val))
  1238. #define sk_X509_delete(st, i) SKM_sk_delete(X509, (st), (i))
  1239. #define sk_X509_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509, (st), (ptr))
  1240. #define sk_X509_insert(st, val, i) SKM_sk_insert(X509, (st), (val), (i))
  1241. #define sk_X509_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509, (st), (cmp))
  1242. #define sk_X509_dup(st) SKM_sk_dup(X509, st)
  1243. #define sk_X509_pop_free(st, free_func) SKM_sk_pop_free(X509, (st), (free_func))
  1244. #define sk_X509_shift(st) SKM_sk_shift(X509, (st))
  1245. #define sk_X509_pop(st) SKM_sk_pop(X509, (st))
  1246. #define sk_X509_sort(st) SKM_sk_sort(X509, (st))
  1247. #define sk_X509_is_sorted(st) SKM_sk_is_sorted(X509, (st))
  1248. #define sk_X509V3_EXT_METHOD_new(cmp) SKM_sk_new(X509V3_EXT_METHOD, (cmp))
  1249. #define sk_X509V3_EXT_METHOD_new_null() SKM_sk_new_null(X509V3_EXT_METHOD)
  1250. #define sk_X509V3_EXT_METHOD_free(st) SKM_sk_free(X509V3_EXT_METHOD, (st))
  1251. #define sk_X509V3_EXT_METHOD_num(st) SKM_sk_num(X509V3_EXT_METHOD, (st))
  1252. #define sk_X509V3_EXT_METHOD_value(st, i) SKM_sk_value(X509V3_EXT_METHOD, (st), (i))
  1253. #define sk_X509V3_EXT_METHOD_set(st, i, val) SKM_sk_set(X509V3_EXT_METHOD, (st), (i), (val))
  1254. #define sk_X509V3_EXT_METHOD_zero(st) SKM_sk_zero(X509V3_EXT_METHOD, (st))
  1255. #define sk_X509V3_EXT_METHOD_push(st, val) SKM_sk_push(X509V3_EXT_METHOD, (st), (val))
  1256. #define sk_X509V3_EXT_METHOD_unshift(st, val) SKM_sk_unshift(X509V3_EXT_METHOD, (st), (val))
  1257. #define sk_X509V3_EXT_METHOD_find(st, val) SKM_sk_find(X509V3_EXT_METHOD, (st), (val))
  1258. #define sk_X509V3_EXT_METHOD_delete(st, i) SKM_sk_delete(X509V3_EXT_METHOD, (st), (i))
  1259. #define sk_X509V3_EXT_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509V3_EXT_METHOD, (st), (ptr))
  1260. #define sk_X509V3_EXT_METHOD_insert(st, val, i) SKM_sk_insert(X509V3_EXT_METHOD, (st), (val), (i))
  1261. #define sk_X509V3_EXT_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509V3_EXT_METHOD, (st), (cmp))
  1262. #define sk_X509V3_EXT_METHOD_dup(st) SKM_sk_dup(X509V3_EXT_METHOD, st)
  1263. #define sk_X509V3_EXT_METHOD_pop_free(st, free_func) SKM_sk_pop_free(X509V3_EXT_METHOD, (st), (free_func))
  1264. #define sk_X509V3_EXT_METHOD_shift(st) SKM_sk_shift(X509V3_EXT_METHOD, (st))
  1265. #define sk_X509V3_EXT_METHOD_pop(st) SKM_sk_pop(X509V3_EXT_METHOD, (st))
  1266. #define sk_X509V3_EXT_METHOD_sort(st) SKM_sk_sort(X509V3_EXT_METHOD, (st))
  1267. #define sk_X509V3_EXT_METHOD_is_sorted(st) SKM_sk_is_sorted(X509V3_EXT_METHOD, (st))
  1268. #define sk_X509_ALGOR_new(cmp) SKM_sk_new(X509_ALGOR, (cmp))
  1269. #define sk_X509_ALGOR_new_null() SKM_sk_new_null(X509_ALGOR)
  1270. #define sk_X509_ALGOR_free(st) SKM_sk_free(X509_ALGOR, (st))
  1271. #define sk_X509_ALGOR_num(st) SKM_sk_num(X509_ALGOR, (st))
  1272. #define sk_X509_ALGOR_value(st, i) SKM_sk_value(X509_ALGOR, (st), (i))
  1273. #define sk_X509_ALGOR_set(st, i, val) SKM_sk_set(X509_ALGOR, (st), (i), (val))
  1274. #define sk_X509_ALGOR_zero(st) SKM_sk_zero(X509_ALGOR, (st))
  1275. #define sk_X509_ALGOR_push(st, val) SKM_sk_push(X509_ALGOR, (st), (val))
  1276. #define sk_X509_ALGOR_unshift(st, val) SKM_sk_unshift(X509_ALGOR, (st), (val))
  1277. #define sk_X509_ALGOR_find(st, val) SKM_sk_find(X509_ALGOR, (st), (val))
  1278. #define sk_X509_ALGOR_delete(st, i) SKM_sk_delete(X509_ALGOR, (st), (i))
  1279. #define sk_X509_ALGOR_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ALGOR, (st), (ptr))
  1280. #define sk_X509_ALGOR_insert(st, val, i) SKM_sk_insert(X509_ALGOR, (st), (val), (i))
  1281. #define sk_X509_ALGOR_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ALGOR, (st), (cmp))
  1282. #define sk_X509_ALGOR_dup(st) SKM_sk_dup(X509_ALGOR, st)
  1283. #define sk_X509_ALGOR_pop_free(st, free_func) SKM_sk_pop_free(X509_ALGOR, (st), (free_func))
  1284. #define sk_X509_ALGOR_shift(st) SKM_sk_shift(X509_ALGOR, (st))
  1285. #define sk_X509_ALGOR_pop(st) SKM_sk_pop(X509_ALGOR, (st))
  1286. #define sk_X509_ALGOR_sort(st) SKM_sk_sort(X509_ALGOR, (st))
  1287. #define sk_X509_ALGOR_is_sorted(st) SKM_sk_is_sorted(X509_ALGOR, (st))
  1288. #define sk_X509_ATTRIBUTE_new(cmp) SKM_sk_new(X509_ATTRIBUTE, (cmp))
  1289. #define sk_X509_ATTRIBUTE_new_null() SKM_sk_new_null(X509_ATTRIBUTE)
  1290. #define sk_X509_ATTRIBUTE_free(st) SKM_sk_free(X509_ATTRIBUTE, (st))
  1291. #define sk_X509_ATTRIBUTE_num(st) SKM_sk_num(X509_ATTRIBUTE, (st))
  1292. #define sk_X509_ATTRIBUTE_value(st, i) SKM_sk_value(X509_ATTRIBUTE, (st), (i))
  1293. #define sk_X509_ATTRIBUTE_set(st, i, val) SKM_sk_set(X509_ATTRIBUTE, (st), (i), (val))
  1294. #define sk_X509_ATTRIBUTE_zero(st) SKM_sk_zero(X509_ATTRIBUTE, (st))
  1295. #define sk_X509_ATTRIBUTE_push(st, val) SKM_sk_push(X509_ATTRIBUTE, (st), (val))
  1296. #define sk_X509_ATTRIBUTE_unshift(st, val) SKM_sk_unshift(X509_ATTRIBUTE, (st), (val))
  1297. #define sk_X509_ATTRIBUTE_find(st, val) SKM_sk_find(X509_ATTRIBUTE, (st), (val))
  1298. #define sk_X509_ATTRIBUTE_delete(st, i) SKM_sk_delete(X509_ATTRIBUTE, (st), (i))
  1299. #define sk_X509_ATTRIBUTE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ATTRIBUTE, (st), (ptr))
  1300. #define sk_X509_ATTRIBUTE_insert(st, val, i) SKM_sk_insert(X509_ATTRIBUTE, (st), (val), (i))
  1301. #define sk_X509_ATTRIBUTE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ATTRIBUTE, (st), (cmp))
  1302. #define sk_X509_ATTRIBUTE_dup(st) SKM_sk_dup(X509_ATTRIBUTE, st)
  1303. #define sk_X509_ATTRIBUTE_pop_free(st, free_func) SKM_sk_pop_free(X509_ATTRIBUTE, (st), (free_func))
  1304. #define sk_X509_ATTRIBUTE_shift(st) SKM_sk_shift(X509_ATTRIBUTE, (st))
  1305. #define sk_X509_ATTRIBUTE_pop(st) SKM_sk_pop(X509_ATTRIBUTE, (st))
  1306. #define sk_X509_ATTRIBUTE_sort(st) SKM_sk_sort(X509_ATTRIBUTE, (st))
  1307. #define sk_X509_ATTRIBUTE_is_sorted(st) SKM_sk_is_sorted(X509_ATTRIBUTE, (st))
  1308. #define sk_X509_CRL_new(cmp) SKM_sk_new(X509_CRL, (cmp))
  1309. #define sk_X509_CRL_new_null() SKM_sk_new_null(X509_CRL)
  1310. #define sk_X509_CRL_free(st) SKM_sk_free(X509_CRL, (st))
  1311. #define sk_X509_CRL_num(st) SKM_sk_num(X509_CRL, (st))
  1312. #define sk_X509_CRL_value(st, i) SKM_sk_value(X509_CRL, (st), (i))
  1313. #define sk_X509_CRL_set(st, i, val) SKM_sk_set(X509_CRL, (st), (i), (val))
  1314. #define sk_X509_CRL_zero(st) SKM_sk_zero(X509_CRL, (st))
  1315. #define sk_X509_CRL_push(st, val) SKM_sk_push(X509_CRL, (st), (val))
  1316. #define sk_X509_CRL_unshift(st, val) SKM_sk_unshift(X509_CRL, (st), (val))
  1317. #define sk_X509_CRL_find(st, val) SKM_sk_find(X509_CRL, (st), (val))
  1318. #define sk_X509_CRL_delete(st, i) SKM_sk_delete(X509_CRL, (st), (i))
  1319. #define sk_X509_CRL_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_CRL, (st), (ptr))
  1320. #define sk_X509_CRL_insert(st, val, i) SKM_sk_insert(X509_CRL, (st), (val), (i))
  1321. #define sk_X509_CRL_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_CRL, (st), (cmp))
  1322. #define sk_X509_CRL_dup(st) SKM_sk_dup(X509_CRL, st)
  1323. #define sk_X509_CRL_pop_free(st, free_func) SKM_sk_pop_free(X509_CRL, (st), (free_func))
  1324. #define sk_X509_CRL_shift(st) SKM_sk_shift(X509_CRL, (st))
  1325. #define sk_X509_CRL_pop(st) SKM_sk_pop(X509_CRL, (st))
  1326. #define sk_X509_CRL_sort(st) SKM_sk_sort(X509_CRL, (st))
  1327. #define sk_X509_CRL_is_sorted(st) SKM_sk_is_sorted(X509_CRL, (st))
  1328. #define sk_X509_EXTENSION_new(cmp) SKM_sk_new(X509_EXTENSION, (cmp))
  1329. #define sk_X509_EXTENSION_new_null() SKM_sk_new_null(X509_EXTENSION)
  1330. #define sk_X509_EXTENSION_free(st) SKM_sk_free(X509_EXTENSION, (st))
  1331. #define sk_X509_EXTENSION_num(st) SKM_sk_num(X509_EXTENSION, (st))
  1332. #define sk_X509_EXTENSION_value(st, i) SKM_sk_value(X509_EXTENSION, (st), (i))
  1333. #define sk_X509_EXTENSION_set(st, i, val) SKM_sk_set(X509_EXTENSION, (st), (i), (val))
  1334. #define sk_X509_EXTENSION_zero(st) SKM_sk_zero(X509_EXTENSION, (st))
  1335. #define sk_X509_EXTENSION_push(st, val) SKM_sk_push(X509_EXTENSION, (st), (val))
  1336. #define sk_X509_EXTENSION_unshift(st, val) SKM_sk_unshift(X509_EXTENSION, (st), (val))
  1337. #define sk_X509_EXTENSION_find(st, val) SKM_sk_find(X509_EXTENSION, (st), (val))
  1338. #define sk_X509_EXTENSION_delete(st, i) SKM_sk_delete(X509_EXTENSION, (st), (i))
  1339. #define sk_X509_EXTENSION_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_EXTENSION, (st), (ptr))
  1340. #define sk_X509_EXTENSION_insert(st, val, i) SKM_sk_insert(X509_EXTENSION, (st), (val), (i))
  1341. #define sk_X509_EXTENSION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_EXTENSION, (st), (cmp))
  1342. #define sk_X509_EXTENSION_dup(st) SKM_sk_dup(X509_EXTENSION, st)
  1343. #define sk_X509_EXTENSION_pop_free(st, free_func) SKM_sk_pop_free(X509_EXTENSION, (st), (free_func))
  1344. #define sk_X509_EXTENSION_shift(st) SKM_sk_shift(X509_EXTENSION, (st))
  1345. #define sk_X509_EXTENSION_pop(st) SKM_sk_pop(X509_EXTENSION, (st))
  1346. #define sk_X509_EXTENSION_sort(st) SKM_sk_sort(X509_EXTENSION, (st))
  1347. #define sk_X509_EXTENSION_is_sorted(st) SKM_sk_is_sorted(X509_EXTENSION, (st))
  1348. #define sk_X509_INFO_new(cmp) SKM_sk_new(X509_INFO, (cmp))
  1349. #define sk_X509_INFO_new_null() SKM_sk_new_null(X509_INFO)
  1350. #define sk_X509_INFO_free(st) SKM_sk_free(X509_INFO, (st))
  1351. #define sk_X509_INFO_num(st) SKM_sk_num(X509_INFO, (st))
  1352. #define sk_X509_INFO_value(st, i) SKM_sk_value(X509_INFO, (st), (i))
  1353. #define sk_X509_INFO_set(st, i, val) SKM_sk_set(X509_INFO, (st), (i), (val))
  1354. #define sk_X509_INFO_zero(st) SKM_sk_zero(X509_INFO, (st))
  1355. #define sk_X509_INFO_push(st, val) SKM_sk_push(X509_INFO, (st), (val))
  1356. #define sk_X509_INFO_unshift(st, val) SKM_sk_unshift(X509_INFO, (st), (val))
  1357. #define sk_X509_INFO_find(st, val) SKM_sk_find(X509_INFO, (st), (val))
  1358. #define sk_X509_INFO_delete(st, i) SKM_sk_delete(X509_INFO, (st), (i))
  1359. #define sk_X509_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_INFO, (st), (ptr))
  1360. #define sk_X509_INFO_insert(st, val, i) SKM_sk_insert(X509_INFO, (st), (val), (i))
  1361. #define sk_X509_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_INFO, (st), (cmp))
  1362. #define sk_X509_INFO_dup(st) SKM_sk_dup(X509_INFO, st)
  1363. #define sk_X509_INFO_pop_free(st, free_func) SKM_sk_pop_free(X509_INFO, (st), (free_func))
  1364. #define sk_X509_INFO_shift(st) SKM_sk_shift(X509_INFO, (st))
  1365. #define sk_X509_INFO_pop(st) SKM_sk_pop(X509_INFO, (st))
  1366. #define sk_X509_INFO_sort(st) SKM_sk_sort(X509_INFO, (st))
  1367. #define sk_X509_INFO_is_sorted(st) SKM_sk_is_sorted(X509_INFO, (st))
  1368. #define sk_X509_LOOKUP_new(cmp) SKM_sk_new(X509_LOOKUP, (cmp))
  1369. #define sk_X509_LOOKUP_new_null() SKM_sk_new_null(X509_LOOKUP)
  1370. #define sk_X509_LOOKUP_free(st) SKM_sk_free(X509_LOOKUP, (st))
  1371. #define sk_X509_LOOKUP_num(st) SKM_sk_num(X509_LOOKUP, (st))
  1372. #define sk_X509_LOOKUP_value(st, i) SKM_sk_value(X509_LOOKUP, (st), (i))
  1373. #define sk_X509_LOOKUP_set(st, i, val) SKM_sk_set(X509_LOOKUP, (st), (i), (val))
  1374. #define sk_X509_LOOKUP_zero(st) SKM_sk_zero(X509_LOOKUP, (st))
  1375. #define sk_X509_LOOKUP_push(st, val) SKM_sk_push(X509_LOOKUP, (st), (val))
  1376. #define sk_X509_LOOKUP_unshift(st, val) SKM_sk_unshift(X509_LOOKUP, (st), (val))
  1377. #define sk_X509_LOOKUP_find(st, val) SKM_sk_find(X509_LOOKUP, (st), (val))
  1378. #define sk_X509_LOOKUP_delete(st, i) SKM_sk_delete(X509_LOOKUP, (st), (i))
  1379. #define sk_X509_LOOKUP_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_LOOKUP, (st), (ptr))
  1380. #define sk_X509_LOOKUP_insert(st, val, i) SKM_sk_insert(X509_LOOKUP, (st), (val), (i))
  1381. #define sk_X509_LOOKUP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_LOOKUP, (st), (cmp))
  1382. #define sk_X509_LOOKUP_dup(st) SKM_sk_dup(X509_LOOKUP, st)
  1383. #define sk_X509_LOOKUP_pop_free(st, free_func) SKM_sk_pop_free(X509_LOOKUP, (st), (free_func))
  1384. #define sk_X509_LOOKUP_shift(st) SKM_sk_shift(X509_LOOKUP, (st))
  1385. #define sk_X509_LOOKUP_pop(st) SKM_sk_pop(X509_LOOKUP, (st))
  1386. #define sk_X509_LOOKUP_sort(st) SKM_sk_sort(X509_LOOKUP, (st))
  1387. #define sk_X509_LOOKUP_is_sorted(st) SKM_sk_is_sorted(X509_LOOKUP, (st))
  1388. #define sk_X509_NAME_new(cmp) SKM_sk_new(X509_NAME, (cmp))
  1389. #define sk_X509_NAME_new_null() SKM_sk_new_null(X509_NAME)
  1390. #define sk_X509_NAME_free(st) SKM_sk_free(X509_NAME, (st))
  1391. #define sk_X509_NAME_num(st) SKM_sk_num(X509_NAME, (st))
  1392. #define sk_X509_NAME_value(st, i) SKM_sk_value(X509_NAME, (st), (i))
  1393. #define sk_X509_NAME_set(st, i, val) SKM_sk_set(X509_NAME, (st), (i), (val))
  1394. #define sk_X509_NAME_zero(st) SKM_sk_zero(X509_NAME, (st))
  1395. #define sk_X509_NAME_push(st, val) SKM_sk_push(X509_NAME, (st), (val))
  1396. #define sk_X509_NAME_unshift(st, val) SKM_sk_unshift(X509_NAME, (st), (val))
  1397. #define sk_X509_NAME_find(st, val) SKM_sk_find(X509_NAME, (st), (val))
  1398. #define sk_X509_NAME_delete(st, i) SKM_sk_delete(X509_NAME, (st), (i))
  1399. #define sk_X509_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME, (st), (ptr))
  1400. #define sk_X509_NAME_insert(st, val, i) SKM_sk_insert(X509_NAME, (st), (val), (i))
  1401. #define sk_X509_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME, (st), (cmp))
  1402. #define sk_X509_NAME_dup(st) SKM_sk_dup(X509_NAME, st)
  1403. #define sk_X509_NAME_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME, (st), (free_func))
  1404. #define sk_X509_NAME_shift(st) SKM_sk_shift(X509_NAME, (st))
  1405. #define sk_X509_NAME_pop(st) SKM_sk_pop(X509_NAME, (st))
  1406. #define sk_X509_NAME_sort(st) SKM_sk_sort(X509_NAME, (st))
  1407. #define sk_X509_NAME_is_sorted(st) SKM_sk_is_sorted(X509_NAME, (st))
  1408. #define sk_X509_NAME_ENTRY_new(cmp) SKM_sk_new(X509_NAME_ENTRY, (cmp))
  1409. #define sk_X509_NAME_ENTRY_new_null() SKM_sk_new_null(X509_NAME_ENTRY)
  1410. #define sk_X509_NAME_ENTRY_free(st) SKM_sk_free(X509_NAME_ENTRY, (st))
  1411. #define sk_X509_NAME_ENTRY_num(st) SKM_sk_num(X509_NAME_ENTRY, (st))
  1412. #define sk_X509_NAME_ENTRY_value(st, i) SKM_sk_value(X509_NAME_ENTRY, (st), (i))
  1413. #define sk_X509_NAME_ENTRY_set(st, i, val) SKM_sk_set(X509_NAME_ENTRY, (st), (i), (val))
  1414. #define sk_X509_NAME_ENTRY_zero(st) SKM_sk_zero(X509_NAME_ENTRY, (st))
  1415. #define sk_X509_NAME_ENTRY_push(st, val) SKM_sk_push(X509_NAME_ENTRY, (st), (val))
  1416. #define sk_X509_NAME_ENTRY_unshift(st, val) SKM_sk_unshift(X509_NAME_ENTRY, (st), (val))
  1417. #define sk_X509_NAME_ENTRY_find(st, val) SKM_sk_find(X509_NAME_ENTRY, (st), (val))
  1418. #define sk_X509_NAME_ENTRY_delete(st, i) SKM_sk_delete(X509_NAME_ENTRY, (st), (i))
  1419. #define sk_X509_NAME_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME_ENTRY, (st), (ptr))
  1420. #define sk_X509_NAME_ENTRY_insert(st, val, i) SKM_sk_insert(X509_NAME_ENTRY, (st), (val), (i))
  1421. #define sk_X509_NAME_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME_ENTRY, (st), (cmp))
  1422. #define sk_X509_NAME_ENTRY_dup(st) SKM_sk_dup(X509_NAME_ENTRY, st)
  1423. #define sk_X509_NAME_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME_ENTRY, (st), (free_func))
  1424. #define sk_X509_NAME_ENTRY_shift(st) SKM_sk_shift(X509_NAME_ENTRY, (st))
  1425. #define sk_X509_NAME_ENTRY_pop(st) SKM_sk_pop(X509_NAME_ENTRY, (st))
  1426. #define sk_X509_NAME_ENTRY_sort(st) SKM_sk_sort(X509_NAME_ENTRY, (st))
  1427. #define sk_X509_NAME_ENTRY_is_sorted(st) SKM_sk_is_sorted(X509_NAME_ENTRY, (st))
  1428. #define sk_X509_OBJECT_new(cmp) SKM_sk_new(X509_OBJECT, (cmp))
  1429. #define sk_X509_OBJECT_new_null() SKM_sk_new_null(X509_OBJECT)
  1430. #define sk_X509_OBJECT_free(st) SKM_sk_free(X509_OBJECT, (st))
  1431. #define sk_X509_OBJECT_num(st) SKM_sk_num(X509_OBJECT, (st))
  1432. #define sk_X509_OBJECT_value(st, i) SKM_sk_value(X509_OBJECT, (st), (i))
  1433. #define sk_X509_OBJECT_set(st, i, val) SKM_sk_set(X509_OBJECT, (st), (i), (val))
  1434. #define sk_X509_OBJECT_zero(st) SKM_sk_zero(X509_OBJECT, (st))
  1435. #define sk_X509_OBJECT_push(st, val) SKM_sk_push(X509_OBJECT, (st), (val))
  1436. #define sk_X509_OBJECT_unshift(st, val) SKM_sk_unshift(X509_OBJECT, (st), (val))
  1437. #define sk_X509_OBJECT_find(st, val) SKM_sk_find(X509_OBJECT, (st), (val))
  1438. #define sk_X509_OBJECT_delete(st, i) SKM_sk_delete(X509_OBJECT, (st), (i))
  1439. #define sk_X509_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_OBJECT, (st), (ptr))
  1440. #define sk_X509_OBJECT_insert(st, val, i) SKM_sk_insert(X509_OBJECT, (st), (val), (i))
  1441. #define sk_X509_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_OBJECT, (st), (cmp))
  1442. #define sk_X509_OBJECT_dup(st) SKM_sk_dup(X509_OBJECT, st)
  1443. #define sk_X509_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(X509_OBJECT, (st), (free_func))
  1444. #define sk_X509_OBJECT_shift(st) SKM_sk_shift(X509_OBJECT, (st))
  1445. #define sk_X509_OBJECT_pop(st) SKM_sk_pop(X509_OBJECT, (st))
  1446. #define sk_X509_OBJECT_sort(st) SKM_sk_sort(X509_OBJECT, (st))
  1447. #define sk_X509_OBJECT_is_sorted(st) SKM_sk_is_sorted(X509_OBJECT, (st))
  1448. #define sk_X509_REVOKED_new(cmp) SKM_sk_new(X509_REVOKED, (cmp))
  1449. #define sk_X509_REVOKED_new_null() SKM_sk_new_null(X509_REVOKED)
  1450. #define sk_X509_REVOKED_free(st) SKM_sk_free(X509_REVOKED, (st))
  1451. #define sk_X509_REVOKED_num(st) SKM_sk_num(X509_REVOKED, (st))
  1452. #define sk_X509_REVOKED_value(st, i) SKM_sk_value(X509_REVOKED, (st), (i))
  1453. #define sk_X509_REVOKED_set(st, i, val) SKM_sk_set(X509_REVOKED, (st), (i), (val))
  1454. #define sk_X509_REVOKED_zero(st) SKM_sk_zero(X509_REVOKED, (st))
  1455. #define sk_X509_REVOKED_push(st, val) SKM_sk_push(X509_REVOKED, (st), (val))
  1456. #define sk_X509_REVOKED_unshift(st, val) SKM_sk_unshift(X509_REVOKED, (st), (val))
  1457. #define sk_X509_REVOKED_find(st, val) SKM_sk_find(X509_REVOKED, (st), (val))
  1458. #define sk_X509_REVOKED_delete(st, i) SKM_sk_delete(X509_REVOKED, (st), (i))
  1459. #define sk_X509_REVOKED_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_REVOKED, (st), (ptr))
  1460. #define sk_X509_REVOKED_insert(st, val, i) SKM_sk_insert(X509_REVOKED, (st), (val), (i))
  1461. #define sk_X509_REVOKED_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_REVOKED, (st), (cmp))
  1462. #define sk_X509_REVOKED_dup(st) SKM_sk_dup(X509_REVOKED, st)
  1463. #define sk_X509_REVOKED_pop_free(st, free_func) SKM_sk_pop_free(X509_REVOKED, (st), (free_func))
  1464. #define sk_X509_REVOKED_shift(st) SKM_sk_shift(X509_REVOKED, (st))
  1465. #define sk_X509_REVOKED_pop(st) SKM_sk_pop(X509_REVOKED, (st))
  1466. #define sk_X509_REVOKED_sort(st) SKM_sk_sort(X509_REVOKED, (st))
  1467. #define sk_X509_REVOKED_is_sorted(st) SKM_sk_is_sorted(X509_REVOKED, (st))
  1468. #define sk_X509_VERIFY_PARAM_new(cmp) SKM_sk_new(X509_VERIFY_PARAM, (cmp))
  1469. #define sk_X509_VERIFY_PARAM_new_null() SKM_sk_new_null(X509_VERIFY_PARAM)
  1470. #define sk_X509_VERIFY_PARAM_free(st) SKM_sk_free(X509_VERIFY_PARAM, (st))
  1471. #define sk_X509_VERIFY_PARAM_num(st) SKM_sk_num(X509_VERIFY_PARAM, (st))
  1472. #define sk_X509_VERIFY_PARAM_value(st, i) SKM_sk_value(X509_VERIFY_PARAM, (st), (i))
  1473. #define sk_X509_VERIFY_PARAM_set(st, i, val) SKM_sk_set(X509_VERIFY_PARAM, (st), (i), (val))
  1474. #define sk_X509_VERIFY_PARAM_zero(st) SKM_sk_zero(X509_VERIFY_PARAM, (st))
  1475. #define sk_X509_VERIFY_PARAM_push(st, val) SKM_sk_push(X509_VERIFY_PARAM, (st), (val))
  1476. #define sk_X509_VERIFY_PARAM_unshift(st, val) SKM_sk_unshift(X509_VERIFY_PARAM, (st), (val))
  1477. #define sk_X509_VERIFY_PARAM_find(st, val) SKM_sk_find(X509_VERIFY_PARAM, (st), (val))
  1478. #define sk_X509_VERIFY_PARAM_delete(st, i) SKM_sk_delete(X509_VERIFY_PARAM, (st), (i))
  1479. #define sk_X509_VERIFY_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_VERIFY_PARAM, (st), (ptr))
  1480. #define sk_X509_VERIFY_PARAM_insert(st, val, i) SKM_sk_insert(X509_VERIFY_PARAM, (st), (val), (i))
  1481. #define sk_X509_VERIFY_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_VERIFY_PARAM, (st), (cmp))
  1482. #define sk_X509_VERIFY_PARAM_dup(st) SKM_sk_dup(X509_VERIFY_PARAM, st)
  1483. #define sk_X509_VERIFY_PARAM_pop_free(st, free_func) SKM_sk_pop_free(X509_VERIFY_PARAM, (st), (free_func))
  1484. #define sk_X509_VERIFY_PARAM_shift(st) SKM_sk_shift(X509_VERIFY_PARAM, (st))
  1485. #define sk_X509_VERIFY_PARAM_pop(st) SKM_sk_pop(X509_VERIFY_PARAM, (st))
  1486. #define sk_X509_VERIFY_PARAM_sort(st) SKM_sk_sort(X509_VERIFY_PARAM, (st))
  1487. #define sk_X509_VERIFY_PARAM_is_sorted(st) SKM_sk_is_sorted(X509_VERIFY_PARAM, (st))
  1488. #define sk_void_new(cmp) SKM_sk_new(void, (cmp))
  1489. #define sk_void_new_null() SKM_sk_new_null(void)
  1490. #define sk_void_free(st) SKM_sk_free(void, (st))
  1491. #define sk_void_num(st) SKM_sk_num(void, (st))
  1492. #define sk_void_value(st, i) SKM_sk_value(void, (st), (i))
  1493. #define sk_void_set(st, i, val) SKM_sk_set(void, (st), (i), (val))
  1494. #define sk_void_zero(st) SKM_sk_zero(void, (st))
  1495. #define sk_void_push(st, val) SKM_sk_push(void, (st), (val))
  1496. #define sk_void_unshift(st, val) SKM_sk_unshift(void, (st), (val))
  1497. #define sk_void_find(st, val) SKM_sk_find(void, (st), (val))
  1498. #define sk_void_delete(st, i) SKM_sk_delete(void, (st), (i))
  1499. #define sk_void_delete_ptr(st, ptr) SKM_sk_delete_ptr(void, (st), (ptr))
  1500. #define sk_void_insert(st, val, i) SKM_sk_insert(void, (st), (val), (i))
  1501. #define sk_void_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(void, (st), (cmp))
  1502. #define sk_void_dup(st) SKM_sk_dup(void, st)
  1503. #define sk_void_pop_free(st, free_func) SKM_sk_pop_free(void, (st), (free_func))
  1504. #define sk_void_shift(st) SKM_sk_shift(void, (st))
  1505. #define sk_void_pop(st) SKM_sk_pop(void, (st))
  1506. #define sk_void_sort(st) SKM_sk_sort(void, (st))
  1507. #define sk_void_is_sorted(st) SKM_sk_is_sorted(void, (st))
  1508. #define sk_OPENSSL_STRING_new(cmp) ((STACK_OF(OPENSSL_STRING) *)sk_new(CHECKED_SK_CMP_FUNC(char, cmp)))
  1509. #define sk_OPENSSL_STRING_new_null() ((STACK_OF(OPENSSL_STRING) *)sk_new_null())
  1510. #define sk_OPENSSL_STRING_push(st, val) sk_push(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
  1511. #define sk_OPENSSL_STRING_find(st, val) sk_find(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
  1512. #define sk_OPENSSL_STRING_value(st, i) ((OPENSSL_STRING)sk_value(CHECKED_STACK_OF(OPENSSL_STRING, st), i))
  1513. #define sk_OPENSSL_STRING_num(st) SKM_sk_num(OPENSSL_STRING, st)
  1514. #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))
  1515. #define sk_OPENSSL_STRING_insert(st, val, i) sk_insert(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val), i)
  1516. #define sk_OPENSSL_STRING_free(st) SKM_sk_free(OPENSSL_STRING, st)
  1517. #define sk_OPENSSL_STRING_set(st, i, val) sk_set(CHECKED_STACK_OF(OPENSSL_STRING, st), i, CHECKED_PTR_OF(char, val))
  1518. #define sk_OPENSSL_STRING_zero(st) SKM_sk_zero(OPENSSL_STRING, (st))
  1519. #define sk_OPENSSL_STRING_unshift(st, val) sk_unshift(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, val))
  1520. #define sk_OPENSSL_STRING_delete(st, i) SKM_sk_delete(OPENSSL_STRING, (st), (i))
  1521. #define sk_OPENSSL_STRING_delete_ptr(st, ptr) (OPENSSL_STRING *)sk_delete_ptr(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_PTR_OF(char, ptr))
  1522. #define sk_OPENSSL_STRING_set_cmp_func(st, cmp) \
  1523. ((int (*)(const char * const *,const char * const *)) \
  1524. sk_set_cmp_func(CHECKED_STACK_OF(OPENSSL_STRING, st), CHECKED_SK_CMP_FUNC(char, cmp)))
  1525. #define sk_OPENSSL_STRING_dup(st) SKM_sk_dup(OPENSSL_STRING, st)
  1526. #define sk_OPENSSL_STRING_shift(st) SKM_sk_shift(OPENSSL_STRING, (st))
  1527. #define sk_OPENSSL_STRING_pop(st) (char *)sk_pop(CHECKED_STACK_OF(OPENSSL_STRING, st))
  1528. #define sk_OPENSSL_STRING_sort(st) SKM_sk_sort(OPENSSL_STRING, (st))
  1529. #define sk_OPENSSL_STRING_is_sorted(st) SKM_sk_is_sorted(OPENSSL_STRING, (st))
  1530. #define sk_OPENSSL_PSTRING_new(cmp) ((STACK_OF(OPENSSL_PSTRING) *)sk_new(CHECKED_SK_CMP_FUNC(OPENSSL_STRING, cmp)))
  1531. #define sk_OPENSSL_PSTRING_new_null() ((STACK_OF(OPENSSL_PSTRING) *)sk_new_null())
  1532. #define sk_OPENSSL_PSTRING_push(st, val) sk_push(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
  1533. #define sk_OPENSSL_PSTRING_find(st, val) sk_find(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
  1534. #define sk_OPENSSL_PSTRING_value(st, i) ((OPENSSL_PSTRING)sk_value(CHECKED_STACK_OF(OPENSSL_PSTRING, st), i))
  1535. #define sk_OPENSSL_PSTRING_num(st) SKM_sk_num(OPENSSL_PSTRING, st)
  1536. #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))
  1537. #define sk_OPENSSL_PSTRING_insert(st, val, i) sk_insert(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val), i)
  1538. #define sk_OPENSSL_PSTRING_free(st) SKM_sk_free(OPENSSL_PSTRING, st)
  1539. #define sk_OPENSSL_PSTRING_set(st, i, val) sk_set(CHECKED_STACK_OF(OPENSSL_PSTRING, st), i, CHECKED_PTR_OF(OPENSSL_STRING, val))
  1540. #define sk_OPENSSL_PSTRING_zero(st) SKM_sk_zero(OPENSSL_PSTRING, (st))
  1541. #define sk_OPENSSL_PSTRING_unshift(st, val) sk_unshift(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_PTR_OF(OPENSSL_STRING, val))
  1542. #define sk_OPENSSL_PSTRING_delete(st, i) SKM_sk_delete(OPENSSL_PSTRING, (st), (i))
  1543. #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))
  1544. #define sk_OPENSSL_PSTRING_set_cmp_func(st, cmp) \
  1545. ((int (*)(const OPENSSL_STRING * const *,const OPENSSL_STRING * const *)) \
  1546. sk_set_cmp_func(CHECKED_STACK_OF(OPENSSL_PSTRING, st), CHECKED_SK_CMP_FUNC(OPENSSL_STRING, cmp)))
  1547. #define sk_OPENSSL_PSTRING_dup(st) SKM_sk_dup(OPENSSL_PSTRING, st)
  1548. #define sk_OPENSSL_PSTRING_shift(st) SKM_sk_shift(OPENSSL_PSTRING, (st))
  1549. #define sk_OPENSSL_PSTRING_pop(st) (OPENSSL_STRING *)sk_pop(CHECKED_STACK_OF(OPENSSL_PSTRING, st))
  1550. #define sk_OPENSSL_PSTRING_sort(st) SKM_sk_sort(OPENSSL_PSTRING, (st))
  1551. #define sk_OPENSSL_PSTRING_is_sorted(st) SKM_sk_is_sorted(OPENSSL_PSTRING, (st))
  1552. #define lh_ADDED_OBJ_new() LHM_lh_new(ADDED_OBJ,added_obj)
  1553. #define lh_ADDED_OBJ_insert(lh,inst) LHM_lh_insert(ADDED_OBJ,lh,inst)
  1554. #define lh_ADDED_OBJ_retrieve(lh,inst) LHM_lh_retrieve(ADDED_OBJ,lh,inst)
  1555. #define lh_ADDED_OBJ_delete(lh,inst) LHM_lh_delete(ADDED_OBJ,lh,inst)
  1556. #define lh_ADDED_OBJ_doall(lh,fn) LHM_lh_doall(ADDED_OBJ,lh,fn)
  1557. #define lh_ADDED_OBJ_doall_arg(lh,fn,arg_type,arg) \
  1558. LHM_lh_doall_arg(ADDED_OBJ,lh,fn,arg_type,arg)
  1559. #define lh_ADDED_OBJ_error(lh) LHM_lh_error(ADDED_OBJ,lh)
  1560. #define lh_ADDED_OBJ_num_items(lh) LHM_lh_num_items(ADDED_OBJ,lh)
  1561. #define lh_ADDED_OBJ_free(lh) LHM_lh_free(ADDED_OBJ,lh)
  1562. #define lh_CONF_VALUE_new() LHM_lh_new(CONF_VALUE,conf_value)
  1563. #define lh_CONF_VALUE_insert(lh,inst) LHM_lh_insert(CONF_VALUE,lh,inst)
  1564. #define lh_CONF_VALUE_retrieve(lh,inst) LHM_lh_retrieve(CONF_VALUE,lh,inst)
  1565. #define lh_CONF_VALUE_delete(lh,inst) LHM_lh_delete(CONF_VALUE,lh,inst)
  1566. #define lh_CONF_VALUE_doall(lh,fn) LHM_lh_doall(CONF_VALUE,lh,fn)
  1567. #define lh_CONF_VALUE_doall_arg(lh,fn,arg_type,arg) \
  1568. LHM_lh_doall_arg(CONF_VALUE,lh,fn,arg_type,arg)
  1569. #define lh_CONF_VALUE_error(lh) LHM_lh_error(CONF_VALUE,lh)
  1570. #define lh_CONF_VALUE_num_items(lh) LHM_lh_num_items(CONF_VALUE,lh)
  1571. #define lh_CONF_VALUE_free(lh) LHM_lh_free(CONF_VALUE,lh)
  1572. #define lh_ERR_STATE_new() LHM_lh_new(ERR_STATE,err_state)
  1573. #define lh_ERR_STATE_insert(lh,inst) LHM_lh_insert(ERR_STATE,lh,inst)
  1574. #define lh_ERR_STATE_retrieve(lh,inst) LHM_lh_retrieve(ERR_STATE,lh,inst)
  1575. #define lh_ERR_STATE_delete(lh,inst) LHM_lh_delete(ERR_STATE,lh,inst)
  1576. #define lh_ERR_STATE_doall(lh,fn) LHM_lh_doall(ERR_STATE,lh,fn)
  1577. #define lh_ERR_STATE_doall_arg(lh,fn,arg_type,arg) \
  1578. LHM_lh_doall_arg(ERR_STATE,lh,fn,arg_type,arg)
  1579. #define lh_ERR_STATE_error(lh) LHM_lh_error(ERR_STATE,lh)
  1580. #define lh_ERR_STATE_num_items(lh) LHM_lh_num_items(ERR_STATE,lh)
  1581. #define lh_ERR_STATE_free(lh) LHM_lh_free(ERR_STATE,lh)
  1582. #define lh_ERR_STRING_DATA_new() LHM_lh_new(ERR_STRING_DATA,err_string_data)
  1583. #define lh_ERR_STRING_DATA_insert(lh,inst) LHM_lh_insert(ERR_STRING_DATA,lh,inst)
  1584. #define lh_ERR_STRING_DATA_retrieve(lh,inst) LHM_lh_retrieve(ERR_STRING_DATA,lh,inst)
  1585. #define lh_ERR_STRING_DATA_delete(lh,inst) LHM_lh_delete(ERR_STRING_DATA,lh,inst)
  1586. #define lh_ERR_STRING_DATA_doall(lh,fn) LHM_lh_doall(ERR_STRING_DATA,lh,fn)
  1587. #define lh_ERR_STRING_DATA_doall_arg(lh,fn,arg_type,arg) \
  1588. LHM_lh_doall_arg(ERR_STRING_DATA,lh,fn,arg_type,arg)
  1589. #define lh_ERR_STRING_DATA_error(lh) LHM_lh_error(ERR_STRING_DATA,lh)
  1590. #define lh_ERR_STRING_DATA_num_items(lh) LHM_lh_num_items(ERR_STRING_DATA,lh)
  1591. #define lh_ERR_STRING_DATA_free(lh) LHM_lh_free(ERR_STRING_DATA,lh)
  1592. #define lh_EX_CLASS_ITEM_new() LHM_lh_new(EX_CLASS_ITEM,ex_class_item)
  1593. #define lh_EX_CLASS_ITEM_insert(lh,inst) LHM_lh_insert(EX_CLASS_ITEM,lh,inst)
  1594. #define lh_EX_CLASS_ITEM_retrieve(lh,inst) LHM_lh_retrieve(EX_CLASS_ITEM,lh,inst)
  1595. #define lh_EX_CLASS_ITEM_delete(lh,inst) LHM_lh_delete(EX_CLASS_ITEM,lh,inst)
  1596. #define lh_EX_CLASS_ITEM_doall(lh,fn) LHM_lh_doall(EX_CLASS_ITEM,lh,fn)
  1597. #define lh_EX_CLASS_ITEM_doall_arg(lh,fn,arg_type,arg) \
  1598. LHM_lh_doall_arg(EX_CLASS_ITEM,lh,fn,arg_type,arg)
  1599. #define lh_EX_CLASS_ITEM_error(lh) LHM_lh_error(EX_CLASS_ITEM,lh)
  1600. #define lh_EX_CLASS_ITEM_num_items(lh) LHM_lh_num_items(EX_CLASS_ITEM,lh)
  1601. #define lh_EX_CLASS_ITEM_free(lh) LHM_lh_free(EX_CLASS_ITEM,lh)
  1602. #define lh_FUNCTION_new() LHM_lh_new(FUNCTION,function)
  1603. #define lh_FUNCTION_insert(lh,inst) LHM_lh_insert(FUNCTION,lh,inst)
  1604. #define lh_FUNCTION_retrieve(lh,inst) LHM_lh_retrieve(FUNCTION,lh,inst)
  1605. #define lh_FUNCTION_delete(lh,inst) LHM_lh_delete(FUNCTION,lh,inst)
  1606. #define lh_FUNCTION_doall(lh,fn) LHM_lh_doall(FUNCTION,lh,fn)
  1607. #define lh_FUNCTION_doall_arg(lh,fn,arg_type,arg) \
  1608. LHM_lh_doall_arg(FUNCTION,lh,fn,arg_type,arg)
  1609. #define lh_FUNCTION_error(lh) LHM_lh_error(FUNCTION,lh)
  1610. #define lh_FUNCTION_num_items(lh) LHM_lh_num_items(FUNCTION,lh)
  1611. #define lh_FUNCTION_free(lh) LHM_lh_free(FUNCTION,lh)
  1612. #define lh_OBJ_NAME_new() LHM_lh_new(OBJ_NAME,obj_name)
  1613. #define lh_OBJ_NAME_insert(lh,inst) LHM_lh_insert(OBJ_NAME,lh,inst)
  1614. #define lh_OBJ_NAME_retrieve(lh,inst) LHM_lh_retrieve(OBJ_NAME,lh,inst)
  1615. #define lh_OBJ_NAME_delete(lh,inst) LHM_lh_delete(OBJ_NAME,lh,inst)
  1616. #define lh_OBJ_NAME_doall(lh,fn) LHM_lh_doall(OBJ_NAME,lh,fn)
  1617. #define lh_OBJ_NAME_doall_arg(lh,fn,arg_type,arg) \
  1618. LHM_lh_doall_arg(OBJ_NAME,lh,fn,arg_type,arg)
  1619. #define lh_OBJ_NAME_error(lh) LHM_lh_error(OBJ_NAME,lh)
  1620. #define lh_OBJ_NAME_num_items(lh) LHM_lh_num_items(OBJ_NAME,lh)
  1621. #define lh_OBJ_NAME_free(lh) LHM_lh_free(OBJ_NAME,lh)
  1622. #define lh_OPENSSL_STRING_new() LHM_lh_new(OPENSSL_STRING,openssl_string)
  1623. #define lh_OPENSSL_STRING_insert(lh,inst) LHM_lh_insert(OPENSSL_STRING,lh,inst)
  1624. #define lh_OPENSSL_STRING_retrieve(lh,inst) LHM_lh_retrieve(OPENSSL_STRING,lh,inst)
  1625. #define lh_OPENSSL_STRING_delete(lh,inst) LHM_lh_delete(OPENSSL_STRING,lh,inst)
  1626. #define lh_OPENSSL_STRING_doall(lh,fn) LHM_lh_doall(OPENSSL_STRING,lh,fn)
  1627. #define lh_OPENSSL_STRING_doall_arg(lh,fn,arg_type,arg) \
  1628. LHM_lh_doall_arg(OPENSSL_STRING,lh,fn,arg_type,arg)
  1629. #define lh_OPENSSL_STRING_error(lh) LHM_lh_error(OPENSSL_STRING,lh)
  1630. #define lh_OPENSSL_STRING_num_items(lh) LHM_lh_num_items(OPENSSL_STRING,lh)
  1631. #define lh_OPENSSL_STRING_free(lh) LHM_lh_free(OPENSSL_STRING,lh)
  1632. #define lh_SSL_SESSION_new() LHM_lh_new(SSL_SESSION,ssl_session)
  1633. #define lh_SSL_SESSION_insert(lh,inst) LHM_lh_insert(SSL_SESSION,lh,inst)
  1634. #define lh_SSL_SESSION_retrieve(lh,inst) LHM_lh_retrieve(SSL_SESSION,lh,inst)
  1635. #define lh_SSL_SESSION_delete(lh,inst) LHM_lh_delete(SSL_SESSION,lh,inst)
  1636. #define lh_SSL_SESSION_doall(lh,fn) LHM_lh_doall(SSL_SESSION,lh,fn)
  1637. #define lh_SSL_SESSION_doall_arg(lh,fn,arg_type,arg) \
  1638. LHM_lh_doall_arg(SSL_SESSION,lh,fn,arg_type,arg)
  1639. #define lh_SSL_SESSION_error(lh) LHM_lh_error(SSL_SESSION,lh)
  1640. #define lh_SSL_SESSION_num_items(lh) LHM_lh_num_items(SSL_SESSION,lh)
  1641. #define lh_SSL_SESSION_free(lh) LHM_lh_free(SSL_SESSION,lh)
  1642. #endif /* !defined HEADER_SAFESTACK_H */