safestack.h 137 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992
  1. /* ====================================================================
  2. * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * 1. Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. *
  11. * 2. Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in
  13. * the documentation and/or other materials provided with the
  14. * distribution.
  15. *
  16. * 3. All advertising materials mentioning features or use of this
  17. * software must display the following acknowledgment:
  18. * "This product includes software developed by the OpenSSL Project
  19. * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  20. *
  21. * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  22. * endorse or promote products derived from this software without
  23. * prior written permission. For written permission, please contact
  24. * openssl-core@openssl.org.
  25. *
  26. * 5. Products derived from this software may not be called "OpenSSL"
  27. * nor may "OpenSSL" appear in their names without prior written
  28. * permission of the OpenSSL Project.
  29. *
  30. * 6. Redistributions of any form whatsoever must retain the following
  31. * acknowledgment:
  32. * "This product includes software developed by the OpenSSL Project
  33. * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  34. *
  35. * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  36. * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  37. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  38. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  39. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  40. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  41. * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  42. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  43. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  44. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  45. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  46. * OF THE POSSIBILITY OF SUCH DAMAGE.
  47. * ====================================================================
  48. *
  49. * This product includes cryptographic software written by Eric Young
  50. * (eay@cryptsoft.com). This product includes software written by Tim
  51. * Hudson (tjh@cryptsoft.com).
  52. *
  53. */
  54. #ifndef HEADER_SAFESTACK_H
  55. # define HEADER_SAFESTACK_H
  56. # include <openssl/stack.h>
  57. # ifdef DEBUG_SAFESTACK
  58. # ifndef CHECKED_PTR_OF
  59. # define CHECKED_PTR_OF(type, p) \
  60. ((void*) (1 ? p : (type*)0))
  61. # endif
  62. # define CHECKED_SK_FREE_FUNC(type, p) \
  63. ((void (*)(void *)) ((1 ? p : (void (*)(type *))0)))
  64. # define CHECKED_SK_CMP_FUNC(type, p) \
  65. ((int (*)(const char * const *, const char * const *)) \
  66. ((1 ? p : (int (*)(const type * const *, const type * const *))0)))
  67. # define STACK_OF(type) struct stack_st_##type
  68. # define PREDECLARE_STACK_OF(type) STACK_OF(type);
  69. # define DECLARE_STACK_OF(type) \
  70. STACK_OF(type) \
  71. { \
  72. STACK stack; \
  73. };
  74. /* nada (obsolete in new safestack approach)*/
  75. # define IMPLEMENT_STACK_OF(type)
  76. /*
  77. * SKM_sk_... stack macros are internal to safestack.h: never use them
  78. * directly, use sk_<type>_... instead
  79. */
  80. # define SKM_sk_new(type, cmp) \
  81. ((STACK_OF(type) *)sk_new(CHECKED_SK_CMP_FUNC(type, cmp)))
  82. # define SKM_sk_new_null(type) \
  83. ((STACK_OF(type) *)sk_new_null())
  84. # define SKM_sk_free(type, st) \
  85. sk_free(CHECKED_PTR_OF(STACK_OF(type), st))
  86. # define SKM_sk_num(type, st) \
  87. sk_num(CHECKED_PTR_OF(STACK_OF(type), st))
  88. # define SKM_sk_value(type, st,i) \
  89. ((type *)sk_value(CHECKED_PTR_OF(STACK_OF(type), st), i))
  90. # define SKM_sk_set(type, st,i,val) \
  91. sk_set(CHECKED_PTR_OF(STACK_OF(type), st), i, CHECKED_PTR_OF(type, val))
  92. # define SKM_sk_zero(type, st) \
  93. sk_zero(CHECKED_PTR_OF(STACK_OF(type), st))
  94. # define SKM_sk_push(type, st,val) \
  95. sk_push(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_PTR_OF(type, val))
  96. # define SKM_sk_unshift(type, st,val) \
  97. sk_unshift(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_PTR_OF(type, val))
  98. # define SKM_sk_find(type, st,val) \
  99. sk_find(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_PTR_OF(type, val))
  100. # define SKM_sk_delete(type, st,i) \
  101. (type *)sk_delete(CHECKED_PTR_OF(STACK_OF(type), st), i)
  102. # define SKM_sk_delete_ptr(type, st,ptr) \
  103. (type *)sk_delete_ptr(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_PTR_OF(type, ptr))
  104. # define SKM_sk_insert(type, st,val,i) \
  105. sk_insert(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_PTR_OF(type, val), i)
  106. # define SKM_sk_set_cmp_func(type, st,cmp) \
  107. ((int (*)(const type * const *,const type * const *)) \
  108. sk_set_cmp_func(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_SK_CMP_FUNC(type, cmp)))
  109. # define SKM_sk_dup(type, st) \
  110. (STACK_OF(type) *)sk_dup(CHECKED_PTR_OF(STACK_OF(type), st))
  111. # define SKM_sk_pop_free(type, st,free_func) \
  112. sk_pop_free(CHECKED_PTR_OF(STACK_OF(type), st), CHECKED_SK_FREE_FUNC(type, free_func))
  113. # define SKM_sk_shift(type, st) \
  114. (type *)sk_shift(CHECKED_PTR_OF(STACK_OF(type), st))
  115. # define SKM_sk_pop(type, st) \
  116. (type *)sk_pop(CHECKED_PTR_OF(STACK_OF(type), st))
  117. # define SKM_sk_sort(type, st) \
  118. sk_sort(CHECKED_PTR_OF(STACK_OF(type), st))
  119. # define SKM_sk_is_sorted(type, st) \
  120. sk_is_sorted(CHECKED_PTR_OF(STACK_OF(type), st))
  121. # define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  122. (STACK_OF(type) *)d2i_ASN1_SET(CHECKED_PTR_OF(STACK_OF(type)*, st), \
  123. pp, length, \
  124. CHECKED_D2I_OF(type, d2i_func), \
  125. CHECKED_SK_FREE_FUNC(type, free_func), \
  126. ex_tag, ex_class)
  127. # define SKM_ASN1_SET_OF_i2d(type, st, pp, i2d_func, ex_tag, ex_class, is_set) \
  128. i2d_ASN1_SET(CHECKED_PTR_OF(STACK_OF(type), st), pp, \
  129. CHECKED_I2D_OF(type, i2d_func), \
  130. ex_tag, ex_class, is_set)
  131. # define SKM_ASN1_seq_pack(type, st, i2d_func, buf, len) \
  132. ASN1_seq_pack(CHECKED_PTR_OF(STACK_OF(type), st), \
  133. CHECKED_I2D_OF(type, i2d_func), buf, len)
  134. # define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \
  135. (STACK_OF(type) *)ASN1_seq_unpack(buf, len, CHECKED_D2I_OF(type, d2i_func), CHECKED_SK_FREE_FUNC(type, free_func))
  136. # define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \
  137. (STACK_OF(type) *)PKCS12_decrypt_d2i(algor, \
  138. CHECKED_D2I_OF(type, d2i_func), \
  139. CHECKED_SK_FREE_FUNC(type, free_func), \
  140. pass, passlen, oct, seq)
  141. # else
  142. # define STACK_OF(type) STACK
  143. # define PREDECLARE_STACK_OF(type)
  144. /* nada */
  145. # define DECLARE_STACK_OF(type)/* nada */
  146. # define IMPLEMENT_STACK_OF(type)
  147. /* nada */
  148. # define SKM_sk_new(type, cmp) \
  149. sk_new((int (*)(const char * const *, const char * const *))(cmp))
  150. # define SKM_sk_new_null(type) \
  151. sk_new_null()
  152. # define SKM_sk_free(type, st) \
  153. sk_free(st)
  154. # define SKM_sk_num(type, st) \
  155. sk_num(st)
  156. # define SKM_sk_value(type, st,i) \
  157. ((type *)sk_value(st, i))
  158. # define SKM_sk_set(type, st,i,val) \
  159. ((type *)sk_set(st, i,(char *)val))
  160. # define SKM_sk_zero(type, st) \
  161. sk_zero(st)
  162. # define SKM_sk_push(type, st,val) \
  163. sk_push(st, (char *)val)
  164. # define SKM_sk_unshift(type, st,val) \
  165. sk_unshift(st, (char *)val)
  166. # define SKM_sk_find(type, st,val) \
  167. sk_find(st, (char *)val)
  168. # define SKM_sk_delete(type, st,i) \
  169. ((type *)sk_delete(st, i))
  170. # define SKM_sk_delete_ptr(type, st,ptr) \
  171. ((type *)sk_delete_ptr(st,(char *)ptr))
  172. # define SKM_sk_insert(type, st,val,i) \
  173. sk_insert(st, (char *)val, i)
  174. # define SKM_sk_set_cmp_func(type, st,cmp) \
  175. ((int (*)(const type * const *,const type * const *)) \
  176. sk_set_cmp_func(st, (int (*)(const char * const *, const char * const *))(cmp)))
  177. # define SKM_sk_dup(type, st) \
  178. sk_dup(st)
  179. # define SKM_sk_pop_free(type, st,free_func) \
  180. sk_pop_free(st, (void (*)(void *))free_func)
  181. # define SKM_sk_shift(type, st) \
  182. ((type *)sk_shift(st))
  183. # define SKM_sk_pop(type, st) \
  184. ((type *)sk_pop(st))
  185. # define SKM_sk_sort(type, st) \
  186. sk_sort(st)
  187. # define SKM_sk_is_sorted(type, st) \
  188. sk_is_sorted(st)
  189. # define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  190. d2i_ASN1_SET(st,pp,length, (void *(*)(void ** ,const unsigned char ** ,long))d2i_func, (void (*)(void *))free_func, ex_tag,ex_class)
  191. # define SKM_ASN1_SET_OF_i2d(type, st, pp, i2d_func, ex_tag, ex_class, is_set) \
  192. i2d_ASN1_SET(st,pp,(int (*)(void *, unsigned char **))i2d_func,ex_tag,ex_class,is_set)
  193. # define SKM_ASN1_seq_pack(type, st, i2d_func, buf, len) \
  194. ASN1_seq_pack(st, (int (*)(void *, unsigned char **))i2d_func, buf, len)
  195. # define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \
  196. ASN1_seq_unpack(buf,len,(void *(*)(void **,const unsigned char **,long))d2i_func, (void(*)(void *))free_func)
  197. # define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \
  198. ((STACK *)PKCS12_decrypt_d2i(algor,(char *(*)())d2i_func, (void(*)(void *))free_func,pass,passlen,oct,seq))
  199. # endif
  200. /*
  201. * This block of defines is updated by util/mkstack.pl, please do not touch!
  202. */
  203. # define sk_ACCESS_DESCRIPTION_new(st) SKM_sk_new(ACCESS_DESCRIPTION, (st))
  204. # define sk_ACCESS_DESCRIPTION_new_null() SKM_sk_new_null(ACCESS_DESCRIPTION)
  205. # define sk_ACCESS_DESCRIPTION_free(st) SKM_sk_free(ACCESS_DESCRIPTION, (st))
  206. # define sk_ACCESS_DESCRIPTION_num(st) SKM_sk_num(ACCESS_DESCRIPTION, (st))
  207. # define sk_ACCESS_DESCRIPTION_value(st, i) SKM_sk_value(ACCESS_DESCRIPTION, (st), (i))
  208. # define sk_ACCESS_DESCRIPTION_set(st, i, val) SKM_sk_set(ACCESS_DESCRIPTION, (st), (i), (val))
  209. # define sk_ACCESS_DESCRIPTION_zero(st) SKM_sk_zero(ACCESS_DESCRIPTION, (st))
  210. # define sk_ACCESS_DESCRIPTION_push(st, val) SKM_sk_push(ACCESS_DESCRIPTION, (st), (val))
  211. # define sk_ACCESS_DESCRIPTION_unshift(st, val) SKM_sk_unshift(ACCESS_DESCRIPTION, (st), (val))
  212. # define sk_ACCESS_DESCRIPTION_find(st, val) SKM_sk_find(ACCESS_DESCRIPTION, (st), (val))
  213. # define sk_ACCESS_DESCRIPTION_find_ex(st, val) SKM_sk_find_ex(ACCESS_DESCRIPTION, (st), (val))
  214. # define sk_ACCESS_DESCRIPTION_delete(st, i) SKM_sk_delete(ACCESS_DESCRIPTION, (st), (i))
  215. # define sk_ACCESS_DESCRIPTION_delete_ptr(st, ptr) SKM_sk_delete_ptr(ACCESS_DESCRIPTION, (st), (ptr))
  216. # define sk_ACCESS_DESCRIPTION_insert(st, val, i) SKM_sk_insert(ACCESS_DESCRIPTION, (st), (val), (i))
  217. # define sk_ACCESS_DESCRIPTION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ACCESS_DESCRIPTION, (st), (cmp))
  218. # define sk_ACCESS_DESCRIPTION_dup(st) SKM_sk_dup(ACCESS_DESCRIPTION, st)
  219. # define sk_ACCESS_DESCRIPTION_pop_free(st, free_func) SKM_sk_pop_free(ACCESS_DESCRIPTION, (st), (free_func))
  220. # define sk_ACCESS_DESCRIPTION_shift(st) SKM_sk_shift(ACCESS_DESCRIPTION, (st))
  221. # define sk_ACCESS_DESCRIPTION_pop(st) SKM_sk_pop(ACCESS_DESCRIPTION, (st))
  222. # define sk_ACCESS_DESCRIPTION_sort(st) SKM_sk_sort(ACCESS_DESCRIPTION, (st))
  223. # define sk_ACCESS_DESCRIPTION_is_sorted(st) SKM_sk_is_sorted(ACCESS_DESCRIPTION, (st))
  224. # define sk_ASIdOrRange_new(st) SKM_sk_new(ASIdOrRange, (st))
  225. # define sk_ASIdOrRange_new_null() SKM_sk_new_null(ASIdOrRange)
  226. # define sk_ASIdOrRange_free(st) SKM_sk_free(ASIdOrRange, (st))
  227. # define sk_ASIdOrRange_num(st) SKM_sk_num(ASIdOrRange, (st))
  228. # define sk_ASIdOrRange_value(st, i) SKM_sk_value(ASIdOrRange, (st), (i))
  229. # define sk_ASIdOrRange_set(st, i, val) SKM_sk_set(ASIdOrRange, (st), (i), (val))
  230. # define sk_ASIdOrRange_zero(st) SKM_sk_zero(ASIdOrRange, (st))
  231. # define sk_ASIdOrRange_push(st, val) SKM_sk_push(ASIdOrRange, (st), (val))
  232. # define sk_ASIdOrRange_unshift(st, val) SKM_sk_unshift(ASIdOrRange, (st), (val))
  233. # define sk_ASIdOrRange_find(st, val) SKM_sk_find(ASIdOrRange, (st), (val))
  234. # define sk_ASIdOrRange_find_ex(st, val) SKM_sk_find_ex(ASIdOrRange, (st), (val))
  235. # define sk_ASIdOrRange_delete(st, i) SKM_sk_delete(ASIdOrRange, (st), (i))
  236. # define sk_ASIdOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASIdOrRange, (st), (ptr))
  237. # define sk_ASIdOrRange_insert(st, val, i) SKM_sk_insert(ASIdOrRange, (st), (val), (i))
  238. # define sk_ASIdOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASIdOrRange, (st), (cmp))
  239. # define sk_ASIdOrRange_dup(st) SKM_sk_dup(ASIdOrRange, st)
  240. # define sk_ASIdOrRange_pop_free(st, free_func) SKM_sk_pop_free(ASIdOrRange, (st), (free_func))
  241. # define sk_ASIdOrRange_shift(st) SKM_sk_shift(ASIdOrRange, (st))
  242. # define sk_ASIdOrRange_pop(st) SKM_sk_pop(ASIdOrRange, (st))
  243. # define sk_ASIdOrRange_sort(st) SKM_sk_sort(ASIdOrRange, (st))
  244. # define sk_ASIdOrRange_is_sorted(st) SKM_sk_is_sorted(ASIdOrRange, (st))
  245. # define sk_ASN1_GENERALSTRING_new(st) SKM_sk_new(ASN1_GENERALSTRING, (st))
  246. # define sk_ASN1_GENERALSTRING_new_null() SKM_sk_new_null(ASN1_GENERALSTRING)
  247. # define sk_ASN1_GENERALSTRING_free(st) SKM_sk_free(ASN1_GENERALSTRING, (st))
  248. # define sk_ASN1_GENERALSTRING_num(st) SKM_sk_num(ASN1_GENERALSTRING, (st))
  249. # define sk_ASN1_GENERALSTRING_value(st, i) SKM_sk_value(ASN1_GENERALSTRING, (st), (i))
  250. # define sk_ASN1_GENERALSTRING_set(st, i, val) SKM_sk_set(ASN1_GENERALSTRING, (st), (i), (val))
  251. # define sk_ASN1_GENERALSTRING_zero(st) SKM_sk_zero(ASN1_GENERALSTRING, (st))
  252. # define sk_ASN1_GENERALSTRING_push(st, val) SKM_sk_push(ASN1_GENERALSTRING, (st), (val))
  253. # define sk_ASN1_GENERALSTRING_unshift(st, val) SKM_sk_unshift(ASN1_GENERALSTRING, (st), (val))
  254. # define sk_ASN1_GENERALSTRING_find(st, val) SKM_sk_find(ASN1_GENERALSTRING, (st), (val))
  255. # define sk_ASN1_GENERALSTRING_find_ex(st, val) SKM_sk_find_ex(ASN1_GENERALSTRING, (st), (val))
  256. # define sk_ASN1_GENERALSTRING_delete(st, i) SKM_sk_delete(ASN1_GENERALSTRING, (st), (i))
  257. # define sk_ASN1_GENERALSTRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_GENERALSTRING, (st), (ptr))
  258. # define sk_ASN1_GENERALSTRING_insert(st, val, i) SKM_sk_insert(ASN1_GENERALSTRING, (st), (val), (i))
  259. # define sk_ASN1_GENERALSTRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_GENERALSTRING, (st), (cmp))
  260. # define sk_ASN1_GENERALSTRING_dup(st) SKM_sk_dup(ASN1_GENERALSTRING, st)
  261. # define sk_ASN1_GENERALSTRING_pop_free(st, free_func) SKM_sk_pop_free(ASN1_GENERALSTRING, (st), (free_func))
  262. # define sk_ASN1_GENERALSTRING_shift(st) SKM_sk_shift(ASN1_GENERALSTRING, (st))
  263. # define sk_ASN1_GENERALSTRING_pop(st) SKM_sk_pop(ASN1_GENERALSTRING, (st))
  264. # define sk_ASN1_GENERALSTRING_sort(st) SKM_sk_sort(ASN1_GENERALSTRING, (st))
  265. # define sk_ASN1_GENERALSTRING_is_sorted(st) SKM_sk_is_sorted(ASN1_GENERALSTRING, (st))
  266. # define sk_ASN1_INTEGER_new(st) SKM_sk_new(ASN1_INTEGER, (st))
  267. # define sk_ASN1_INTEGER_new_null() SKM_sk_new_null(ASN1_INTEGER)
  268. # define sk_ASN1_INTEGER_free(st) SKM_sk_free(ASN1_INTEGER, (st))
  269. # define sk_ASN1_INTEGER_num(st) SKM_sk_num(ASN1_INTEGER, (st))
  270. # define sk_ASN1_INTEGER_value(st, i) SKM_sk_value(ASN1_INTEGER, (st), (i))
  271. # define sk_ASN1_INTEGER_set(st, i, val) SKM_sk_set(ASN1_INTEGER, (st), (i), (val))
  272. # define sk_ASN1_INTEGER_zero(st) SKM_sk_zero(ASN1_INTEGER, (st))
  273. # define sk_ASN1_INTEGER_push(st, val) SKM_sk_push(ASN1_INTEGER, (st), (val))
  274. # define sk_ASN1_INTEGER_unshift(st, val) SKM_sk_unshift(ASN1_INTEGER, (st), (val))
  275. # define sk_ASN1_INTEGER_find(st, val) SKM_sk_find(ASN1_INTEGER, (st), (val))
  276. # define sk_ASN1_INTEGER_find_ex(st, val) SKM_sk_find_ex(ASN1_INTEGER, (st), (val))
  277. # define sk_ASN1_INTEGER_delete(st, i) SKM_sk_delete(ASN1_INTEGER, (st), (i))
  278. # define sk_ASN1_INTEGER_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_INTEGER, (st), (ptr))
  279. # define sk_ASN1_INTEGER_insert(st, val, i) SKM_sk_insert(ASN1_INTEGER, (st), (val), (i))
  280. # define sk_ASN1_INTEGER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_INTEGER, (st), (cmp))
  281. # define sk_ASN1_INTEGER_dup(st) SKM_sk_dup(ASN1_INTEGER, st)
  282. # define sk_ASN1_INTEGER_pop_free(st, free_func) SKM_sk_pop_free(ASN1_INTEGER, (st), (free_func))
  283. # define sk_ASN1_INTEGER_shift(st) SKM_sk_shift(ASN1_INTEGER, (st))
  284. # define sk_ASN1_INTEGER_pop(st) SKM_sk_pop(ASN1_INTEGER, (st))
  285. # define sk_ASN1_INTEGER_sort(st) SKM_sk_sort(ASN1_INTEGER, (st))
  286. # define sk_ASN1_INTEGER_is_sorted(st) SKM_sk_is_sorted(ASN1_INTEGER, (st))
  287. # define sk_ASN1_OBJECT_new(st) SKM_sk_new(ASN1_OBJECT, (st))
  288. # define sk_ASN1_OBJECT_new_null() SKM_sk_new_null(ASN1_OBJECT)
  289. # define sk_ASN1_OBJECT_free(st) SKM_sk_free(ASN1_OBJECT, (st))
  290. # define sk_ASN1_OBJECT_num(st) SKM_sk_num(ASN1_OBJECT, (st))
  291. # define sk_ASN1_OBJECT_value(st, i) SKM_sk_value(ASN1_OBJECT, (st), (i))
  292. # define sk_ASN1_OBJECT_set(st, i, val) SKM_sk_set(ASN1_OBJECT, (st), (i), (val))
  293. # define sk_ASN1_OBJECT_zero(st) SKM_sk_zero(ASN1_OBJECT, (st))
  294. # define sk_ASN1_OBJECT_push(st, val) SKM_sk_push(ASN1_OBJECT, (st), (val))
  295. # define sk_ASN1_OBJECT_unshift(st, val) SKM_sk_unshift(ASN1_OBJECT, (st), (val))
  296. # define sk_ASN1_OBJECT_find(st, val) SKM_sk_find(ASN1_OBJECT, (st), (val))
  297. # define sk_ASN1_OBJECT_find_ex(st, val) SKM_sk_find_ex(ASN1_OBJECT, (st), (val))
  298. # define sk_ASN1_OBJECT_delete(st, i) SKM_sk_delete(ASN1_OBJECT, (st), (i))
  299. # define sk_ASN1_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_OBJECT, (st), (ptr))
  300. # define sk_ASN1_OBJECT_insert(st, val, i) SKM_sk_insert(ASN1_OBJECT, (st), (val), (i))
  301. # define sk_ASN1_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_OBJECT, (st), (cmp))
  302. # define sk_ASN1_OBJECT_dup(st) SKM_sk_dup(ASN1_OBJECT, st)
  303. # define sk_ASN1_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(ASN1_OBJECT, (st), (free_func))
  304. # define sk_ASN1_OBJECT_shift(st) SKM_sk_shift(ASN1_OBJECT, (st))
  305. # define sk_ASN1_OBJECT_pop(st) SKM_sk_pop(ASN1_OBJECT, (st))
  306. # define sk_ASN1_OBJECT_sort(st) SKM_sk_sort(ASN1_OBJECT, (st))
  307. # define sk_ASN1_OBJECT_is_sorted(st) SKM_sk_is_sorted(ASN1_OBJECT, (st))
  308. # define sk_ASN1_STRING_TABLE_new(st) SKM_sk_new(ASN1_STRING_TABLE, (st))
  309. # define sk_ASN1_STRING_TABLE_new_null() SKM_sk_new_null(ASN1_STRING_TABLE)
  310. # define sk_ASN1_STRING_TABLE_free(st) SKM_sk_free(ASN1_STRING_TABLE, (st))
  311. # define sk_ASN1_STRING_TABLE_num(st) SKM_sk_num(ASN1_STRING_TABLE, (st))
  312. # define sk_ASN1_STRING_TABLE_value(st, i) SKM_sk_value(ASN1_STRING_TABLE, (st), (i))
  313. # define sk_ASN1_STRING_TABLE_set(st, i, val) SKM_sk_set(ASN1_STRING_TABLE, (st), (i), (val))
  314. # define sk_ASN1_STRING_TABLE_zero(st) SKM_sk_zero(ASN1_STRING_TABLE, (st))
  315. # define sk_ASN1_STRING_TABLE_push(st, val) SKM_sk_push(ASN1_STRING_TABLE, (st), (val))
  316. # define sk_ASN1_STRING_TABLE_unshift(st, val) SKM_sk_unshift(ASN1_STRING_TABLE, (st), (val))
  317. # define sk_ASN1_STRING_TABLE_find(st, val) SKM_sk_find(ASN1_STRING_TABLE, (st), (val))
  318. # define sk_ASN1_STRING_TABLE_find_ex(st, val) SKM_sk_find_ex(ASN1_STRING_TABLE, (st), (val))
  319. # define sk_ASN1_STRING_TABLE_delete(st, i) SKM_sk_delete(ASN1_STRING_TABLE, (st), (i))
  320. # define sk_ASN1_STRING_TABLE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_STRING_TABLE, (st), (ptr))
  321. # define sk_ASN1_STRING_TABLE_insert(st, val, i) SKM_sk_insert(ASN1_STRING_TABLE, (st), (val), (i))
  322. # define sk_ASN1_STRING_TABLE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_STRING_TABLE, (st), (cmp))
  323. # define sk_ASN1_STRING_TABLE_dup(st) SKM_sk_dup(ASN1_STRING_TABLE, st)
  324. # define sk_ASN1_STRING_TABLE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_STRING_TABLE, (st), (free_func))
  325. # define sk_ASN1_STRING_TABLE_shift(st) SKM_sk_shift(ASN1_STRING_TABLE, (st))
  326. # define sk_ASN1_STRING_TABLE_pop(st) SKM_sk_pop(ASN1_STRING_TABLE, (st))
  327. # define sk_ASN1_STRING_TABLE_sort(st) SKM_sk_sort(ASN1_STRING_TABLE, (st))
  328. # define sk_ASN1_STRING_TABLE_is_sorted(st) SKM_sk_is_sorted(ASN1_STRING_TABLE, (st))
  329. # define sk_ASN1_TYPE_new(st) SKM_sk_new(ASN1_TYPE, (st))
  330. # define sk_ASN1_TYPE_new_null() SKM_sk_new_null(ASN1_TYPE)
  331. # define sk_ASN1_TYPE_free(st) SKM_sk_free(ASN1_TYPE, (st))
  332. # define sk_ASN1_TYPE_num(st) SKM_sk_num(ASN1_TYPE, (st))
  333. # define sk_ASN1_TYPE_value(st, i) SKM_sk_value(ASN1_TYPE, (st), (i))
  334. # define sk_ASN1_TYPE_set(st, i, val) SKM_sk_set(ASN1_TYPE, (st), (i), (val))
  335. # define sk_ASN1_TYPE_zero(st) SKM_sk_zero(ASN1_TYPE, (st))
  336. # define sk_ASN1_TYPE_push(st, val) SKM_sk_push(ASN1_TYPE, (st), (val))
  337. # define sk_ASN1_TYPE_unshift(st, val) SKM_sk_unshift(ASN1_TYPE, (st), (val))
  338. # define sk_ASN1_TYPE_find(st, val) SKM_sk_find(ASN1_TYPE, (st), (val))
  339. # define sk_ASN1_TYPE_find_ex(st, val) SKM_sk_find_ex(ASN1_TYPE, (st), (val))
  340. # define sk_ASN1_TYPE_delete(st, i) SKM_sk_delete(ASN1_TYPE, (st), (i))
  341. # define sk_ASN1_TYPE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_TYPE, (st), (ptr))
  342. # define sk_ASN1_TYPE_insert(st, val, i) SKM_sk_insert(ASN1_TYPE, (st), (val), (i))
  343. # define sk_ASN1_TYPE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_TYPE, (st), (cmp))
  344. # define sk_ASN1_TYPE_dup(st) SKM_sk_dup(ASN1_TYPE, st)
  345. # define sk_ASN1_TYPE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_TYPE, (st), (free_func))
  346. # define sk_ASN1_TYPE_shift(st) SKM_sk_shift(ASN1_TYPE, (st))
  347. # define sk_ASN1_TYPE_pop(st) SKM_sk_pop(ASN1_TYPE, (st))
  348. # define sk_ASN1_TYPE_sort(st) SKM_sk_sort(ASN1_TYPE, (st))
  349. # define sk_ASN1_TYPE_is_sorted(st) SKM_sk_is_sorted(ASN1_TYPE, (st))
  350. # define sk_ASN1_VALUE_new(st) SKM_sk_new(ASN1_VALUE, (st))
  351. # define sk_ASN1_VALUE_new_null() SKM_sk_new_null(ASN1_VALUE)
  352. # define sk_ASN1_VALUE_free(st) SKM_sk_free(ASN1_VALUE, (st))
  353. # define sk_ASN1_VALUE_num(st) SKM_sk_num(ASN1_VALUE, (st))
  354. # define sk_ASN1_VALUE_value(st, i) SKM_sk_value(ASN1_VALUE, (st), (i))
  355. # define sk_ASN1_VALUE_set(st, i, val) SKM_sk_set(ASN1_VALUE, (st), (i), (val))
  356. # define sk_ASN1_VALUE_zero(st) SKM_sk_zero(ASN1_VALUE, (st))
  357. # define sk_ASN1_VALUE_push(st, val) SKM_sk_push(ASN1_VALUE, (st), (val))
  358. # define sk_ASN1_VALUE_unshift(st, val) SKM_sk_unshift(ASN1_VALUE, (st), (val))
  359. # define sk_ASN1_VALUE_find(st, val) SKM_sk_find(ASN1_VALUE, (st), (val))
  360. # define sk_ASN1_VALUE_find_ex(st, val) SKM_sk_find_ex(ASN1_VALUE, (st), (val))
  361. # define sk_ASN1_VALUE_delete(st, i) SKM_sk_delete(ASN1_VALUE, (st), (i))
  362. # define sk_ASN1_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ASN1_VALUE, (st), (ptr))
  363. # define sk_ASN1_VALUE_insert(st, val, i) SKM_sk_insert(ASN1_VALUE, (st), (val), (i))
  364. # define sk_ASN1_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ASN1_VALUE, (st), (cmp))
  365. # define sk_ASN1_VALUE_dup(st) SKM_sk_dup(ASN1_VALUE, st)
  366. # define sk_ASN1_VALUE_pop_free(st, free_func) SKM_sk_pop_free(ASN1_VALUE, (st), (free_func))
  367. # define sk_ASN1_VALUE_shift(st) SKM_sk_shift(ASN1_VALUE, (st))
  368. # define sk_ASN1_VALUE_pop(st) SKM_sk_pop(ASN1_VALUE, (st))
  369. # define sk_ASN1_VALUE_sort(st) SKM_sk_sort(ASN1_VALUE, (st))
  370. # define sk_ASN1_VALUE_is_sorted(st) SKM_sk_is_sorted(ASN1_VALUE, (st))
  371. # define sk_BIO_new(st) SKM_sk_new(BIO, (st))
  372. # define sk_BIO_new_null() SKM_sk_new_null(BIO)
  373. # define sk_BIO_free(st) SKM_sk_free(BIO, (st))
  374. # define sk_BIO_num(st) SKM_sk_num(BIO, (st))
  375. # define sk_BIO_value(st, i) SKM_sk_value(BIO, (st), (i))
  376. # define sk_BIO_set(st, i, val) SKM_sk_set(BIO, (st), (i), (val))
  377. # define sk_BIO_zero(st) SKM_sk_zero(BIO, (st))
  378. # define sk_BIO_push(st, val) SKM_sk_push(BIO, (st), (val))
  379. # define sk_BIO_unshift(st, val) SKM_sk_unshift(BIO, (st), (val))
  380. # define sk_BIO_find(st, val) SKM_sk_find(BIO, (st), (val))
  381. # define sk_BIO_find_ex(st, val) SKM_sk_find_ex(BIO, (st), (val))
  382. # define sk_BIO_delete(st, i) SKM_sk_delete(BIO, (st), (i))
  383. # define sk_BIO_delete_ptr(st, ptr) SKM_sk_delete_ptr(BIO, (st), (ptr))
  384. # define sk_BIO_insert(st, val, i) SKM_sk_insert(BIO, (st), (val), (i))
  385. # define sk_BIO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(BIO, (st), (cmp))
  386. # define sk_BIO_dup(st) SKM_sk_dup(BIO, st)
  387. # define sk_BIO_pop_free(st, free_func) SKM_sk_pop_free(BIO, (st), (free_func))
  388. # define sk_BIO_shift(st) SKM_sk_shift(BIO, (st))
  389. # define sk_BIO_pop(st) SKM_sk_pop(BIO, (st))
  390. # define sk_BIO_sort(st) SKM_sk_sort(BIO, (st))
  391. # define sk_BIO_is_sorted(st) SKM_sk_is_sorted(BIO, (st))
  392. # define sk_CMS_CertificateChoices_new(st) SKM_sk_new(CMS_CertificateChoices, (st))
  393. # define sk_CMS_CertificateChoices_new_null() SKM_sk_new_null(CMS_CertificateChoices)
  394. # define sk_CMS_CertificateChoices_free(st) SKM_sk_free(CMS_CertificateChoices, (st))
  395. # define sk_CMS_CertificateChoices_num(st) SKM_sk_num(CMS_CertificateChoices, (st))
  396. # define sk_CMS_CertificateChoices_value(st, i) SKM_sk_value(CMS_CertificateChoices, (st), (i))
  397. # define sk_CMS_CertificateChoices_set(st, i, val) SKM_sk_set(CMS_CertificateChoices, (st), (i), (val))
  398. # define sk_CMS_CertificateChoices_zero(st) SKM_sk_zero(CMS_CertificateChoices, (st))
  399. # define sk_CMS_CertificateChoices_push(st, val) SKM_sk_push(CMS_CertificateChoices, (st), (val))
  400. # define sk_CMS_CertificateChoices_unshift(st, val) SKM_sk_unshift(CMS_CertificateChoices, (st), (val))
  401. # define sk_CMS_CertificateChoices_find(st, val) SKM_sk_find(CMS_CertificateChoices, (st), (val))
  402. # define sk_CMS_CertificateChoices_find_ex(st, val) SKM_sk_find_ex(CMS_CertificateChoices, (st), (val))
  403. # define sk_CMS_CertificateChoices_delete(st, i) SKM_sk_delete(CMS_CertificateChoices, (st), (i))
  404. # define sk_CMS_CertificateChoices_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_CertificateChoices, (st), (ptr))
  405. # define sk_CMS_CertificateChoices_insert(st, val, i) SKM_sk_insert(CMS_CertificateChoices, (st), (val), (i))
  406. # define sk_CMS_CertificateChoices_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_CertificateChoices, (st), (cmp))
  407. # define sk_CMS_CertificateChoices_dup(st) SKM_sk_dup(CMS_CertificateChoices, st)
  408. # define sk_CMS_CertificateChoices_pop_free(st, free_func) SKM_sk_pop_free(CMS_CertificateChoices, (st), (free_func))
  409. # define sk_CMS_CertificateChoices_shift(st) SKM_sk_shift(CMS_CertificateChoices, (st))
  410. # define sk_CMS_CertificateChoices_pop(st) SKM_sk_pop(CMS_CertificateChoices, (st))
  411. # define sk_CMS_CertificateChoices_sort(st) SKM_sk_sort(CMS_CertificateChoices, (st))
  412. # define sk_CMS_CertificateChoices_is_sorted(st) SKM_sk_is_sorted(CMS_CertificateChoices, (st))
  413. # define sk_CMS_RecipientInfo_new(st) SKM_sk_new(CMS_RecipientInfo, (st))
  414. # define sk_CMS_RecipientInfo_new_null() SKM_sk_new_null(CMS_RecipientInfo)
  415. # define sk_CMS_RecipientInfo_free(st) SKM_sk_free(CMS_RecipientInfo, (st))
  416. # define sk_CMS_RecipientInfo_num(st) SKM_sk_num(CMS_RecipientInfo, (st))
  417. # define sk_CMS_RecipientInfo_value(st, i) SKM_sk_value(CMS_RecipientInfo, (st), (i))
  418. # define sk_CMS_RecipientInfo_set(st, i, val) SKM_sk_set(CMS_RecipientInfo, (st), (i), (val))
  419. # define sk_CMS_RecipientInfo_zero(st) SKM_sk_zero(CMS_RecipientInfo, (st))
  420. # define sk_CMS_RecipientInfo_push(st, val) SKM_sk_push(CMS_RecipientInfo, (st), (val))
  421. # define sk_CMS_RecipientInfo_unshift(st, val) SKM_sk_unshift(CMS_RecipientInfo, (st), (val))
  422. # define sk_CMS_RecipientInfo_find(st, val) SKM_sk_find(CMS_RecipientInfo, (st), (val))
  423. # define sk_CMS_RecipientInfo_find_ex(st, val) SKM_sk_find_ex(CMS_RecipientInfo, (st), (val))
  424. # define sk_CMS_RecipientInfo_delete(st, i) SKM_sk_delete(CMS_RecipientInfo, (st), (i))
  425. # define sk_CMS_RecipientInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RecipientInfo, (st), (ptr))
  426. # define sk_CMS_RecipientInfo_insert(st, val, i) SKM_sk_insert(CMS_RecipientInfo, (st), (val), (i))
  427. # define sk_CMS_RecipientInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RecipientInfo, (st), (cmp))
  428. # define sk_CMS_RecipientInfo_dup(st) SKM_sk_dup(CMS_RecipientInfo, st)
  429. # define sk_CMS_RecipientInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_RecipientInfo, (st), (free_func))
  430. # define sk_CMS_RecipientInfo_shift(st) SKM_sk_shift(CMS_RecipientInfo, (st))
  431. # define sk_CMS_RecipientInfo_pop(st) SKM_sk_pop(CMS_RecipientInfo, (st))
  432. # define sk_CMS_RecipientInfo_sort(st) SKM_sk_sort(CMS_RecipientInfo, (st))
  433. # define sk_CMS_RecipientInfo_is_sorted(st) SKM_sk_is_sorted(CMS_RecipientInfo, (st))
  434. # define sk_CMS_RevocationInfoChoice_new(st) SKM_sk_new(CMS_RevocationInfoChoice, (st))
  435. # define sk_CMS_RevocationInfoChoice_new_null() SKM_sk_new_null(CMS_RevocationInfoChoice)
  436. # define sk_CMS_RevocationInfoChoice_free(st) SKM_sk_free(CMS_RevocationInfoChoice, (st))
  437. # define sk_CMS_RevocationInfoChoice_num(st) SKM_sk_num(CMS_RevocationInfoChoice, (st))
  438. # define sk_CMS_RevocationInfoChoice_value(st, i) SKM_sk_value(CMS_RevocationInfoChoice, (st), (i))
  439. # define sk_CMS_RevocationInfoChoice_set(st, i, val) SKM_sk_set(CMS_RevocationInfoChoice, (st), (i), (val))
  440. # define sk_CMS_RevocationInfoChoice_zero(st) SKM_sk_zero(CMS_RevocationInfoChoice, (st))
  441. # define sk_CMS_RevocationInfoChoice_push(st, val) SKM_sk_push(CMS_RevocationInfoChoice, (st), (val))
  442. # define sk_CMS_RevocationInfoChoice_unshift(st, val) SKM_sk_unshift(CMS_RevocationInfoChoice, (st), (val))
  443. # define sk_CMS_RevocationInfoChoice_find(st, val) SKM_sk_find(CMS_RevocationInfoChoice, (st), (val))
  444. # define sk_CMS_RevocationInfoChoice_find_ex(st, val) SKM_sk_find_ex(CMS_RevocationInfoChoice, (st), (val))
  445. # define sk_CMS_RevocationInfoChoice_delete(st, i) SKM_sk_delete(CMS_RevocationInfoChoice, (st), (i))
  446. # define sk_CMS_RevocationInfoChoice_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_RevocationInfoChoice, (st), (ptr))
  447. # define sk_CMS_RevocationInfoChoice_insert(st, val, i) SKM_sk_insert(CMS_RevocationInfoChoice, (st), (val), (i))
  448. # define sk_CMS_RevocationInfoChoice_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_RevocationInfoChoice, (st), (cmp))
  449. # define sk_CMS_RevocationInfoChoice_dup(st) SKM_sk_dup(CMS_RevocationInfoChoice, st)
  450. # define sk_CMS_RevocationInfoChoice_pop_free(st, free_func) SKM_sk_pop_free(CMS_RevocationInfoChoice, (st), (free_func))
  451. # define sk_CMS_RevocationInfoChoice_shift(st) SKM_sk_shift(CMS_RevocationInfoChoice, (st))
  452. # define sk_CMS_RevocationInfoChoice_pop(st) SKM_sk_pop(CMS_RevocationInfoChoice, (st))
  453. # define sk_CMS_RevocationInfoChoice_sort(st) SKM_sk_sort(CMS_RevocationInfoChoice, (st))
  454. # define sk_CMS_RevocationInfoChoice_is_sorted(st) SKM_sk_is_sorted(CMS_RevocationInfoChoice, (st))
  455. # define sk_CMS_SignerInfo_new(st) SKM_sk_new(CMS_SignerInfo, (st))
  456. # define sk_CMS_SignerInfo_new_null() SKM_sk_new_null(CMS_SignerInfo)
  457. # define sk_CMS_SignerInfo_free(st) SKM_sk_free(CMS_SignerInfo, (st))
  458. # define sk_CMS_SignerInfo_num(st) SKM_sk_num(CMS_SignerInfo, (st))
  459. # define sk_CMS_SignerInfo_value(st, i) SKM_sk_value(CMS_SignerInfo, (st), (i))
  460. # define sk_CMS_SignerInfo_set(st, i, val) SKM_sk_set(CMS_SignerInfo, (st), (i), (val))
  461. # define sk_CMS_SignerInfo_zero(st) SKM_sk_zero(CMS_SignerInfo, (st))
  462. # define sk_CMS_SignerInfo_push(st, val) SKM_sk_push(CMS_SignerInfo, (st), (val))
  463. # define sk_CMS_SignerInfo_unshift(st, val) SKM_sk_unshift(CMS_SignerInfo, (st), (val))
  464. # define sk_CMS_SignerInfo_find(st, val) SKM_sk_find(CMS_SignerInfo, (st), (val))
  465. # define sk_CMS_SignerInfo_find_ex(st, val) SKM_sk_find_ex(CMS_SignerInfo, (st), (val))
  466. # define sk_CMS_SignerInfo_delete(st, i) SKM_sk_delete(CMS_SignerInfo, (st), (i))
  467. # define sk_CMS_SignerInfo_delete_ptr(st, ptr) SKM_sk_delete_ptr(CMS_SignerInfo, (st), (ptr))
  468. # define sk_CMS_SignerInfo_insert(st, val, i) SKM_sk_insert(CMS_SignerInfo, (st), (val), (i))
  469. # define sk_CMS_SignerInfo_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CMS_SignerInfo, (st), (cmp))
  470. # define sk_CMS_SignerInfo_dup(st) SKM_sk_dup(CMS_SignerInfo, st)
  471. # define sk_CMS_SignerInfo_pop_free(st, free_func) SKM_sk_pop_free(CMS_SignerInfo, (st), (free_func))
  472. # define sk_CMS_SignerInfo_shift(st) SKM_sk_shift(CMS_SignerInfo, (st))
  473. # define sk_CMS_SignerInfo_pop(st) SKM_sk_pop(CMS_SignerInfo, (st))
  474. # define sk_CMS_SignerInfo_sort(st) SKM_sk_sort(CMS_SignerInfo, (st))
  475. # define sk_CMS_SignerInfo_is_sorted(st) SKM_sk_is_sorted(CMS_SignerInfo, (st))
  476. # define sk_CONF_IMODULE_new(st) SKM_sk_new(CONF_IMODULE, (st))
  477. # define sk_CONF_IMODULE_new_null() SKM_sk_new_null(CONF_IMODULE)
  478. # define sk_CONF_IMODULE_free(st) SKM_sk_free(CONF_IMODULE, (st))
  479. # define sk_CONF_IMODULE_num(st) SKM_sk_num(CONF_IMODULE, (st))
  480. # define sk_CONF_IMODULE_value(st, i) SKM_sk_value(CONF_IMODULE, (st), (i))
  481. # define sk_CONF_IMODULE_set(st, i, val) SKM_sk_set(CONF_IMODULE, (st), (i), (val))
  482. # define sk_CONF_IMODULE_zero(st) SKM_sk_zero(CONF_IMODULE, (st))
  483. # define sk_CONF_IMODULE_push(st, val) SKM_sk_push(CONF_IMODULE, (st), (val))
  484. # define sk_CONF_IMODULE_unshift(st, val) SKM_sk_unshift(CONF_IMODULE, (st), (val))
  485. # define sk_CONF_IMODULE_find(st, val) SKM_sk_find(CONF_IMODULE, (st), (val))
  486. # define sk_CONF_IMODULE_find_ex(st, val) SKM_sk_find_ex(CONF_IMODULE, (st), (val))
  487. # define sk_CONF_IMODULE_delete(st, i) SKM_sk_delete(CONF_IMODULE, (st), (i))
  488. # define sk_CONF_IMODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_IMODULE, (st), (ptr))
  489. # define sk_CONF_IMODULE_insert(st, val, i) SKM_sk_insert(CONF_IMODULE, (st), (val), (i))
  490. # define sk_CONF_IMODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_IMODULE, (st), (cmp))
  491. # define sk_CONF_IMODULE_dup(st) SKM_sk_dup(CONF_IMODULE, st)
  492. # define sk_CONF_IMODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_IMODULE, (st), (free_func))
  493. # define sk_CONF_IMODULE_shift(st) SKM_sk_shift(CONF_IMODULE, (st))
  494. # define sk_CONF_IMODULE_pop(st) SKM_sk_pop(CONF_IMODULE, (st))
  495. # define sk_CONF_IMODULE_sort(st) SKM_sk_sort(CONF_IMODULE, (st))
  496. # define sk_CONF_IMODULE_is_sorted(st) SKM_sk_is_sorted(CONF_IMODULE, (st))
  497. # define sk_CONF_MODULE_new(st) SKM_sk_new(CONF_MODULE, (st))
  498. # define sk_CONF_MODULE_new_null() SKM_sk_new_null(CONF_MODULE)
  499. # define sk_CONF_MODULE_free(st) SKM_sk_free(CONF_MODULE, (st))
  500. # define sk_CONF_MODULE_num(st) SKM_sk_num(CONF_MODULE, (st))
  501. # define sk_CONF_MODULE_value(st, i) SKM_sk_value(CONF_MODULE, (st), (i))
  502. # define sk_CONF_MODULE_set(st, i, val) SKM_sk_set(CONF_MODULE, (st), (i), (val))
  503. # define sk_CONF_MODULE_zero(st) SKM_sk_zero(CONF_MODULE, (st))
  504. # define sk_CONF_MODULE_push(st, val) SKM_sk_push(CONF_MODULE, (st), (val))
  505. # define sk_CONF_MODULE_unshift(st, val) SKM_sk_unshift(CONF_MODULE, (st), (val))
  506. # define sk_CONF_MODULE_find(st, val) SKM_sk_find(CONF_MODULE, (st), (val))
  507. # define sk_CONF_MODULE_find_ex(st, val) SKM_sk_find_ex(CONF_MODULE, (st), (val))
  508. # define sk_CONF_MODULE_delete(st, i) SKM_sk_delete(CONF_MODULE, (st), (i))
  509. # define sk_CONF_MODULE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_MODULE, (st), (ptr))
  510. # define sk_CONF_MODULE_insert(st, val, i) SKM_sk_insert(CONF_MODULE, (st), (val), (i))
  511. # define sk_CONF_MODULE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_MODULE, (st), (cmp))
  512. # define sk_CONF_MODULE_dup(st) SKM_sk_dup(CONF_MODULE, st)
  513. # define sk_CONF_MODULE_pop_free(st, free_func) SKM_sk_pop_free(CONF_MODULE, (st), (free_func))
  514. # define sk_CONF_MODULE_shift(st) SKM_sk_shift(CONF_MODULE, (st))
  515. # define sk_CONF_MODULE_pop(st) SKM_sk_pop(CONF_MODULE, (st))
  516. # define sk_CONF_MODULE_sort(st) SKM_sk_sort(CONF_MODULE, (st))
  517. # define sk_CONF_MODULE_is_sorted(st) SKM_sk_is_sorted(CONF_MODULE, (st))
  518. # define sk_CONF_VALUE_new(st) SKM_sk_new(CONF_VALUE, (st))
  519. # define sk_CONF_VALUE_new_null() SKM_sk_new_null(CONF_VALUE)
  520. # define sk_CONF_VALUE_free(st) SKM_sk_free(CONF_VALUE, (st))
  521. # define sk_CONF_VALUE_num(st) SKM_sk_num(CONF_VALUE, (st))
  522. # define sk_CONF_VALUE_value(st, i) SKM_sk_value(CONF_VALUE, (st), (i))
  523. # define sk_CONF_VALUE_set(st, i, val) SKM_sk_set(CONF_VALUE, (st), (i), (val))
  524. # define sk_CONF_VALUE_zero(st) SKM_sk_zero(CONF_VALUE, (st))
  525. # define sk_CONF_VALUE_push(st, val) SKM_sk_push(CONF_VALUE, (st), (val))
  526. # define sk_CONF_VALUE_unshift(st, val) SKM_sk_unshift(CONF_VALUE, (st), (val))
  527. # define sk_CONF_VALUE_find(st, val) SKM_sk_find(CONF_VALUE, (st), (val))
  528. # define sk_CONF_VALUE_find_ex(st, val) SKM_sk_find_ex(CONF_VALUE, (st), (val))
  529. # define sk_CONF_VALUE_delete(st, i) SKM_sk_delete(CONF_VALUE, (st), (i))
  530. # define sk_CONF_VALUE_delete_ptr(st, ptr) SKM_sk_delete_ptr(CONF_VALUE, (st), (ptr))
  531. # define sk_CONF_VALUE_insert(st, val, i) SKM_sk_insert(CONF_VALUE, (st), (val), (i))
  532. # define sk_CONF_VALUE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CONF_VALUE, (st), (cmp))
  533. # define sk_CONF_VALUE_dup(st) SKM_sk_dup(CONF_VALUE, st)
  534. # define sk_CONF_VALUE_pop_free(st, free_func) SKM_sk_pop_free(CONF_VALUE, (st), (free_func))
  535. # define sk_CONF_VALUE_shift(st) SKM_sk_shift(CONF_VALUE, (st))
  536. # define sk_CONF_VALUE_pop(st) SKM_sk_pop(CONF_VALUE, (st))
  537. # define sk_CONF_VALUE_sort(st) SKM_sk_sort(CONF_VALUE, (st))
  538. # define sk_CONF_VALUE_is_sorted(st) SKM_sk_is_sorted(CONF_VALUE, (st))
  539. # define sk_CRYPTO_EX_DATA_FUNCS_new(st) SKM_sk_new(CRYPTO_EX_DATA_FUNCS, (st))
  540. # define sk_CRYPTO_EX_DATA_FUNCS_new_null() SKM_sk_new_null(CRYPTO_EX_DATA_FUNCS)
  541. # define sk_CRYPTO_EX_DATA_FUNCS_free(st) SKM_sk_free(CRYPTO_EX_DATA_FUNCS, (st))
  542. # define sk_CRYPTO_EX_DATA_FUNCS_num(st) SKM_sk_num(CRYPTO_EX_DATA_FUNCS, (st))
  543. # define sk_CRYPTO_EX_DATA_FUNCS_value(st, i) SKM_sk_value(CRYPTO_EX_DATA_FUNCS, (st), (i))
  544. # define sk_CRYPTO_EX_DATA_FUNCS_set(st, i, val) SKM_sk_set(CRYPTO_EX_DATA_FUNCS, (st), (i), (val))
  545. # define sk_CRYPTO_EX_DATA_FUNCS_zero(st) SKM_sk_zero(CRYPTO_EX_DATA_FUNCS, (st))
  546. # define sk_CRYPTO_EX_DATA_FUNCS_push(st, val) SKM_sk_push(CRYPTO_EX_DATA_FUNCS, (st), (val))
  547. # define sk_CRYPTO_EX_DATA_FUNCS_unshift(st, val) SKM_sk_unshift(CRYPTO_EX_DATA_FUNCS, (st), (val))
  548. # define sk_CRYPTO_EX_DATA_FUNCS_find(st, val) SKM_sk_find(CRYPTO_EX_DATA_FUNCS, (st), (val))
  549. # define sk_CRYPTO_EX_DATA_FUNCS_find_ex(st, val) SKM_sk_find_ex(CRYPTO_EX_DATA_FUNCS, (st), (val))
  550. # define sk_CRYPTO_EX_DATA_FUNCS_delete(st, i) SKM_sk_delete(CRYPTO_EX_DATA_FUNCS, (st), (i))
  551. # define sk_CRYPTO_EX_DATA_FUNCS_delete_ptr(st, ptr) SKM_sk_delete_ptr(CRYPTO_EX_DATA_FUNCS, (st), (ptr))
  552. # define sk_CRYPTO_EX_DATA_FUNCS_insert(st, val, i) SKM_sk_insert(CRYPTO_EX_DATA_FUNCS, (st), (val), (i))
  553. # define sk_CRYPTO_EX_DATA_FUNCS_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CRYPTO_EX_DATA_FUNCS, (st), (cmp))
  554. # define sk_CRYPTO_EX_DATA_FUNCS_dup(st) SKM_sk_dup(CRYPTO_EX_DATA_FUNCS, st)
  555. # define sk_CRYPTO_EX_DATA_FUNCS_pop_free(st, free_func) SKM_sk_pop_free(CRYPTO_EX_DATA_FUNCS, (st), (free_func))
  556. # define sk_CRYPTO_EX_DATA_FUNCS_shift(st) SKM_sk_shift(CRYPTO_EX_DATA_FUNCS, (st))
  557. # define sk_CRYPTO_EX_DATA_FUNCS_pop(st) SKM_sk_pop(CRYPTO_EX_DATA_FUNCS, (st))
  558. # define sk_CRYPTO_EX_DATA_FUNCS_sort(st) SKM_sk_sort(CRYPTO_EX_DATA_FUNCS, (st))
  559. # define sk_CRYPTO_EX_DATA_FUNCS_is_sorted(st) SKM_sk_is_sorted(CRYPTO_EX_DATA_FUNCS, (st))
  560. # define sk_CRYPTO_dynlock_new(st) SKM_sk_new(CRYPTO_dynlock, (st))
  561. # define sk_CRYPTO_dynlock_new_null() SKM_sk_new_null(CRYPTO_dynlock)
  562. # define sk_CRYPTO_dynlock_free(st) SKM_sk_free(CRYPTO_dynlock, (st))
  563. # define sk_CRYPTO_dynlock_num(st) SKM_sk_num(CRYPTO_dynlock, (st))
  564. # define sk_CRYPTO_dynlock_value(st, i) SKM_sk_value(CRYPTO_dynlock, (st), (i))
  565. # define sk_CRYPTO_dynlock_set(st, i, val) SKM_sk_set(CRYPTO_dynlock, (st), (i), (val))
  566. # define sk_CRYPTO_dynlock_zero(st) SKM_sk_zero(CRYPTO_dynlock, (st))
  567. # define sk_CRYPTO_dynlock_push(st, val) SKM_sk_push(CRYPTO_dynlock, (st), (val))
  568. # define sk_CRYPTO_dynlock_unshift(st, val) SKM_sk_unshift(CRYPTO_dynlock, (st), (val))
  569. # define sk_CRYPTO_dynlock_find(st, val) SKM_sk_find(CRYPTO_dynlock, (st), (val))
  570. # define sk_CRYPTO_dynlock_find_ex(st, val) SKM_sk_find_ex(CRYPTO_dynlock, (st), (val))
  571. # define sk_CRYPTO_dynlock_delete(st, i) SKM_sk_delete(CRYPTO_dynlock, (st), (i))
  572. # define sk_CRYPTO_dynlock_delete_ptr(st, ptr) SKM_sk_delete_ptr(CRYPTO_dynlock, (st), (ptr))
  573. # define sk_CRYPTO_dynlock_insert(st, val, i) SKM_sk_insert(CRYPTO_dynlock, (st), (val), (i))
  574. # define sk_CRYPTO_dynlock_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(CRYPTO_dynlock, (st), (cmp))
  575. # define sk_CRYPTO_dynlock_dup(st) SKM_sk_dup(CRYPTO_dynlock, st)
  576. # define sk_CRYPTO_dynlock_pop_free(st, free_func) SKM_sk_pop_free(CRYPTO_dynlock, (st), (free_func))
  577. # define sk_CRYPTO_dynlock_shift(st) SKM_sk_shift(CRYPTO_dynlock, (st))
  578. # define sk_CRYPTO_dynlock_pop(st) SKM_sk_pop(CRYPTO_dynlock, (st))
  579. # define sk_CRYPTO_dynlock_sort(st) SKM_sk_sort(CRYPTO_dynlock, (st))
  580. # define sk_CRYPTO_dynlock_is_sorted(st) SKM_sk_is_sorted(CRYPTO_dynlock, (st))
  581. # define sk_DIST_POINT_new(st) SKM_sk_new(DIST_POINT, (st))
  582. # define sk_DIST_POINT_new_null() SKM_sk_new_null(DIST_POINT)
  583. # define sk_DIST_POINT_free(st) SKM_sk_free(DIST_POINT, (st))
  584. # define sk_DIST_POINT_num(st) SKM_sk_num(DIST_POINT, (st))
  585. # define sk_DIST_POINT_value(st, i) SKM_sk_value(DIST_POINT, (st), (i))
  586. # define sk_DIST_POINT_set(st, i, val) SKM_sk_set(DIST_POINT, (st), (i), (val))
  587. # define sk_DIST_POINT_zero(st) SKM_sk_zero(DIST_POINT, (st))
  588. # define sk_DIST_POINT_push(st, val) SKM_sk_push(DIST_POINT, (st), (val))
  589. # define sk_DIST_POINT_unshift(st, val) SKM_sk_unshift(DIST_POINT, (st), (val))
  590. # define sk_DIST_POINT_find(st, val) SKM_sk_find(DIST_POINT, (st), (val))
  591. # define sk_DIST_POINT_find_ex(st, val) SKM_sk_find_ex(DIST_POINT, (st), (val))
  592. # define sk_DIST_POINT_delete(st, i) SKM_sk_delete(DIST_POINT, (st), (i))
  593. # define sk_DIST_POINT_delete_ptr(st, ptr) SKM_sk_delete_ptr(DIST_POINT, (st), (ptr))
  594. # define sk_DIST_POINT_insert(st, val, i) SKM_sk_insert(DIST_POINT, (st), (val), (i))
  595. # define sk_DIST_POINT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(DIST_POINT, (st), (cmp))
  596. # define sk_DIST_POINT_dup(st) SKM_sk_dup(DIST_POINT, st)
  597. # define sk_DIST_POINT_pop_free(st, free_func) SKM_sk_pop_free(DIST_POINT, (st), (free_func))
  598. # define sk_DIST_POINT_shift(st) SKM_sk_shift(DIST_POINT, (st))
  599. # define sk_DIST_POINT_pop(st) SKM_sk_pop(DIST_POINT, (st))
  600. # define sk_DIST_POINT_sort(st) SKM_sk_sort(DIST_POINT, (st))
  601. # define sk_DIST_POINT_is_sorted(st) SKM_sk_is_sorted(DIST_POINT, (st))
  602. # define sk_ENGINE_new(st) SKM_sk_new(ENGINE, (st))
  603. # define sk_ENGINE_new_null() SKM_sk_new_null(ENGINE)
  604. # define sk_ENGINE_free(st) SKM_sk_free(ENGINE, (st))
  605. # define sk_ENGINE_num(st) SKM_sk_num(ENGINE, (st))
  606. # define sk_ENGINE_value(st, i) SKM_sk_value(ENGINE, (st), (i))
  607. # define sk_ENGINE_set(st, i, val) SKM_sk_set(ENGINE, (st), (i), (val))
  608. # define sk_ENGINE_zero(st) SKM_sk_zero(ENGINE, (st))
  609. # define sk_ENGINE_push(st, val) SKM_sk_push(ENGINE, (st), (val))
  610. # define sk_ENGINE_unshift(st, val) SKM_sk_unshift(ENGINE, (st), (val))
  611. # define sk_ENGINE_find(st, val) SKM_sk_find(ENGINE, (st), (val))
  612. # define sk_ENGINE_find_ex(st, val) SKM_sk_find_ex(ENGINE, (st), (val))
  613. # define sk_ENGINE_delete(st, i) SKM_sk_delete(ENGINE, (st), (i))
  614. # define sk_ENGINE_delete_ptr(st, ptr) SKM_sk_delete_ptr(ENGINE, (st), (ptr))
  615. # define sk_ENGINE_insert(st, val, i) SKM_sk_insert(ENGINE, (st), (val), (i))
  616. # define sk_ENGINE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ENGINE, (st), (cmp))
  617. # define sk_ENGINE_dup(st) SKM_sk_dup(ENGINE, st)
  618. # define sk_ENGINE_pop_free(st, free_func) SKM_sk_pop_free(ENGINE, (st), (free_func))
  619. # define sk_ENGINE_shift(st) SKM_sk_shift(ENGINE, (st))
  620. # define sk_ENGINE_pop(st) SKM_sk_pop(ENGINE, (st))
  621. # define sk_ENGINE_sort(st) SKM_sk_sort(ENGINE, (st))
  622. # define sk_ENGINE_is_sorted(st) SKM_sk_is_sorted(ENGINE, (st))
  623. # define sk_ENGINE_CLEANUP_ITEM_new(st) SKM_sk_new(ENGINE_CLEANUP_ITEM, (st))
  624. # define sk_ENGINE_CLEANUP_ITEM_new_null() SKM_sk_new_null(ENGINE_CLEANUP_ITEM)
  625. # define sk_ENGINE_CLEANUP_ITEM_free(st) SKM_sk_free(ENGINE_CLEANUP_ITEM, (st))
  626. # define sk_ENGINE_CLEANUP_ITEM_num(st) SKM_sk_num(ENGINE_CLEANUP_ITEM, (st))
  627. # define sk_ENGINE_CLEANUP_ITEM_value(st, i) SKM_sk_value(ENGINE_CLEANUP_ITEM, (st), (i))
  628. # define sk_ENGINE_CLEANUP_ITEM_set(st, i, val) SKM_sk_set(ENGINE_CLEANUP_ITEM, (st), (i), (val))
  629. # define sk_ENGINE_CLEANUP_ITEM_zero(st) SKM_sk_zero(ENGINE_CLEANUP_ITEM, (st))
  630. # define sk_ENGINE_CLEANUP_ITEM_push(st, val) SKM_sk_push(ENGINE_CLEANUP_ITEM, (st), (val))
  631. # define sk_ENGINE_CLEANUP_ITEM_unshift(st, val) SKM_sk_unshift(ENGINE_CLEANUP_ITEM, (st), (val))
  632. # define sk_ENGINE_CLEANUP_ITEM_find(st, val) SKM_sk_find(ENGINE_CLEANUP_ITEM, (st), (val))
  633. # define sk_ENGINE_CLEANUP_ITEM_find_ex(st, val) SKM_sk_find_ex(ENGINE_CLEANUP_ITEM, (st), (val))
  634. # define sk_ENGINE_CLEANUP_ITEM_delete(st, i) SKM_sk_delete(ENGINE_CLEANUP_ITEM, (st), (i))
  635. # define sk_ENGINE_CLEANUP_ITEM_delete_ptr(st, ptr) SKM_sk_delete_ptr(ENGINE_CLEANUP_ITEM, (st), (ptr))
  636. # define sk_ENGINE_CLEANUP_ITEM_insert(st, val, i) SKM_sk_insert(ENGINE_CLEANUP_ITEM, (st), (val), (i))
  637. # define sk_ENGINE_CLEANUP_ITEM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(ENGINE_CLEANUP_ITEM, (st), (cmp))
  638. # define sk_ENGINE_CLEANUP_ITEM_dup(st) SKM_sk_dup(ENGINE_CLEANUP_ITEM, st)
  639. # define sk_ENGINE_CLEANUP_ITEM_pop_free(st, free_func) SKM_sk_pop_free(ENGINE_CLEANUP_ITEM, (st), (free_func))
  640. # define sk_ENGINE_CLEANUP_ITEM_shift(st) SKM_sk_shift(ENGINE_CLEANUP_ITEM, (st))
  641. # define sk_ENGINE_CLEANUP_ITEM_pop(st) SKM_sk_pop(ENGINE_CLEANUP_ITEM, (st))
  642. # define sk_ENGINE_CLEANUP_ITEM_sort(st) SKM_sk_sort(ENGINE_CLEANUP_ITEM, (st))
  643. # define sk_ENGINE_CLEANUP_ITEM_is_sorted(st) SKM_sk_is_sorted(ENGINE_CLEANUP_ITEM, (st))
  644. # define sk_GENERAL_NAME_new(st) SKM_sk_new(GENERAL_NAME, (st))
  645. # define sk_GENERAL_NAME_new_null() SKM_sk_new_null(GENERAL_NAME)
  646. # define sk_GENERAL_NAME_free(st) SKM_sk_free(GENERAL_NAME, (st))
  647. # define sk_GENERAL_NAME_num(st) SKM_sk_num(GENERAL_NAME, (st))
  648. # define sk_GENERAL_NAME_value(st, i) SKM_sk_value(GENERAL_NAME, (st), (i))
  649. # define sk_GENERAL_NAME_set(st, i, val) SKM_sk_set(GENERAL_NAME, (st), (i), (val))
  650. # define sk_GENERAL_NAME_zero(st) SKM_sk_zero(GENERAL_NAME, (st))
  651. # define sk_GENERAL_NAME_push(st, val) SKM_sk_push(GENERAL_NAME, (st), (val))
  652. # define sk_GENERAL_NAME_unshift(st, val) SKM_sk_unshift(GENERAL_NAME, (st), (val))
  653. # define sk_GENERAL_NAME_find(st, val) SKM_sk_find(GENERAL_NAME, (st), (val))
  654. # define sk_GENERAL_NAME_find_ex(st, val) SKM_sk_find_ex(GENERAL_NAME, (st), (val))
  655. # define sk_GENERAL_NAME_delete(st, i) SKM_sk_delete(GENERAL_NAME, (st), (i))
  656. # define sk_GENERAL_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAME, (st), (ptr))
  657. # define sk_GENERAL_NAME_insert(st, val, i) SKM_sk_insert(GENERAL_NAME, (st), (val), (i))
  658. # define sk_GENERAL_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAME, (st), (cmp))
  659. # define sk_GENERAL_NAME_dup(st) SKM_sk_dup(GENERAL_NAME, st)
  660. # define sk_GENERAL_NAME_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAME, (st), (free_func))
  661. # define sk_GENERAL_NAME_shift(st) SKM_sk_shift(GENERAL_NAME, (st))
  662. # define sk_GENERAL_NAME_pop(st) SKM_sk_pop(GENERAL_NAME, (st))
  663. # define sk_GENERAL_NAME_sort(st) SKM_sk_sort(GENERAL_NAME, (st))
  664. # define sk_GENERAL_NAME_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAME, (st))
  665. # define sk_GENERAL_NAMES_new(st) SKM_sk_new(GENERAL_NAMES, (st))
  666. # define sk_GENERAL_NAMES_new_null() SKM_sk_new_null(GENERAL_NAMES)
  667. # define sk_GENERAL_NAMES_free(st) SKM_sk_free(GENERAL_NAMES, (st))
  668. # define sk_GENERAL_NAMES_num(st) SKM_sk_num(GENERAL_NAMES, (st))
  669. # define sk_GENERAL_NAMES_value(st, i) SKM_sk_value(GENERAL_NAMES, (st), (i))
  670. # define sk_GENERAL_NAMES_set(st, i, val) SKM_sk_set(GENERAL_NAMES, (st), (i), (val))
  671. # define sk_GENERAL_NAMES_zero(st) SKM_sk_zero(GENERAL_NAMES, (st))
  672. # define sk_GENERAL_NAMES_push(st, val) SKM_sk_push(GENERAL_NAMES, (st), (val))
  673. # define sk_GENERAL_NAMES_unshift(st, val) SKM_sk_unshift(GENERAL_NAMES, (st), (val))
  674. # define sk_GENERAL_NAMES_find(st, val) SKM_sk_find(GENERAL_NAMES, (st), (val))
  675. # define sk_GENERAL_NAMES_find_ex(st, val) SKM_sk_find_ex(GENERAL_NAMES, (st), (val))
  676. # define sk_GENERAL_NAMES_delete(st, i) SKM_sk_delete(GENERAL_NAMES, (st), (i))
  677. # define sk_GENERAL_NAMES_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_NAMES, (st), (ptr))
  678. # define sk_GENERAL_NAMES_insert(st, val, i) SKM_sk_insert(GENERAL_NAMES, (st), (val), (i))
  679. # define sk_GENERAL_NAMES_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_NAMES, (st), (cmp))
  680. # define sk_GENERAL_NAMES_dup(st) SKM_sk_dup(GENERAL_NAMES, st)
  681. # define sk_GENERAL_NAMES_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_NAMES, (st), (free_func))
  682. # define sk_GENERAL_NAMES_shift(st) SKM_sk_shift(GENERAL_NAMES, (st))
  683. # define sk_GENERAL_NAMES_pop(st) SKM_sk_pop(GENERAL_NAMES, (st))
  684. # define sk_GENERAL_NAMES_sort(st) SKM_sk_sort(GENERAL_NAMES, (st))
  685. # define sk_GENERAL_NAMES_is_sorted(st) SKM_sk_is_sorted(GENERAL_NAMES, (st))
  686. # define sk_GENERAL_SUBTREE_new(st) SKM_sk_new(GENERAL_SUBTREE, (st))
  687. # define sk_GENERAL_SUBTREE_new_null() SKM_sk_new_null(GENERAL_SUBTREE)
  688. # define sk_GENERAL_SUBTREE_free(st) SKM_sk_free(GENERAL_SUBTREE, (st))
  689. # define sk_GENERAL_SUBTREE_num(st) SKM_sk_num(GENERAL_SUBTREE, (st))
  690. # define sk_GENERAL_SUBTREE_value(st, i) SKM_sk_value(GENERAL_SUBTREE, (st), (i))
  691. # define sk_GENERAL_SUBTREE_set(st, i, val) SKM_sk_set(GENERAL_SUBTREE, (st), (i), (val))
  692. # define sk_GENERAL_SUBTREE_zero(st) SKM_sk_zero(GENERAL_SUBTREE, (st))
  693. # define sk_GENERAL_SUBTREE_push(st, val) SKM_sk_push(GENERAL_SUBTREE, (st), (val))
  694. # define sk_GENERAL_SUBTREE_unshift(st, val) SKM_sk_unshift(GENERAL_SUBTREE, (st), (val))
  695. # define sk_GENERAL_SUBTREE_find(st, val) SKM_sk_find(GENERAL_SUBTREE, (st), (val))
  696. # define sk_GENERAL_SUBTREE_find_ex(st, val) SKM_sk_find_ex(GENERAL_SUBTREE, (st), (val))
  697. # define sk_GENERAL_SUBTREE_delete(st, i) SKM_sk_delete(GENERAL_SUBTREE, (st), (i))
  698. # define sk_GENERAL_SUBTREE_delete_ptr(st, ptr) SKM_sk_delete_ptr(GENERAL_SUBTREE, (st), (ptr))
  699. # define sk_GENERAL_SUBTREE_insert(st, val, i) SKM_sk_insert(GENERAL_SUBTREE, (st), (val), (i))
  700. # define sk_GENERAL_SUBTREE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(GENERAL_SUBTREE, (st), (cmp))
  701. # define sk_GENERAL_SUBTREE_dup(st) SKM_sk_dup(GENERAL_SUBTREE, st)
  702. # define sk_GENERAL_SUBTREE_pop_free(st, free_func) SKM_sk_pop_free(GENERAL_SUBTREE, (st), (free_func))
  703. # define sk_GENERAL_SUBTREE_shift(st) SKM_sk_shift(GENERAL_SUBTREE, (st))
  704. # define sk_GENERAL_SUBTREE_pop(st) SKM_sk_pop(GENERAL_SUBTREE, (st))
  705. # define sk_GENERAL_SUBTREE_sort(st) SKM_sk_sort(GENERAL_SUBTREE, (st))
  706. # define sk_GENERAL_SUBTREE_is_sorted(st) SKM_sk_is_sorted(GENERAL_SUBTREE, (st))
  707. # define sk_IPAddressFamily_new(st) SKM_sk_new(IPAddressFamily, (st))
  708. # define sk_IPAddressFamily_new_null() SKM_sk_new_null(IPAddressFamily)
  709. # define sk_IPAddressFamily_free(st) SKM_sk_free(IPAddressFamily, (st))
  710. # define sk_IPAddressFamily_num(st) SKM_sk_num(IPAddressFamily, (st))
  711. # define sk_IPAddressFamily_value(st, i) SKM_sk_value(IPAddressFamily, (st), (i))
  712. # define sk_IPAddressFamily_set(st, i, val) SKM_sk_set(IPAddressFamily, (st), (i), (val))
  713. # define sk_IPAddressFamily_zero(st) SKM_sk_zero(IPAddressFamily, (st))
  714. # define sk_IPAddressFamily_push(st, val) SKM_sk_push(IPAddressFamily, (st), (val))
  715. # define sk_IPAddressFamily_unshift(st, val) SKM_sk_unshift(IPAddressFamily, (st), (val))
  716. # define sk_IPAddressFamily_find(st, val) SKM_sk_find(IPAddressFamily, (st), (val))
  717. # define sk_IPAddressFamily_find_ex(st, val) SKM_sk_find_ex(IPAddressFamily, (st), (val))
  718. # define sk_IPAddressFamily_delete(st, i) SKM_sk_delete(IPAddressFamily, (st), (i))
  719. # define sk_IPAddressFamily_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressFamily, (st), (ptr))
  720. # define sk_IPAddressFamily_insert(st, val, i) SKM_sk_insert(IPAddressFamily, (st), (val), (i))
  721. # define sk_IPAddressFamily_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressFamily, (st), (cmp))
  722. # define sk_IPAddressFamily_dup(st) SKM_sk_dup(IPAddressFamily, st)
  723. # define sk_IPAddressFamily_pop_free(st, free_func) SKM_sk_pop_free(IPAddressFamily, (st), (free_func))
  724. # define sk_IPAddressFamily_shift(st) SKM_sk_shift(IPAddressFamily, (st))
  725. # define sk_IPAddressFamily_pop(st) SKM_sk_pop(IPAddressFamily, (st))
  726. # define sk_IPAddressFamily_sort(st) SKM_sk_sort(IPAddressFamily, (st))
  727. # define sk_IPAddressFamily_is_sorted(st) SKM_sk_is_sorted(IPAddressFamily, (st))
  728. # define sk_IPAddressOrRange_new(st) SKM_sk_new(IPAddressOrRange, (st))
  729. # define sk_IPAddressOrRange_new_null() SKM_sk_new_null(IPAddressOrRange)
  730. # define sk_IPAddressOrRange_free(st) SKM_sk_free(IPAddressOrRange, (st))
  731. # define sk_IPAddressOrRange_num(st) SKM_sk_num(IPAddressOrRange, (st))
  732. # define sk_IPAddressOrRange_value(st, i) SKM_sk_value(IPAddressOrRange, (st), (i))
  733. # define sk_IPAddressOrRange_set(st, i, val) SKM_sk_set(IPAddressOrRange, (st), (i), (val))
  734. # define sk_IPAddressOrRange_zero(st) SKM_sk_zero(IPAddressOrRange, (st))
  735. # define sk_IPAddressOrRange_push(st, val) SKM_sk_push(IPAddressOrRange, (st), (val))
  736. # define sk_IPAddressOrRange_unshift(st, val) SKM_sk_unshift(IPAddressOrRange, (st), (val))
  737. # define sk_IPAddressOrRange_find(st, val) SKM_sk_find(IPAddressOrRange, (st), (val))
  738. # define sk_IPAddressOrRange_find_ex(st, val) SKM_sk_find_ex(IPAddressOrRange, (st), (val))
  739. # define sk_IPAddressOrRange_delete(st, i) SKM_sk_delete(IPAddressOrRange, (st), (i))
  740. # define sk_IPAddressOrRange_delete_ptr(st, ptr) SKM_sk_delete_ptr(IPAddressOrRange, (st), (ptr))
  741. # define sk_IPAddressOrRange_insert(st, val, i) SKM_sk_insert(IPAddressOrRange, (st), (val), (i))
  742. # define sk_IPAddressOrRange_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(IPAddressOrRange, (st), (cmp))
  743. # define sk_IPAddressOrRange_dup(st) SKM_sk_dup(IPAddressOrRange, st)
  744. # define sk_IPAddressOrRange_pop_free(st, free_func) SKM_sk_pop_free(IPAddressOrRange, (st), (free_func))
  745. # define sk_IPAddressOrRange_shift(st) SKM_sk_shift(IPAddressOrRange, (st))
  746. # define sk_IPAddressOrRange_pop(st) SKM_sk_pop(IPAddressOrRange, (st))
  747. # define sk_IPAddressOrRange_sort(st) SKM_sk_sort(IPAddressOrRange, (st))
  748. # define sk_IPAddressOrRange_is_sorted(st) SKM_sk_is_sorted(IPAddressOrRange, (st))
  749. # define sk_KRB5_APREQBODY_new(st) SKM_sk_new(KRB5_APREQBODY, (st))
  750. # define sk_KRB5_APREQBODY_new_null() SKM_sk_new_null(KRB5_APREQBODY)
  751. # define sk_KRB5_APREQBODY_free(st) SKM_sk_free(KRB5_APREQBODY, (st))
  752. # define sk_KRB5_APREQBODY_num(st) SKM_sk_num(KRB5_APREQBODY, (st))
  753. # define sk_KRB5_APREQBODY_value(st, i) SKM_sk_value(KRB5_APREQBODY, (st), (i))
  754. # define sk_KRB5_APREQBODY_set(st, i, val) SKM_sk_set(KRB5_APREQBODY, (st), (i), (val))
  755. # define sk_KRB5_APREQBODY_zero(st) SKM_sk_zero(KRB5_APREQBODY, (st))
  756. # define sk_KRB5_APREQBODY_push(st, val) SKM_sk_push(KRB5_APREQBODY, (st), (val))
  757. # define sk_KRB5_APREQBODY_unshift(st, val) SKM_sk_unshift(KRB5_APREQBODY, (st), (val))
  758. # define sk_KRB5_APREQBODY_find(st, val) SKM_sk_find(KRB5_APREQBODY, (st), (val))
  759. # define sk_KRB5_APREQBODY_find_ex(st, val) SKM_sk_find_ex(KRB5_APREQBODY, (st), (val))
  760. # define sk_KRB5_APREQBODY_delete(st, i) SKM_sk_delete(KRB5_APREQBODY, (st), (i))
  761. # define sk_KRB5_APREQBODY_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_APREQBODY, (st), (ptr))
  762. # define sk_KRB5_APREQBODY_insert(st, val, i) SKM_sk_insert(KRB5_APREQBODY, (st), (val), (i))
  763. # define sk_KRB5_APREQBODY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_APREQBODY, (st), (cmp))
  764. # define sk_KRB5_APREQBODY_dup(st) SKM_sk_dup(KRB5_APREQBODY, st)
  765. # define sk_KRB5_APREQBODY_pop_free(st, free_func) SKM_sk_pop_free(KRB5_APREQBODY, (st), (free_func))
  766. # define sk_KRB5_APREQBODY_shift(st) SKM_sk_shift(KRB5_APREQBODY, (st))
  767. # define sk_KRB5_APREQBODY_pop(st) SKM_sk_pop(KRB5_APREQBODY, (st))
  768. # define sk_KRB5_APREQBODY_sort(st) SKM_sk_sort(KRB5_APREQBODY, (st))
  769. # define sk_KRB5_APREQBODY_is_sorted(st) SKM_sk_is_sorted(KRB5_APREQBODY, (st))
  770. # define sk_KRB5_AUTHDATA_new(st) SKM_sk_new(KRB5_AUTHDATA, (st))
  771. # define sk_KRB5_AUTHDATA_new_null() SKM_sk_new_null(KRB5_AUTHDATA)
  772. # define sk_KRB5_AUTHDATA_free(st) SKM_sk_free(KRB5_AUTHDATA, (st))
  773. # define sk_KRB5_AUTHDATA_num(st) SKM_sk_num(KRB5_AUTHDATA, (st))
  774. # define sk_KRB5_AUTHDATA_value(st, i) SKM_sk_value(KRB5_AUTHDATA, (st), (i))
  775. # define sk_KRB5_AUTHDATA_set(st, i, val) SKM_sk_set(KRB5_AUTHDATA, (st), (i), (val))
  776. # define sk_KRB5_AUTHDATA_zero(st) SKM_sk_zero(KRB5_AUTHDATA, (st))
  777. # define sk_KRB5_AUTHDATA_push(st, val) SKM_sk_push(KRB5_AUTHDATA, (st), (val))
  778. # define sk_KRB5_AUTHDATA_unshift(st, val) SKM_sk_unshift(KRB5_AUTHDATA, (st), (val))
  779. # define sk_KRB5_AUTHDATA_find(st, val) SKM_sk_find(KRB5_AUTHDATA, (st), (val))
  780. # define sk_KRB5_AUTHDATA_find_ex(st, val) SKM_sk_find_ex(KRB5_AUTHDATA, (st), (val))
  781. # define sk_KRB5_AUTHDATA_delete(st, i) SKM_sk_delete(KRB5_AUTHDATA, (st), (i))
  782. # define sk_KRB5_AUTHDATA_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_AUTHDATA, (st), (ptr))
  783. # define sk_KRB5_AUTHDATA_insert(st, val, i) SKM_sk_insert(KRB5_AUTHDATA, (st), (val), (i))
  784. # define sk_KRB5_AUTHDATA_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_AUTHDATA, (st), (cmp))
  785. # define sk_KRB5_AUTHDATA_dup(st) SKM_sk_dup(KRB5_AUTHDATA, st)
  786. # define sk_KRB5_AUTHDATA_pop_free(st, free_func) SKM_sk_pop_free(KRB5_AUTHDATA, (st), (free_func))
  787. # define sk_KRB5_AUTHDATA_shift(st) SKM_sk_shift(KRB5_AUTHDATA, (st))
  788. # define sk_KRB5_AUTHDATA_pop(st) SKM_sk_pop(KRB5_AUTHDATA, (st))
  789. # define sk_KRB5_AUTHDATA_sort(st) SKM_sk_sort(KRB5_AUTHDATA, (st))
  790. # define sk_KRB5_AUTHDATA_is_sorted(st) SKM_sk_is_sorted(KRB5_AUTHDATA, (st))
  791. # define sk_KRB5_AUTHENTBODY_new(st) SKM_sk_new(KRB5_AUTHENTBODY, (st))
  792. # define sk_KRB5_AUTHENTBODY_new_null() SKM_sk_new_null(KRB5_AUTHENTBODY)
  793. # define sk_KRB5_AUTHENTBODY_free(st) SKM_sk_free(KRB5_AUTHENTBODY, (st))
  794. # define sk_KRB5_AUTHENTBODY_num(st) SKM_sk_num(KRB5_AUTHENTBODY, (st))
  795. # define sk_KRB5_AUTHENTBODY_value(st, i) SKM_sk_value(KRB5_AUTHENTBODY, (st), (i))
  796. # define sk_KRB5_AUTHENTBODY_set(st, i, val) SKM_sk_set(KRB5_AUTHENTBODY, (st), (i), (val))
  797. # define sk_KRB5_AUTHENTBODY_zero(st) SKM_sk_zero(KRB5_AUTHENTBODY, (st))
  798. # define sk_KRB5_AUTHENTBODY_push(st, val) SKM_sk_push(KRB5_AUTHENTBODY, (st), (val))
  799. # define sk_KRB5_AUTHENTBODY_unshift(st, val) SKM_sk_unshift(KRB5_AUTHENTBODY, (st), (val))
  800. # define sk_KRB5_AUTHENTBODY_find(st, val) SKM_sk_find(KRB5_AUTHENTBODY, (st), (val))
  801. # define sk_KRB5_AUTHENTBODY_find_ex(st, val) SKM_sk_find_ex(KRB5_AUTHENTBODY, (st), (val))
  802. # define sk_KRB5_AUTHENTBODY_delete(st, i) SKM_sk_delete(KRB5_AUTHENTBODY, (st), (i))
  803. # define sk_KRB5_AUTHENTBODY_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_AUTHENTBODY, (st), (ptr))
  804. # define sk_KRB5_AUTHENTBODY_insert(st, val, i) SKM_sk_insert(KRB5_AUTHENTBODY, (st), (val), (i))
  805. # define sk_KRB5_AUTHENTBODY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_AUTHENTBODY, (st), (cmp))
  806. # define sk_KRB5_AUTHENTBODY_dup(st) SKM_sk_dup(KRB5_AUTHENTBODY, st)
  807. # define sk_KRB5_AUTHENTBODY_pop_free(st, free_func) SKM_sk_pop_free(KRB5_AUTHENTBODY, (st), (free_func))
  808. # define sk_KRB5_AUTHENTBODY_shift(st) SKM_sk_shift(KRB5_AUTHENTBODY, (st))
  809. # define sk_KRB5_AUTHENTBODY_pop(st) SKM_sk_pop(KRB5_AUTHENTBODY, (st))
  810. # define sk_KRB5_AUTHENTBODY_sort(st) SKM_sk_sort(KRB5_AUTHENTBODY, (st))
  811. # define sk_KRB5_AUTHENTBODY_is_sorted(st) SKM_sk_is_sorted(KRB5_AUTHENTBODY, (st))
  812. # define sk_KRB5_CHECKSUM_new(st) SKM_sk_new(KRB5_CHECKSUM, (st))
  813. # define sk_KRB5_CHECKSUM_new_null() SKM_sk_new_null(KRB5_CHECKSUM)
  814. # define sk_KRB5_CHECKSUM_free(st) SKM_sk_free(KRB5_CHECKSUM, (st))
  815. # define sk_KRB5_CHECKSUM_num(st) SKM_sk_num(KRB5_CHECKSUM, (st))
  816. # define sk_KRB5_CHECKSUM_value(st, i) SKM_sk_value(KRB5_CHECKSUM, (st), (i))
  817. # define sk_KRB5_CHECKSUM_set(st, i, val) SKM_sk_set(KRB5_CHECKSUM, (st), (i), (val))
  818. # define sk_KRB5_CHECKSUM_zero(st) SKM_sk_zero(KRB5_CHECKSUM, (st))
  819. # define sk_KRB5_CHECKSUM_push(st, val) SKM_sk_push(KRB5_CHECKSUM, (st), (val))
  820. # define sk_KRB5_CHECKSUM_unshift(st, val) SKM_sk_unshift(KRB5_CHECKSUM, (st), (val))
  821. # define sk_KRB5_CHECKSUM_find(st, val) SKM_sk_find(KRB5_CHECKSUM, (st), (val))
  822. # define sk_KRB5_CHECKSUM_find_ex(st, val) SKM_sk_find_ex(KRB5_CHECKSUM, (st), (val))
  823. # define sk_KRB5_CHECKSUM_delete(st, i) SKM_sk_delete(KRB5_CHECKSUM, (st), (i))
  824. # define sk_KRB5_CHECKSUM_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_CHECKSUM, (st), (ptr))
  825. # define sk_KRB5_CHECKSUM_insert(st, val, i) SKM_sk_insert(KRB5_CHECKSUM, (st), (val), (i))
  826. # define sk_KRB5_CHECKSUM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_CHECKSUM, (st), (cmp))
  827. # define sk_KRB5_CHECKSUM_dup(st) SKM_sk_dup(KRB5_CHECKSUM, st)
  828. # define sk_KRB5_CHECKSUM_pop_free(st, free_func) SKM_sk_pop_free(KRB5_CHECKSUM, (st), (free_func))
  829. # define sk_KRB5_CHECKSUM_shift(st) SKM_sk_shift(KRB5_CHECKSUM, (st))
  830. # define sk_KRB5_CHECKSUM_pop(st) SKM_sk_pop(KRB5_CHECKSUM, (st))
  831. # define sk_KRB5_CHECKSUM_sort(st) SKM_sk_sort(KRB5_CHECKSUM, (st))
  832. # define sk_KRB5_CHECKSUM_is_sorted(st) SKM_sk_is_sorted(KRB5_CHECKSUM, (st))
  833. # define sk_KRB5_ENCDATA_new(st) SKM_sk_new(KRB5_ENCDATA, (st))
  834. # define sk_KRB5_ENCDATA_new_null() SKM_sk_new_null(KRB5_ENCDATA)
  835. # define sk_KRB5_ENCDATA_free(st) SKM_sk_free(KRB5_ENCDATA, (st))
  836. # define sk_KRB5_ENCDATA_num(st) SKM_sk_num(KRB5_ENCDATA, (st))
  837. # define sk_KRB5_ENCDATA_value(st, i) SKM_sk_value(KRB5_ENCDATA, (st), (i))
  838. # define sk_KRB5_ENCDATA_set(st, i, val) SKM_sk_set(KRB5_ENCDATA, (st), (i), (val))
  839. # define sk_KRB5_ENCDATA_zero(st) SKM_sk_zero(KRB5_ENCDATA, (st))
  840. # define sk_KRB5_ENCDATA_push(st, val) SKM_sk_push(KRB5_ENCDATA, (st), (val))
  841. # define sk_KRB5_ENCDATA_unshift(st, val) SKM_sk_unshift(KRB5_ENCDATA, (st), (val))
  842. # define sk_KRB5_ENCDATA_find(st, val) SKM_sk_find(KRB5_ENCDATA, (st), (val))
  843. # define sk_KRB5_ENCDATA_find_ex(st, val) SKM_sk_find_ex(KRB5_ENCDATA, (st), (val))
  844. # define sk_KRB5_ENCDATA_delete(st, i) SKM_sk_delete(KRB5_ENCDATA, (st), (i))
  845. # define sk_KRB5_ENCDATA_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_ENCDATA, (st), (ptr))
  846. # define sk_KRB5_ENCDATA_insert(st, val, i) SKM_sk_insert(KRB5_ENCDATA, (st), (val), (i))
  847. # define sk_KRB5_ENCDATA_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_ENCDATA, (st), (cmp))
  848. # define sk_KRB5_ENCDATA_dup(st) SKM_sk_dup(KRB5_ENCDATA, st)
  849. # define sk_KRB5_ENCDATA_pop_free(st, free_func) SKM_sk_pop_free(KRB5_ENCDATA, (st), (free_func))
  850. # define sk_KRB5_ENCDATA_shift(st) SKM_sk_shift(KRB5_ENCDATA, (st))
  851. # define sk_KRB5_ENCDATA_pop(st) SKM_sk_pop(KRB5_ENCDATA, (st))
  852. # define sk_KRB5_ENCDATA_sort(st) SKM_sk_sort(KRB5_ENCDATA, (st))
  853. # define sk_KRB5_ENCDATA_is_sorted(st) SKM_sk_is_sorted(KRB5_ENCDATA, (st))
  854. # define sk_KRB5_ENCKEY_new(st) SKM_sk_new(KRB5_ENCKEY, (st))
  855. # define sk_KRB5_ENCKEY_new_null() SKM_sk_new_null(KRB5_ENCKEY)
  856. # define sk_KRB5_ENCKEY_free(st) SKM_sk_free(KRB5_ENCKEY, (st))
  857. # define sk_KRB5_ENCKEY_num(st) SKM_sk_num(KRB5_ENCKEY, (st))
  858. # define sk_KRB5_ENCKEY_value(st, i) SKM_sk_value(KRB5_ENCKEY, (st), (i))
  859. # define sk_KRB5_ENCKEY_set(st, i, val) SKM_sk_set(KRB5_ENCKEY, (st), (i), (val))
  860. # define sk_KRB5_ENCKEY_zero(st) SKM_sk_zero(KRB5_ENCKEY, (st))
  861. # define sk_KRB5_ENCKEY_push(st, val) SKM_sk_push(KRB5_ENCKEY, (st), (val))
  862. # define sk_KRB5_ENCKEY_unshift(st, val) SKM_sk_unshift(KRB5_ENCKEY, (st), (val))
  863. # define sk_KRB5_ENCKEY_find(st, val) SKM_sk_find(KRB5_ENCKEY, (st), (val))
  864. # define sk_KRB5_ENCKEY_find_ex(st, val) SKM_sk_find_ex(KRB5_ENCKEY, (st), (val))
  865. # define sk_KRB5_ENCKEY_delete(st, i) SKM_sk_delete(KRB5_ENCKEY, (st), (i))
  866. # define sk_KRB5_ENCKEY_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_ENCKEY, (st), (ptr))
  867. # define sk_KRB5_ENCKEY_insert(st, val, i) SKM_sk_insert(KRB5_ENCKEY, (st), (val), (i))
  868. # define sk_KRB5_ENCKEY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_ENCKEY, (st), (cmp))
  869. # define sk_KRB5_ENCKEY_dup(st) SKM_sk_dup(KRB5_ENCKEY, st)
  870. # define sk_KRB5_ENCKEY_pop_free(st, free_func) SKM_sk_pop_free(KRB5_ENCKEY, (st), (free_func))
  871. # define sk_KRB5_ENCKEY_shift(st) SKM_sk_shift(KRB5_ENCKEY, (st))
  872. # define sk_KRB5_ENCKEY_pop(st) SKM_sk_pop(KRB5_ENCKEY, (st))
  873. # define sk_KRB5_ENCKEY_sort(st) SKM_sk_sort(KRB5_ENCKEY, (st))
  874. # define sk_KRB5_ENCKEY_is_sorted(st) SKM_sk_is_sorted(KRB5_ENCKEY, (st))
  875. # define sk_KRB5_PRINCNAME_new(st) SKM_sk_new(KRB5_PRINCNAME, (st))
  876. # define sk_KRB5_PRINCNAME_new_null() SKM_sk_new_null(KRB5_PRINCNAME)
  877. # define sk_KRB5_PRINCNAME_free(st) SKM_sk_free(KRB5_PRINCNAME, (st))
  878. # define sk_KRB5_PRINCNAME_num(st) SKM_sk_num(KRB5_PRINCNAME, (st))
  879. # define sk_KRB5_PRINCNAME_value(st, i) SKM_sk_value(KRB5_PRINCNAME, (st), (i))
  880. # define sk_KRB5_PRINCNAME_set(st, i, val) SKM_sk_set(KRB5_PRINCNAME, (st), (i), (val))
  881. # define sk_KRB5_PRINCNAME_zero(st) SKM_sk_zero(KRB5_PRINCNAME, (st))
  882. # define sk_KRB5_PRINCNAME_push(st, val) SKM_sk_push(KRB5_PRINCNAME, (st), (val))
  883. # define sk_KRB5_PRINCNAME_unshift(st, val) SKM_sk_unshift(KRB5_PRINCNAME, (st), (val))
  884. # define sk_KRB5_PRINCNAME_find(st, val) SKM_sk_find(KRB5_PRINCNAME, (st), (val))
  885. # define sk_KRB5_PRINCNAME_find_ex(st, val) SKM_sk_find_ex(KRB5_PRINCNAME, (st), (val))
  886. # define sk_KRB5_PRINCNAME_delete(st, i) SKM_sk_delete(KRB5_PRINCNAME, (st), (i))
  887. # define sk_KRB5_PRINCNAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_PRINCNAME, (st), (ptr))
  888. # define sk_KRB5_PRINCNAME_insert(st, val, i) SKM_sk_insert(KRB5_PRINCNAME, (st), (val), (i))
  889. # define sk_KRB5_PRINCNAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_PRINCNAME, (st), (cmp))
  890. # define sk_KRB5_PRINCNAME_dup(st) SKM_sk_dup(KRB5_PRINCNAME, st)
  891. # define sk_KRB5_PRINCNAME_pop_free(st, free_func) SKM_sk_pop_free(KRB5_PRINCNAME, (st), (free_func))
  892. # define sk_KRB5_PRINCNAME_shift(st) SKM_sk_shift(KRB5_PRINCNAME, (st))
  893. # define sk_KRB5_PRINCNAME_pop(st) SKM_sk_pop(KRB5_PRINCNAME, (st))
  894. # define sk_KRB5_PRINCNAME_sort(st) SKM_sk_sort(KRB5_PRINCNAME, (st))
  895. # define sk_KRB5_PRINCNAME_is_sorted(st) SKM_sk_is_sorted(KRB5_PRINCNAME, (st))
  896. # define sk_KRB5_TKTBODY_new(st) SKM_sk_new(KRB5_TKTBODY, (st))
  897. # define sk_KRB5_TKTBODY_new_null() SKM_sk_new_null(KRB5_TKTBODY)
  898. # define sk_KRB5_TKTBODY_free(st) SKM_sk_free(KRB5_TKTBODY, (st))
  899. # define sk_KRB5_TKTBODY_num(st) SKM_sk_num(KRB5_TKTBODY, (st))
  900. # define sk_KRB5_TKTBODY_value(st, i) SKM_sk_value(KRB5_TKTBODY, (st), (i))
  901. # define sk_KRB5_TKTBODY_set(st, i, val) SKM_sk_set(KRB5_TKTBODY, (st), (i), (val))
  902. # define sk_KRB5_TKTBODY_zero(st) SKM_sk_zero(KRB5_TKTBODY, (st))
  903. # define sk_KRB5_TKTBODY_push(st, val) SKM_sk_push(KRB5_TKTBODY, (st), (val))
  904. # define sk_KRB5_TKTBODY_unshift(st, val) SKM_sk_unshift(KRB5_TKTBODY, (st), (val))
  905. # define sk_KRB5_TKTBODY_find(st, val) SKM_sk_find(KRB5_TKTBODY, (st), (val))
  906. # define sk_KRB5_TKTBODY_find_ex(st, val) SKM_sk_find_ex(KRB5_TKTBODY, (st), (val))
  907. # define sk_KRB5_TKTBODY_delete(st, i) SKM_sk_delete(KRB5_TKTBODY, (st), (i))
  908. # define sk_KRB5_TKTBODY_delete_ptr(st, ptr) SKM_sk_delete_ptr(KRB5_TKTBODY, (st), (ptr))
  909. # define sk_KRB5_TKTBODY_insert(st, val, i) SKM_sk_insert(KRB5_TKTBODY, (st), (val), (i))
  910. # define sk_KRB5_TKTBODY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(KRB5_TKTBODY, (st), (cmp))
  911. # define sk_KRB5_TKTBODY_dup(st) SKM_sk_dup(KRB5_TKTBODY, st)
  912. # define sk_KRB5_TKTBODY_pop_free(st, free_func) SKM_sk_pop_free(KRB5_TKTBODY, (st), (free_func))
  913. # define sk_KRB5_TKTBODY_shift(st) SKM_sk_shift(KRB5_TKTBODY, (st))
  914. # define sk_KRB5_TKTBODY_pop(st) SKM_sk_pop(KRB5_TKTBODY, (st))
  915. # define sk_KRB5_TKTBODY_sort(st) SKM_sk_sort(KRB5_TKTBODY, (st))
  916. # define sk_KRB5_TKTBODY_is_sorted(st) SKM_sk_is_sorted(KRB5_TKTBODY, (st))
  917. # define sk_MIME_HEADER_new(st) SKM_sk_new(MIME_HEADER, (st))
  918. # define sk_MIME_HEADER_new_null() SKM_sk_new_null(MIME_HEADER)
  919. # define sk_MIME_HEADER_free(st) SKM_sk_free(MIME_HEADER, (st))
  920. # define sk_MIME_HEADER_num(st) SKM_sk_num(MIME_HEADER, (st))
  921. # define sk_MIME_HEADER_value(st, i) SKM_sk_value(MIME_HEADER, (st), (i))
  922. # define sk_MIME_HEADER_set(st, i, val) SKM_sk_set(MIME_HEADER, (st), (i), (val))
  923. # define sk_MIME_HEADER_zero(st) SKM_sk_zero(MIME_HEADER, (st))
  924. # define sk_MIME_HEADER_push(st, val) SKM_sk_push(MIME_HEADER, (st), (val))
  925. # define sk_MIME_HEADER_unshift(st, val) SKM_sk_unshift(MIME_HEADER, (st), (val))
  926. # define sk_MIME_HEADER_find(st, val) SKM_sk_find(MIME_HEADER, (st), (val))
  927. # define sk_MIME_HEADER_find_ex(st, val) SKM_sk_find_ex(MIME_HEADER, (st), (val))
  928. # define sk_MIME_HEADER_delete(st, i) SKM_sk_delete(MIME_HEADER, (st), (i))
  929. # define sk_MIME_HEADER_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_HEADER, (st), (ptr))
  930. # define sk_MIME_HEADER_insert(st, val, i) SKM_sk_insert(MIME_HEADER, (st), (val), (i))
  931. # define sk_MIME_HEADER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_HEADER, (st), (cmp))
  932. # define sk_MIME_HEADER_dup(st) SKM_sk_dup(MIME_HEADER, st)
  933. # define sk_MIME_HEADER_pop_free(st, free_func) SKM_sk_pop_free(MIME_HEADER, (st), (free_func))
  934. # define sk_MIME_HEADER_shift(st) SKM_sk_shift(MIME_HEADER, (st))
  935. # define sk_MIME_HEADER_pop(st) SKM_sk_pop(MIME_HEADER, (st))
  936. # define sk_MIME_HEADER_sort(st) SKM_sk_sort(MIME_HEADER, (st))
  937. # define sk_MIME_HEADER_is_sorted(st) SKM_sk_is_sorted(MIME_HEADER, (st))
  938. # define sk_MIME_PARAM_new(st) SKM_sk_new(MIME_PARAM, (st))
  939. # define sk_MIME_PARAM_new_null() SKM_sk_new_null(MIME_PARAM)
  940. # define sk_MIME_PARAM_free(st) SKM_sk_free(MIME_PARAM, (st))
  941. # define sk_MIME_PARAM_num(st) SKM_sk_num(MIME_PARAM, (st))
  942. # define sk_MIME_PARAM_value(st, i) SKM_sk_value(MIME_PARAM, (st), (i))
  943. # define sk_MIME_PARAM_set(st, i, val) SKM_sk_set(MIME_PARAM, (st), (i), (val))
  944. # define sk_MIME_PARAM_zero(st) SKM_sk_zero(MIME_PARAM, (st))
  945. # define sk_MIME_PARAM_push(st, val) SKM_sk_push(MIME_PARAM, (st), (val))
  946. # define sk_MIME_PARAM_unshift(st, val) SKM_sk_unshift(MIME_PARAM, (st), (val))
  947. # define sk_MIME_PARAM_find(st, val) SKM_sk_find(MIME_PARAM, (st), (val))
  948. # define sk_MIME_PARAM_find_ex(st, val) SKM_sk_find_ex(MIME_PARAM, (st), (val))
  949. # define sk_MIME_PARAM_delete(st, i) SKM_sk_delete(MIME_PARAM, (st), (i))
  950. # define sk_MIME_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(MIME_PARAM, (st), (ptr))
  951. # define sk_MIME_PARAM_insert(st, val, i) SKM_sk_insert(MIME_PARAM, (st), (val), (i))
  952. # define sk_MIME_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(MIME_PARAM, (st), (cmp))
  953. # define sk_MIME_PARAM_dup(st) SKM_sk_dup(MIME_PARAM, st)
  954. # define sk_MIME_PARAM_pop_free(st, free_func) SKM_sk_pop_free(MIME_PARAM, (st), (free_func))
  955. # define sk_MIME_PARAM_shift(st) SKM_sk_shift(MIME_PARAM, (st))
  956. # define sk_MIME_PARAM_pop(st) SKM_sk_pop(MIME_PARAM, (st))
  957. # define sk_MIME_PARAM_sort(st) SKM_sk_sort(MIME_PARAM, (st))
  958. # define sk_MIME_PARAM_is_sorted(st) SKM_sk_is_sorted(MIME_PARAM, (st))
  959. # define sk_NAME_FUNCS_new(st) SKM_sk_new(NAME_FUNCS, (st))
  960. # define sk_NAME_FUNCS_new_null() SKM_sk_new_null(NAME_FUNCS)
  961. # define sk_NAME_FUNCS_free(st) SKM_sk_free(NAME_FUNCS, (st))
  962. # define sk_NAME_FUNCS_num(st) SKM_sk_num(NAME_FUNCS, (st))
  963. # define sk_NAME_FUNCS_value(st, i) SKM_sk_value(NAME_FUNCS, (st), (i))
  964. # define sk_NAME_FUNCS_set(st, i, val) SKM_sk_set(NAME_FUNCS, (st), (i), (val))
  965. # define sk_NAME_FUNCS_zero(st) SKM_sk_zero(NAME_FUNCS, (st))
  966. # define sk_NAME_FUNCS_push(st, val) SKM_sk_push(NAME_FUNCS, (st), (val))
  967. # define sk_NAME_FUNCS_unshift(st, val) SKM_sk_unshift(NAME_FUNCS, (st), (val))
  968. # define sk_NAME_FUNCS_find(st, val) SKM_sk_find(NAME_FUNCS, (st), (val))
  969. # define sk_NAME_FUNCS_find_ex(st, val) SKM_sk_find_ex(NAME_FUNCS, (st), (val))
  970. # define sk_NAME_FUNCS_delete(st, i) SKM_sk_delete(NAME_FUNCS, (st), (i))
  971. # define sk_NAME_FUNCS_delete_ptr(st, ptr) SKM_sk_delete_ptr(NAME_FUNCS, (st), (ptr))
  972. # define sk_NAME_FUNCS_insert(st, val, i) SKM_sk_insert(NAME_FUNCS, (st), (val), (i))
  973. # define sk_NAME_FUNCS_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(NAME_FUNCS, (st), (cmp))
  974. # define sk_NAME_FUNCS_dup(st) SKM_sk_dup(NAME_FUNCS, st)
  975. # define sk_NAME_FUNCS_pop_free(st, free_func) SKM_sk_pop_free(NAME_FUNCS, (st), (free_func))
  976. # define sk_NAME_FUNCS_shift(st) SKM_sk_shift(NAME_FUNCS, (st))
  977. # define sk_NAME_FUNCS_pop(st) SKM_sk_pop(NAME_FUNCS, (st))
  978. # define sk_NAME_FUNCS_sort(st) SKM_sk_sort(NAME_FUNCS, (st))
  979. # define sk_NAME_FUNCS_is_sorted(st) SKM_sk_is_sorted(NAME_FUNCS, (st))
  980. # define sk_OCSP_CERTID_new(st) SKM_sk_new(OCSP_CERTID, (st))
  981. # define sk_OCSP_CERTID_new_null() SKM_sk_new_null(OCSP_CERTID)
  982. # define sk_OCSP_CERTID_free(st) SKM_sk_free(OCSP_CERTID, (st))
  983. # define sk_OCSP_CERTID_num(st) SKM_sk_num(OCSP_CERTID, (st))
  984. # define sk_OCSP_CERTID_value(st, i) SKM_sk_value(OCSP_CERTID, (st), (i))
  985. # define sk_OCSP_CERTID_set(st, i, val) SKM_sk_set(OCSP_CERTID, (st), (i), (val))
  986. # define sk_OCSP_CERTID_zero(st) SKM_sk_zero(OCSP_CERTID, (st))
  987. # define sk_OCSP_CERTID_push(st, val) SKM_sk_push(OCSP_CERTID, (st), (val))
  988. # define sk_OCSP_CERTID_unshift(st, val) SKM_sk_unshift(OCSP_CERTID, (st), (val))
  989. # define sk_OCSP_CERTID_find(st, val) SKM_sk_find(OCSP_CERTID, (st), (val))
  990. # define sk_OCSP_CERTID_find_ex(st, val) SKM_sk_find_ex(OCSP_CERTID, (st), (val))
  991. # define sk_OCSP_CERTID_delete(st, i) SKM_sk_delete(OCSP_CERTID, (st), (i))
  992. # define sk_OCSP_CERTID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_CERTID, (st), (ptr))
  993. # define sk_OCSP_CERTID_insert(st, val, i) SKM_sk_insert(OCSP_CERTID, (st), (val), (i))
  994. # define sk_OCSP_CERTID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_CERTID, (st), (cmp))
  995. # define sk_OCSP_CERTID_dup(st) SKM_sk_dup(OCSP_CERTID, st)
  996. # define sk_OCSP_CERTID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_CERTID, (st), (free_func))
  997. # define sk_OCSP_CERTID_shift(st) SKM_sk_shift(OCSP_CERTID, (st))
  998. # define sk_OCSP_CERTID_pop(st) SKM_sk_pop(OCSP_CERTID, (st))
  999. # define sk_OCSP_CERTID_sort(st) SKM_sk_sort(OCSP_CERTID, (st))
  1000. # define sk_OCSP_CERTID_is_sorted(st) SKM_sk_is_sorted(OCSP_CERTID, (st))
  1001. # define sk_OCSP_ONEREQ_new(st) SKM_sk_new(OCSP_ONEREQ, (st))
  1002. # define sk_OCSP_ONEREQ_new_null() SKM_sk_new_null(OCSP_ONEREQ)
  1003. # define sk_OCSP_ONEREQ_free(st) SKM_sk_free(OCSP_ONEREQ, (st))
  1004. # define sk_OCSP_ONEREQ_num(st) SKM_sk_num(OCSP_ONEREQ, (st))
  1005. # define sk_OCSP_ONEREQ_value(st, i) SKM_sk_value(OCSP_ONEREQ, (st), (i))
  1006. # define sk_OCSP_ONEREQ_set(st, i, val) SKM_sk_set(OCSP_ONEREQ, (st), (i), (val))
  1007. # define sk_OCSP_ONEREQ_zero(st) SKM_sk_zero(OCSP_ONEREQ, (st))
  1008. # define sk_OCSP_ONEREQ_push(st, val) SKM_sk_push(OCSP_ONEREQ, (st), (val))
  1009. # define sk_OCSP_ONEREQ_unshift(st, val) SKM_sk_unshift(OCSP_ONEREQ, (st), (val))
  1010. # define sk_OCSP_ONEREQ_find(st, val) SKM_sk_find(OCSP_ONEREQ, (st), (val))
  1011. # define sk_OCSP_ONEREQ_find_ex(st, val) SKM_sk_find_ex(OCSP_ONEREQ, (st), (val))
  1012. # define sk_OCSP_ONEREQ_delete(st, i) SKM_sk_delete(OCSP_ONEREQ, (st), (i))
  1013. # define sk_OCSP_ONEREQ_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_ONEREQ, (st), (ptr))
  1014. # define sk_OCSP_ONEREQ_insert(st, val, i) SKM_sk_insert(OCSP_ONEREQ, (st), (val), (i))
  1015. # define sk_OCSP_ONEREQ_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_ONEREQ, (st), (cmp))
  1016. # define sk_OCSP_ONEREQ_dup(st) SKM_sk_dup(OCSP_ONEREQ, st)
  1017. # define sk_OCSP_ONEREQ_pop_free(st, free_func) SKM_sk_pop_free(OCSP_ONEREQ, (st), (free_func))
  1018. # define sk_OCSP_ONEREQ_shift(st) SKM_sk_shift(OCSP_ONEREQ, (st))
  1019. # define sk_OCSP_ONEREQ_pop(st) SKM_sk_pop(OCSP_ONEREQ, (st))
  1020. # define sk_OCSP_ONEREQ_sort(st) SKM_sk_sort(OCSP_ONEREQ, (st))
  1021. # define sk_OCSP_ONEREQ_is_sorted(st) SKM_sk_is_sorted(OCSP_ONEREQ, (st))
  1022. # define sk_OCSP_RESPID_new(st) SKM_sk_new(OCSP_RESPID, (st))
  1023. # define sk_OCSP_RESPID_new_null() SKM_sk_new_null(OCSP_RESPID)
  1024. # define sk_OCSP_RESPID_free(st) SKM_sk_free(OCSP_RESPID, (st))
  1025. # define sk_OCSP_RESPID_num(st) SKM_sk_num(OCSP_RESPID, (st))
  1026. # define sk_OCSP_RESPID_value(st, i) SKM_sk_value(OCSP_RESPID, (st), (i))
  1027. # define sk_OCSP_RESPID_set(st, i, val) SKM_sk_set(OCSP_RESPID, (st), (i), (val))
  1028. # define sk_OCSP_RESPID_zero(st) SKM_sk_zero(OCSP_RESPID, (st))
  1029. # define sk_OCSP_RESPID_push(st, val) SKM_sk_push(OCSP_RESPID, (st), (val))
  1030. # define sk_OCSP_RESPID_unshift(st, val) SKM_sk_unshift(OCSP_RESPID, (st), (val))
  1031. # define sk_OCSP_RESPID_find(st, val) SKM_sk_find(OCSP_RESPID, (st), (val))
  1032. # define sk_OCSP_RESPID_find_ex(st, val) SKM_sk_find_ex(OCSP_RESPID, (st), (val))
  1033. # define sk_OCSP_RESPID_delete(st, i) SKM_sk_delete(OCSP_RESPID, (st), (i))
  1034. # define sk_OCSP_RESPID_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_RESPID, (st), (ptr))
  1035. # define sk_OCSP_RESPID_insert(st, val, i) SKM_sk_insert(OCSP_RESPID, (st), (val), (i))
  1036. # define sk_OCSP_RESPID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_RESPID, (st), (cmp))
  1037. # define sk_OCSP_RESPID_dup(st) SKM_sk_dup(OCSP_RESPID, st)
  1038. # define sk_OCSP_RESPID_pop_free(st, free_func) SKM_sk_pop_free(OCSP_RESPID, (st), (free_func))
  1039. # define sk_OCSP_RESPID_shift(st) SKM_sk_shift(OCSP_RESPID, (st))
  1040. # define sk_OCSP_RESPID_pop(st) SKM_sk_pop(OCSP_RESPID, (st))
  1041. # define sk_OCSP_RESPID_sort(st) SKM_sk_sort(OCSP_RESPID, (st))
  1042. # define sk_OCSP_RESPID_is_sorted(st) SKM_sk_is_sorted(OCSP_RESPID, (st))
  1043. # define sk_OCSP_SINGLERESP_new(st) SKM_sk_new(OCSP_SINGLERESP, (st))
  1044. # define sk_OCSP_SINGLERESP_new_null() SKM_sk_new_null(OCSP_SINGLERESP)
  1045. # define sk_OCSP_SINGLERESP_free(st) SKM_sk_free(OCSP_SINGLERESP, (st))
  1046. # define sk_OCSP_SINGLERESP_num(st) SKM_sk_num(OCSP_SINGLERESP, (st))
  1047. # define sk_OCSP_SINGLERESP_value(st, i) SKM_sk_value(OCSP_SINGLERESP, (st), (i))
  1048. # define sk_OCSP_SINGLERESP_set(st, i, val) SKM_sk_set(OCSP_SINGLERESP, (st), (i), (val))
  1049. # define sk_OCSP_SINGLERESP_zero(st) SKM_sk_zero(OCSP_SINGLERESP, (st))
  1050. # define sk_OCSP_SINGLERESP_push(st, val) SKM_sk_push(OCSP_SINGLERESP, (st), (val))
  1051. # define sk_OCSP_SINGLERESP_unshift(st, val) SKM_sk_unshift(OCSP_SINGLERESP, (st), (val))
  1052. # define sk_OCSP_SINGLERESP_find(st, val) SKM_sk_find(OCSP_SINGLERESP, (st), (val))
  1053. # define sk_OCSP_SINGLERESP_find_ex(st, val) SKM_sk_find_ex(OCSP_SINGLERESP, (st), (val))
  1054. # define sk_OCSP_SINGLERESP_delete(st, i) SKM_sk_delete(OCSP_SINGLERESP, (st), (i))
  1055. # define sk_OCSP_SINGLERESP_delete_ptr(st, ptr) SKM_sk_delete_ptr(OCSP_SINGLERESP, (st), (ptr))
  1056. # define sk_OCSP_SINGLERESP_insert(st, val, i) SKM_sk_insert(OCSP_SINGLERESP, (st), (val), (i))
  1057. # define sk_OCSP_SINGLERESP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(OCSP_SINGLERESP, (st), (cmp))
  1058. # define sk_OCSP_SINGLERESP_dup(st) SKM_sk_dup(OCSP_SINGLERESP, st)
  1059. # define sk_OCSP_SINGLERESP_pop_free(st, free_func) SKM_sk_pop_free(OCSP_SINGLERESP, (st), (free_func))
  1060. # define sk_OCSP_SINGLERESP_shift(st) SKM_sk_shift(OCSP_SINGLERESP, (st))
  1061. # define sk_OCSP_SINGLERESP_pop(st) SKM_sk_pop(OCSP_SINGLERESP, (st))
  1062. # define sk_OCSP_SINGLERESP_sort(st) SKM_sk_sort(OCSP_SINGLERESP, (st))
  1063. # define sk_OCSP_SINGLERESP_is_sorted(st) SKM_sk_is_sorted(OCSP_SINGLERESP, (st))
  1064. # define sk_PKCS12_SAFEBAG_new(st) SKM_sk_new(PKCS12_SAFEBAG, (st))
  1065. # define sk_PKCS12_SAFEBAG_new_null() SKM_sk_new_null(PKCS12_SAFEBAG)
  1066. # define sk_PKCS12_SAFEBAG_free(st) SKM_sk_free(PKCS12_SAFEBAG, (st))
  1067. # define sk_PKCS12_SAFEBAG_num(st) SKM_sk_num(PKCS12_SAFEBAG, (st))
  1068. # define sk_PKCS12_SAFEBAG_value(st, i) SKM_sk_value(PKCS12_SAFEBAG, (st), (i))
  1069. # define sk_PKCS12_SAFEBAG_set(st, i, val) SKM_sk_set(PKCS12_SAFEBAG, (st), (i), (val))
  1070. # define sk_PKCS12_SAFEBAG_zero(st) SKM_sk_zero(PKCS12_SAFEBAG, (st))
  1071. # define sk_PKCS12_SAFEBAG_push(st, val) SKM_sk_push(PKCS12_SAFEBAG, (st), (val))
  1072. # define sk_PKCS12_SAFEBAG_unshift(st, val) SKM_sk_unshift(PKCS12_SAFEBAG, (st), (val))
  1073. # define sk_PKCS12_SAFEBAG_find(st, val) SKM_sk_find(PKCS12_SAFEBAG, (st), (val))
  1074. # define sk_PKCS12_SAFEBAG_find_ex(st, val) SKM_sk_find_ex(PKCS12_SAFEBAG, (st), (val))
  1075. # define sk_PKCS12_SAFEBAG_delete(st, i) SKM_sk_delete(PKCS12_SAFEBAG, (st), (i))
  1076. # define sk_PKCS12_SAFEBAG_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS12_SAFEBAG, (st), (ptr))
  1077. # define sk_PKCS12_SAFEBAG_insert(st, val, i) SKM_sk_insert(PKCS12_SAFEBAG, (st), (val), (i))
  1078. # define sk_PKCS12_SAFEBAG_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS12_SAFEBAG, (st), (cmp))
  1079. # define sk_PKCS12_SAFEBAG_dup(st) SKM_sk_dup(PKCS12_SAFEBAG, st)
  1080. # define sk_PKCS12_SAFEBAG_pop_free(st, free_func) SKM_sk_pop_free(PKCS12_SAFEBAG, (st), (free_func))
  1081. # define sk_PKCS12_SAFEBAG_shift(st) SKM_sk_shift(PKCS12_SAFEBAG, (st))
  1082. # define sk_PKCS12_SAFEBAG_pop(st) SKM_sk_pop(PKCS12_SAFEBAG, (st))
  1083. # define sk_PKCS12_SAFEBAG_sort(st) SKM_sk_sort(PKCS12_SAFEBAG, (st))
  1084. # define sk_PKCS12_SAFEBAG_is_sorted(st) SKM_sk_is_sorted(PKCS12_SAFEBAG, (st))
  1085. # define sk_PKCS7_new(st) SKM_sk_new(PKCS7, (st))
  1086. # define sk_PKCS7_new_null() SKM_sk_new_null(PKCS7)
  1087. # define sk_PKCS7_free(st) SKM_sk_free(PKCS7, (st))
  1088. # define sk_PKCS7_num(st) SKM_sk_num(PKCS7, (st))
  1089. # define sk_PKCS7_value(st, i) SKM_sk_value(PKCS7, (st), (i))
  1090. # define sk_PKCS7_set(st, i, val) SKM_sk_set(PKCS7, (st), (i), (val))
  1091. # define sk_PKCS7_zero(st) SKM_sk_zero(PKCS7, (st))
  1092. # define sk_PKCS7_push(st, val) SKM_sk_push(PKCS7, (st), (val))
  1093. # define sk_PKCS7_unshift(st, val) SKM_sk_unshift(PKCS7, (st), (val))
  1094. # define sk_PKCS7_find(st, val) SKM_sk_find(PKCS7, (st), (val))
  1095. # define sk_PKCS7_find_ex(st, val) SKM_sk_find_ex(PKCS7, (st), (val))
  1096. # define sk_PKCS7_delete(st, i) SKM_sk_delete(PKCS7, (st), (i))
  1097. # define sk_PKCS7_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7, (st), (ptr))
  1098. # define sk_PKCS7_insert(st, val, i) SKM_sk_insert(PKCS7, (st), (val), (i))
  1099. # define sk_PKCS7_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7, (st), (cmp))
  1100. # define sk_PKCS7_dup(st) SKM_sk_dup(PKCS7, st)
  1101. # define sk_PKCS7_pop_free(st, free_func) SKM_sk_pop_free(PKCS7, (st), (free_func))
  1102. # define sk_PKCS7_shift(st) SKM_sk_shift(PKCS7, (st))
  1103. # define sk_PKCS7_pop(st) SKM_sk_pop(PKCS7, (st))
  1104. # define sk_PKCS7_sort(st) SKM_sk_sort(PKCS7, (st))
  1105. # define sk_PKCS7_is_sorted(st) SKM_sk_is_sorted(PKCS7, (st))
  1106. # define sk_PKCS7_RECIP_INFO_new(st) SKM_sk_new(PKCS7_RECIP_INFO, (st))
  1107. # define sk_PKCS7_RECIP_INFO_new_null() SKM_sk_new_null(PKCS7_RECIP_INFO)
  1108. # define sk_PKCS7_RECIP_INFO_free(st) SKM_sk_free(PKCS7_RECIP_INFO, (st))
  1109. # define sk_PKCS7_RECIP_INFO_num(st) SKM_sk_num(PKCS7_RECIP_INFO, (st))
  1110. # define sk_PKCS7_RECIP_INFO_value(st, i) SKM_sk_value(PKCS7_RECIP_INFO, (st), (i))
  1111. # define sk_PKCS7_RECIP_INFO_set(st, i, val) SKM_sk_set(PKCS7_RECIP_INFO, (st), (i), (val))
  1112. # define sk_PKCS7_RECIP_INFO_zero(st) SKM_sk_zero(PKCS7_RECIP_INFO, (st))
  1113. # define sk_PKCS7_RECIP_INFO_push(st, val) SKM_sk_push(PKCS7_RECIP_INFO, (st), (val))
  1114. # define sk_PKCS7_RECIP_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_RECIP_INFO, (st), (val))
  1115. # define sk_PKCS7_RECIP_INFO_find(st, val) SKM_sk_find(PKCS7_RECIP_INFO, (st), (val))
  1116. # define sk_PKCS7_RECIP_INFO_find_ex(st, val) SKM_sk_find_ex(PKCS7_RECIP_INFO, (st), (val))
  1117. # define sk_PKCS7_RECIP_INFO_delete(st, i) SKM_sk_delete(PKCS7_RECIP_INFO, (st), (i))
  1118. # define sk_PKCS7_RECIP_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_RECIP_INFO, (st), (ptr))
  1119. # define sk_PKCS7_RECIP_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_RECIP_INFO, (st), (val), (i))
  1120. # define sk_PKCS7_RECIP_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_RECIP_INFO, (st), (cmp))
  1121. # define sk_PKCS7_RECIP_INFO_dup(st) SKM_sk_dup(PKCS7_RECIP_INFO, st)
  1122. # define sk_PKCS7_RECIP_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_RECIP_INFO, (st), (free_func))
  1123. # define sk_PKCS7_RECIP_INFO_shift(st) SKM_sk_shift(PKCS7_RECIP_INFO, (st))
  1124. # define sk_PKCS7_RECIP_INFO_pop(st) SKM_sk_pop(PKCS7_RECIP_INFO, (st))
  1125. # define sk_PKCS7_RECIP_INFO_sort(st) SKM_sk_sort(PKCS7_RECIP_INFO, (st))
  1126. # define sk_PKCS7_RECIP_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_RECIP_INFO, (st))
  1127. # define sk_PKCS7_SIGNER_INFO_new(st) SKM_sk_new(PKCS7_SIGNER_INFO, (st))
  1128. # define sk_PKCS7_SIGNER_INFO_new_null() SKM_sk_new_null(PKCS7_SIGNER_INFO)
  1129. # define sk_PKCS7_SIGNER_INFO_free(st) SKM_sk_free(PKCS7_SIGNER_INFO, (st))
  1130. # define sk_PKCS7_SIGNER_INFO_num(st) SKM_sk_num(PKCS7_SIGNER_INFO, (st))
  1131. # define sk_PKCS7_SIGNER_INFO_value(st, i) SKM_sk_value(PKCS7_SIGNER_INFO, (st), (i))
  1132. # define sk_PKCS7_SIGNER_INFO_set(st, i, val) SKM_sk_set(PKCS7_SIGNER_INFO, (st), (i), (val))
  1133. # define sk_PKCS7_SIGNER_INFO_zero(st) SKM_sk_zero(PKCS7_SIGNER_INFO, (st))
  1134. # define sk_PKCS7_SIGNER_INFO_push(st, val) SKM_sk_push(PKCS7_SIGNER_INFO, (st), (val))
  1135. # define sk_PKCS7_SIGNER_INFO_unshift(st, val) SKM_sk_unshift(PKCS7_SIGNER_INFO, (st), (val))
  1136. # define sk_PKCS7_SIGNER_INFO_find(st, val) SKM_sk_find(PKCS7_SIGNER_INFO, (st), (val))
  1137. # define sk_PKCS7_SIGNER_INFO_find_ex(st, val) SKM_sk_find_ex(PKCS7_SIGNER_INFO, (st), (val))
  1138. # define sk_PKCS7_SIGNER_INFO_delete(st, i) SKM_sk_delete(PKCS7_SIGNER_INFO, (st), (i))
  1139. # define sk_PKCS7_SIGNER_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(PKCS7_SIGNER_INFO, (st), (ptr))
  1140. # define sk_PKCS7_SIGNER_INFO_insert(st, val, i) SKM_sk_insert(PKCS7_SIGNER_INFO, (st), (val), (i))
  1141. # define sk_PKCS7_SIGNER_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(PKCS7_SIGNER_INFO, (st), (cmp))
  1142. # define sk_PKCS7_SIGNER_INFO_dup(st) SKM_sk_dup(PKCS7_SIGNER_INFO, st)
  1143. # define sk_PKCS7_SIGNER_INFO_pop_free(st, free_func) SKM_sk_pop_free(PKCS7_SIGNER_INFO, (st), (free_func))
  1144. # define sk_PKCS7_SIGNER_INFO_shift(st) SKM_sk_shift(PKCS7_SIGNER_INFO, (st))
  1145. # define sk_PKCS7_SIGNER_INFO_pop(st) SKM_sk_pop(PKCS7_SIGNER_INFO, (st))
  1146. # define sk_PKCS7_SIGNER_INFO_sort(st) SKM_sk_sort(PKCS7_SIGNER_INFO, (st))
  1147. # define sk_PKCS7_SIGNER_INFO_is_sorted(st) SKM_sk_is_sorted(PKCS7_SIGNER_INFO, (st))
  1148. # define sk_POLICYINFO_new(st) SKM_sk_new(POLICYINFO, (st))
  1149. # define sk_POLICYINFO_new_null() SKM_sk_new_null(POLICYINFO)
  1150. # define sk_POLICYINFO_free(st) SKM_sk_free(POLICYINFO, (st))
  1151. # define sk_POLICYINFO_num(st) SKM_sk_num(POLICYINFO, (st))
  1152. # define sk_POLICYINFO_value(st, i) SKM_sk_value(POLICYINFO, (st), (i))
  1153. # define sk_POLICYINFO_set(st, i, val) SKM_sk_set(POLICYINFO, (st), (i), (val))
  1154. # define sk_POLICYINFO_zero(st) SKM_sk_zero(POLICYINFO, (st))
  1155. # define sk_POLICYINFO_push(st, val) SKM_sk_push(POLICYINFO, (st), (val))
  1156. # define sk_POLICYINFO_unshift(st, val) SKM_sk_unshift(POLICYINFO, (st), (val))
  1157. # define sk_POLICYINFO_find(st, val) SKM_sk_find(POLICYINFO, (st), (val))
  1158. # define sk_POLICYINFO_find_ex(st, val) SKM_sk_find_ex(POLICYINFO, (st), (val))
  1159. # define sk_POLICYINFO_delete(st, i) SKM_sk_delete(POLICYINFO, (st), (i))
  1160. # define sk_POLICYINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYINFO, (st), (ptr))
  1161. # define sk_POLICYINFO_insert(st, val, i) SKM_sk_insert(POLICYINFO, (st), (val), (i))
  1162. # define sk_POLICYINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYINFO, (st), (cmp))
  1163. # define sk_POLICYINFO_dup(st) SKM_sk_dup(POLICYINFO, st)
  1164. # define sk_POLICYINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYINFO, (st), (free_func))
  1165. # define sk_POLICYINFO_shift(st) SKM_sk_shift(POLICYINFO, (st))
  1166. # define sk_POLICYINFO_pop(st) SKM_sk_pop(POLICYINFO, (st))
  1167. # define sk_POLICYINFO_sort(st) SKM_sk_sort(POLICYINFO, (st))
  1168. # define sk_POLICYINFO_is_sorted(st) SKM_sk_is_sorted(POLICYINFO, (st))
  1169. # define sk_POLICYQUALINFO_new(st) SKM_sk_new(POLICYQUALINFO, (st))
  1170. # define sk_POLICYQUALINFO_new_null() SKM_sk_new_null(POLICYQUALINFO)
  1171. # define sk_POLICYQUALINFO_free(st) SKM_sk_free(POLICYQUALINFO, (st))
  1172. # define sk_POLICYQUALINFO_num(st) SKM_sk_num(POLICYQUALINFO, (st))
  1173. # define sk_POLICYQUALINFO_value(st, i) SKM_sk_value(POLICYQUALINFO, (st), (i))
  1174. # define sk_POLICYQUALINFO_set(st, i, val) SKM_sk_set(POLICYQUALINFO, (st), (i), (val))
  1175. # define sk_POLICYQUALINFO_zero(st) SKM_sk_zero(POLICYQUALINFO, (st))
  1176. # define sk_POLICYQUALINFO_push(st, val) SKM_sk_push(POLICYQUALINFO, (st), (val))
  1177. # define sk_POLICYQUALINFO_unshift(st, val) SKM_sk_unshift(POLICYQUALINFO, (st), (val))
  1178. # define sk_POLICYQUALINFO_find(st, val) SKM_sk_find(POLICYQUALINFO, (st), (val))
  1179. # define sk_POLICYQUALINFO_find_ex(st, val) SKM_sk_find_ex(POLICYQUALINFO, (st), (val))
  1180. # define sk_POLICYQUALINFO_delete(st, i) SKM_sk_delete(POLICYQUALINFO, (st), (i))
  1181. # define sk_POLICYQUALINFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICYQUALINFO, (st), (ptr))
  1182. # define sk_POLICYQUALINFO_insert(st, val, i) SKM_sk_insert(POLICYQUALINFO, (st), (val), (i))
  1183. # define sk_POLICYQUALINFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICYQUALINFO, (st), (cmp))
  1184. # define sk_POLICYQUALINFO_dup(st) SKM_sk_dup(POLICYQUALINFO, st)
  1185. # define sk_POLICYQUALINFO_pop_free(st, free_func) SKM_sk_pop_free(POLICYQUALINFO, (st), (free_func))
  1186. # define sk_POLICYQUALINFO_shift(st) SKM_sk_shift(POLICYQUALINFO, (st))
  1187. # define sk_POLICYQUALINFO_pop(st) SKM_sk_pop(POLICYQUALINFO, (st))
  1188. # define sk_POLICYQUALINFO_sort(st) SKM_sk_sort(POLICYQUALINFO, (st))
  1189. # define sk_POLICYQUALINFO_is_sorted(st) SKM_sk_is_sorted(POLICYQUALINFO, (st))
  1190. # define sk_POLICY_MAPPING_new(st) SKM_sk_new(POLICY_MAPPING, (st))
  1191. # define sk_POLICY_MAPPING_new_null() SKM_sk_new_null(POLICY_MAPPING)
  1192. # define sk_POLICY_MAPPING_free(st) SKM_sk_free(POLICY_MAPPING, (st))
  1193. # define sk_POLICY_MAPPING_num(st) SKM_sk_num(POLICY_MAPPING, (st))
  1194. # define sk_POLICY_MAPPING_value(st, i) SKM_sk_value(POLICY_MAPPING, (st), (i))
  1195. # define sk_POLICY_MAPPING_set(st, i, val) SKM_sk_set(POLICY_MAPPING, (st), (i), (val))
  1196. # define sk_POLICY_MAPPING_zero(st) SKM_sk_zero(POLICY_MAPPING, (st))
  1197. # define sk_POLICY_MAPPING_push(st, val) SKM_sk_push(POLICY_MAPPING, (st), (val))
  1198. # define sk_POLICY_MAPPING_unshift(st, val) SKM_sk_unshift(POLICY_MAPPING, (st), (val))
  1199. # define sk_POLICY_MAPPING_find(st, val) SKM_sk_find(POLICY_MAPPING, (st), (val))
  1200. # define sk_POLICY_MAPPING_find_ex(st, val) SKM_sk_find_ex(POLICY_MAPPING, (st), (val))
  1201. # define sk_POLICY_MAPPING_delete(st, i) SKM_sk_delete(POLICY_MAPPING, (st), (i))
  1202. # define sk_POLICY_MAPPING_delete_ptr(st, ptr) SKM_sk_delete_ptr(POLICY_MAPPING, (st), (ptr))
  1203. # define sk_POLICY_MAPPING_insert(st, val, i) SKM_sk_insert(POLICY_MAPPING, (st), (val), (i))
  1204. # define sk_POLICY_MAPPING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(POLICY_MAPPING, (st), (cmp))
  1205. # define sk_POLICY_MAPPING_dup(st) SKM_sk_dup(POLICY_MAPPING, st)
  1206. # define sk_POLICY_MAPPING_pop_free(st, free_func) SKM_sk_pop_free(POLICY_MAPPING, (st), (free_func))
  1207. # define sk_POLICY_MAPPING_shift(st) SKM_sk_shift(POLICY_MAPPING, (st))
  1208. # define sk_POLICY_MAPPING_pop(st) SKM_sk_pop(POLICY_MAPPING, (st))
  1209. # define sk_POLICY_MAPPING_sort(st) SKM_sk_sort(POLICY_MAPPING, (st))
  1210. # define sk_POLICY_MAPPING_is_sorted(st) SKM_sk_is_sorted(POLICY_MAPPING, (st))
  1211. # define sk_SSL_CIPHER_new(st) SKM_sk_new(SSL_CIPHER, (st))
  1212. # define sk_SSL_CIPHER_new_null() SKM_sk_new_null(SSL_CIPHER)
  1213. # define sk_SSL_CIPHER_free(st) SKM_sk_free(SSL_CIPHER, (st))
  1214. # define sk_SSL_CIPHER_num(st) SKM_sk_num(SSL_CIPHER, (st))
  1215. # define sk_SSL_CIPHER_value(st, i) SKM_sk_value(SSL_CIPHER, (st), (i))
  1216. # define sk_SSL_CIPHER_set(st, i, val) SKM_sk_set(SSL_CIPHER, (st), (i), (val))
  1217. # define sk_SSL_CIPHER_zero(st) SKM_sk_zero(SSL_CIPHER, (st))
  1218. # define sk_SSL_CIPHER_push(st, val) SKM_sk_push(SSL_CIPHER, (st), (val))
  1219. # define sk_SSL_CIPHER_unshift(st, val) SKM_sk_unshift(SSL_CIPHER, (st), (val))
  1220. # define sk_SSL_CIPHER_find(st, val) SKM_sk_find(SSL_CIPHER, (st), (val))
  1221. # define sk_SSL_CIPHER_find_ex(st, val) SKM_sk_find_ex(SSL_CIPHER, (st), (val))
  1222. # define sk_SSL_CIPHER_delete(st, i) SKM_sk_delete(SSL_CIPHER, (st), (i))
  1223. # define sk_SSL_CIPHER_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_CIPHER, (st), (ptr))
  1224. # define sk_SSL_CIPHER_insert(st, val, i) SKM_sk_insert(SSL_CIPHER, (st), (val), (i))
  1225. # define sk_SSL_CIPHER_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_CIPHER, (st), (cmp))
  1226. # define sk_SSL_CIPHER_dup(st) SKM_sk_dup(SSL_CIPHER, st)
  1227. # define sk_SSL_CIPHER_pop_free(st, free_func) SKM_sk_pop_free(SSL_CIPHER, (st), (free_func))
  1228. # define sk_SSL_CIPHER_shift(st) SKM_sk_shift(SSL_CIPHER, (st))
  1229. # define sk_SSL_CIPHER_pop(st) SKM_sk_pop(SSL_CIPHER, (st))
  1230. # define sk_SSL_CIPHER_sort(st) SKM_sk_sort(SSL_CIPHER, (st))
  1231. # define sk_SSL_CIPHER_is_sorted(st) SKM_sk_is_sorted(SSL_CIPHER, (st))
  1232. # define sk_SSL_COMP_new(st) SKM_sk_new(SSL_COMP, (st))
  1233. # define sk_SSL_COMP_new_null() SKM_sk_new_null(SSL_COMP)
  1234. # define sk_SSL_COMP_free(st) SKM_sk_free(SSL_COMP, (st))
  1235. # define sk_SSL_COMP_num(st) SKM_sk_num(SSL_COMP, (st))
  1236. # define sk_SSL_COMP_value(st, i) SKM_sk_value(SSL_COMP, (st), (i))
  1237. # define sk_SSL_COMP_set(st, i, val) SKM_sk_set(SSL_COMP, (st), (i), (val))
  1238. # define sk_SSL_COMP_zero(st) SKM_sk_zero(SSL_COMP, (st))
  1239. # define sk_SSL_COMP_push(st, val) SKM_sk_push(SSL_COMP, (st), (val))
  1240. # define sk_SSL_COMP_unshift(st, val) SKM_sk_unshift(SSL_COMP, (st), (val))
  1241. # define sk_SSL_COMP_find(st, val) SKM_sk_find(SSL_COMP, (st), (val))
  1242. # define sk_SSL_COMP_find_ex(st, val) SKM_sk_find_ex(SSL_COMP, (st), (val))
  1243. # define sk_SSL_COMP_delete(st, i) SKM_sk_delete(SSL_COMP, (st), (i))
  1244. # define sk_SSL_COMP_delete_ptr(st, ptr) SKM_sk_delete_ptr(SSL_COMP, (st), (ptr))
  1245. # define sk_SSL_COMP_insert(st, val, i) SKM_sk_insert(SSL_COMP, (st), (val), (i))
  1246. # define sk_SSL_COMP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SSL_COMP, (st), (cmp))
  1247. # define sk_SSL_COMP_dup(st) SKM_sk_dup(SSL_COMP, st)
  1248. # define sk_SSL_COMP_pop_free(st, free_func) SKM_sk_pop_free(SSL_COMP, (st), (free_func))
  1249. # define sk_SSL_COMP_shift(st) SKM_sk_shift(SSL_COMP, (st))
  1250. # define sk_SSL_COMP_pop(st) SKM_sk_pop(SSL_COMP, (st))
  1251. # define sk_SSL_COMP_sort(st) SKM_sk_sort(SSL_COMP, (st))
  1252. # define sk_SSL_COMP_is_sorted(st) SKM_sk_is_sorted(SSL_COMP, (st))
  1253. # define sk_STORE_OBJECT_new(st) SKM_sk_new(STORE_OBJECT, (st))
  1254. # define sk_STORE_OBJECT_new_null() SKM_sk_new_null(STORE_OBJECT)
  1255. # define sk_STORE_OBJECT_free(st) SKM_sk_free(STORE_OBJECT, (st))
  1256. # define sk_STORE_OBJECT_num(st) SKM_sk_num(STORE_OBJECT, (st))
  1257. # define sk_STORE_OBJECT_value(st, i) SKM_sk_value(STORE_OBJECT, (st), (i))
  1258. # define sk_STORE_OBJECT_set(st, i, val) SKM_sk_set(STORE_OBJECT, (st), (i), (val))
  1259. # define sk_STORE_OBJECT_zero(st) SKM_sk_zero(STORE_OBJECT, (st))
  1260. # define sk_STORE_OBJECT_push(st, val) SKM_sk_push(STORE_OBJECT, (st), (val))
  1261. # define sk_STORE_OBJECT_unshift(st, val) SKM_sk_unshift(STORE_OBJECT, (st), (val))
  1262. # define sk_STORE_OBJECT_find(st, val) SKM_sk_find(STORE_OBJECT, (st), (val))
  1263. # define sk_STORE_OBJECT_find_ex(st, val) SKM_sk_find_ex(STORE_OBJECT, (st), (val))
  1264. # define sk_STORE_OBJECT_delete(st, i) SKM_sk_delete(STORE_OBJECT, (st), (i))
  1265. # define sk_STORE_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(STORE_OBJECT, (st), (ptr))
  1266. # define sk_STORE_OBJECT_insert(st, val, i) SKM_sk_insert(STORE_OBJECT, (st), (val), (i))
  1267. # define sk_STORE_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(STORE_OBJECT, (st), (cmp))
  1268. # define sk_STORE_OBJECT_dup(st) SKM_sk_dup(STORE_OBJECT, st)
  1269. # define sk_STORE_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(STORE_OBJECT, (st), (free_func))
  1270. # define sk_STORE_OBJECT_shift(st) SKM_sk_shift(STORE_OBJECT, (st))
  1271. # define sk_STORE_OBJECT_pop(st) SKM_sk_pop(STORE_OBJECT, (st))
  1272. # define sk_STORE_OBJECT_sort(st) SKM_sk_sort(STORE_OBJECT, (st))
  1273. # define sk_STORE_OBJECT_is_sorted(st) SKM_sk_is_sorted(STORE_OBJECT, (st))
  1274. # define sk_SXNETID_new(st) SKM_sk_new(SXNETID, (st))
  1275. # define sk_SXNETID_new_null() SKM_sk_new_null(SXNETID)
  1276. # define sk_SXNETID_free(st) SKM_sk_free(SXNETID, (st))
  1277. # define sk_SXNETID_num(st) SKM_sk_num(SXNETID, (st))
  1278. # define sk_SXNETID_value(st, i) SKM_sk_value(SXNETID, (st), (i))
  1279. # define sk_SXNETID_set(st, i, val) SKM_sk_set(SXNETID, (st), (i), (val))
  1280. # define sk_SXNETID_zero(st) SKM_sk_zero(SXNETID, (st))
  1281. # define sk_SXNETID_push(st, val) SKM_sk_push(SXNETID, (st), (val))
  1282. # define sk_SXNETID_unshift(st, val) SKM_sk_unshift(SXNETID, (st), (val))
  1283. # define sk_SXNETID_find(st, val) SKM_sk_find(SXNETID, (st), (val))
  1284. # define sk_SXNETID_find_ex(st, val) SKM_sk_find_ex(SXNETID, (st), (val))
  1285. # define sk_SXNETID_delete(st, i) SKM_sk_delete(SXNETID, (st), (i))
  1286. # define sk_SXNETID_delete_ptr(st, ptr) SKM_sk_delete_ptr(SXNETID, (st), (ptr))
  1287. # define sk_SXNETID_insert(st, val, i) SKM_sk_insert(SXNETID, (st), (val), (i))
  1288. # define sk_SXNETID_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(SXNETID, (st), (cmp))
  1289. # define sk_SXNETID_dup(st) SKM_sk_dup(SXNETID, st)
  1290. # define sk_SXNETID_pop_free(st, free_func) SKM_sk_pop_free(SXNETID, (st), (free_func))
  1291. # define sk_SXNETID_shift(st) SKM_sk_shift(SXNETID, (st))
  1292. # define sk_SXNETID_pop(st) SKM_sk_pop(SXNETID, (st))
  1293. # define sk_SXNETID_sort(st) SKM_sk_sort(SXNETID, (st))
  1294. # define sk_SXNETID_is_sorted(st) SKM_sk_is_sorted(SXNETID, (st))
  1295. # define sk_UI_STRING_new(st) SKM_sk_new(UI_STRING, (st))
  1296. # define sk_UI_STRING_new_null() SKM_sk_new_null(UI_STRING)
  1297. # define sk_UI_STRING_free(st) SKM_sk_free(UI_STRING, (st))
  1298. # define sk_UI_STRING_num(st) SKM_sk_num(UI_STRING, (st))
  1299. # define sk_UI_STRING_value(st, i) SKM_sk_value(UI_STRING, (st), (i))
  1300. # define sk_UI_STRING_set(st, i, val) SKM_sk_set(UI_STRING, (st), (i), (val))
  1301. # define sk_UI_STRING_zero(st) SKM_sk_zero(UI_STRING, (st))
  1302. # define sk_UI_STRING_push(st, val) SKM_sk_push(UI_STRING, (st), (val))
  1303. # define sk_UI_STRING_unshift(st, val) SKM_sk_unshift(UI_STRING, (st), (val))
  1304. # define sk_UI_STRING_find(st, val) SKM_sk_find(UI_STRING, (st), (val))
  1305. # define sk_UI_STRING_find_ex(st, val) SKM_sk_find_ex(UI_STRING, (st), (val))
  1306. # define sk_UI_STRING_delete(st, i) SKM_sk_delete(UI_STRING, (st), (i))
  1307. # define sk_UI_STRING_delete_ptr(st, ptr) SKM_sk_delete_ptr(UI_STRING, (st), (ptr))
  1308. # define sk_UI_STRING_insert(st, val, i) SKM_sk_insert(UI_STRING, (st), (val), (i))
  1309. # define sk_UI_STRING_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(UI_STRING, (st), (cmp))
  1310. # define sk_UI_STRING_dup(st) SKM_sk_dup(UI_STRING, st)
  1311. # define sk_UI_STRING_pop_free(st, free_func) SKM_sk_pop_free(UI_STRING, (st), (free_func))
  1312. # define sk_UI_STRING_shift(st) SKM_sk_shift(UI_STRING, (st))
  1313. # define sk_UI_STRING_pop(st) SKM_sk_pop(UI_STRING, (st))
  1314. # define sk_UI_STRING_sort(st) SKM_sk_sort(UI_STRING, (st))
  1315. # define sk_UI_STRING_is_sorted(st) SKM_sk_is_sorted(UI_STRING, (st))
  1316. # define sk_X509_new(st) SKM_sk_new(X509, (st))
  1317. # define sk_X509_new_null() SKM_sk_new_null(X509)
  1318. # define sk_X509_free(st) SKM_sk_free(X509, (st))
  1319. # define sk_X509_num(st) SKM_sk_num(X509, (st))
  1320. # define sk_X509_value(st, i) SKM_sk_value(X509, (st), (i))
  1321. # define sk_X509_set(st, i, val) SKM_sk_set(X509, (st), (i), (val))
  1322. # define sk_X509_zero(st) SKM_sk_zero(X509, (st))
  1323. # define sk_X509_push(st, val) SKM_sk_push(X509, (st), (val))
  1324. # define sk_X509_unshift(st, val) SKM_sk_unshift(X509, (st), (val))
  1325. # define sk_X509_find(st, val) SKM_sk_find(X509, (st), (val))
  1326. # define sk_X509_find_ex(st, val) SKM_sk_find_ex(X509, (st), (val))
  1327. # define sk_X509_delete(st, i) SKM_sk_delete(X509, (st), (i))
  1328. # define sk_X509_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509, (st), (ptr))
  1329. # define sk_X509_insert(st, val, i) SKM_sk_insert(X509, (st), (val), (i))
  1330. # define sk_X509_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509, (st), (cmp))
  1331. # define sk_X509_dup(st) SKM_sk_dup(X509, st)
  1332. # define sk_X509_pop_free(st, free_func) SKM_sk_pop_free(X509, (st), (free_func))
  1333. # define sk_X509_shift(st) SKM_sk_shift(X509, (st))
  1334. # define sk_X509_pop(st) SKM_sk_pop(X509, (st))
  1335. # define sk_X509_sort(st) SKM_sk_sort(X509, (st))
  1336. # define sk_X509_is_sorted(st) SKM_sk_is_sorted(X509, (st))
  1337. # define sk_X509V3_EXT_METHOD_new(st) SKM_sk_new(X509V3_EXT_METHOD, (st))
  1338. # define sk_X509V3_EXT_METHOD_new_null() SKM_sk_new_null(X509V3_EXT_METHOD)
  1339. # define sk_X509V3_EXT_METHOD_free(st) SKM_sk_free(X509V3_EXT_METHOD, (st))
  1340. # define sk_X509V3_EXT_METHOD_num(st) SKM_sk_num(X509V3_EXT_METHOD, (st))
  1341. # define sk_X509V3_EXT_METHOD_value(st, i) SKM_sk_value(X509V3_EXT_METHOD, (st), (i))
  1342. # define sk_X509V3_EXT_METHOD_set(st, i, val) SKM_sk_set(X509V3_EXT_METHOD, (st), (i), (val))
  1343. # define sk_X509V3_EXT_METHOD_zero(st) SKM_sk_zero(X509V3_EXT_METHOD, (st))
  1344. # define sk_X509V3_EXT_METHOD_push(st, val) SKM_sk_push(X509V3_EXT_METHOD, (st), (val))
  1345. # define sk_X509V3_EXT_METHOD_unshift(st, val) SKM_sk_unshift(X509V3_EXT_METHOD, (st), (val))
  1346. # define sk_X509V3_EXT_METHOD_find(st, val) SKM_sk_find(X509V3_EXT_METHOD, (st), (val))
  1347. # define sk_X509V3_EXT_METHOD_find_ex(st, val) SKM_sk_find_ex(X509V3_EXT_METHOD, (st), (val))
  1348. # define sk_X509V3_EXT_METHOD_delete(st, i) SKM_sk_delete(X509V3_EXT_METHOD, (st), (i))
  1349. # define sk_X509V3_EXT_METHOD_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509V3_EXT_METHOD, (st), (ptr))
  1350. # define sk_X509V3_EXT_METHOD_insert(st, val, i) SKM_sk_insert(X509V3_EXT_METHOD, (st), (val), (i))
  1351. # define sk_X509V3_EXT_METHOD_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509V3_EXT_METHOD, (st), (cmp))
  1352. # define sk_X509V3_EXT_METHOD_dup(st) SKM_sk_dup(X509V3_EXT_METHOD, st)
  1353. # define sk_X509V3_EXT_METHOD_pop_free(st, free_func) SKM_sk_pop_free(X509V3_EXT_METHOD, (st), (free_func))
  1354. # define sk_X509V3_EXT_METHOD_shift(st) SKM_sk_shift(X509V3_EXT_METHOD, (st))
  1355. # define sk_X509V3_EXT_METHOD_pop(st) SKM_sk_pop(X509V3_EXT_METHOD, (st))
  1356. # define sk_X509V3_EXT_METHOD_sort(st) SKM_sk_sort(X509V3_EXT_METHOD, (st))
  1357. # define sk_X509V3_EXT_METHOD_is_sorted(st) SKM_sk_is_sorted(X509V3_EXT_METHOD, (st))
  1358. # define sk_X509_ALGOR_new(st) SKM_sk_new(X509_ALGOR, (st))
  1359. # define sk_X509_ALGOR_new_null() SKM_sk_new_null(X509_ALGOR)
  1360. # define sk_X509_ALGOR_free(st) SKM_sk_free(X509_ALGOR, (st))
  1361. # define sk_X509_ALGOR_num(st) SKM_sk_num(X509_ALGOR, (st))
  1362. # define sk_X509_ALGOR_value(st, i) SKM_sk_value(X509_ALGOR, (st), (i))
  1363. # define sk_X509_ALGOR_set(st, i, val) SKM_sk_set(X509_ALGOR, (st), (i), (val))
  1364. # define sk_X509_ALGOR_zero(st) SKM_sk_zero(X509_ALGOR, (st))
  1365. # define sk_X509_ALGOR_push(st, val) SKM_sk_push(X509_ALGOR, (st), (val))
  1366. # define sk_X509_ALGOR_unshift(st, val) SKM_sk_unshift(X509_ALGOR, (st), (val))
  1367. # define sk_X509_ALGOR_find(st, val) SKM_sk_find(X509_ALGOR, (st), (val))
  1368. # define sk_X509_ALGOR_find_ex(st, val) SKM_sk_find_ex(X509_ALGOR, (st), (val))
  1369. # define sk_X509_ALGOR_delete(st, i) SKM_sk_delete(X509_ALGOR, (st), (i))
  1370. # define sk_X509_ALGOR_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ALGOR, (st), (ptr))
  1371. # define sk_X509_ALGOR_insert(st, val, i) SKM_sk_insert(X509_ALGOR, (st), (val), (i))
  1372. # define sk_X509_ALGOR_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ALGOR, (st), (cmp))
  1373. # define sk_X509_ALGOR_dup(st) SKM_sk_dup(X509_ALGOR, st)
  1374. # define sk_X509_ALGOR_pop_free(st, free_func) SKM_sk_pop_free(X509_ALGOR, (st), (free_func))
  1375. # define sk_X509_ALGOR_shift(st) SKM_sk_shift(X509_ALGOR, (st))
  1376. # define sk_X509_ALGOR_pop(st) SKM_sk_pop(X509_ALGOR, (st))
  1377. # define sk_X509_ALGOR_sort(st) SKM_sk_sort(X509_ALGOR, (st))
  1378. # define sk_X509_ALGOR_is_sorted(st) SKM_sk_is_sorted(X509_ALGOR, (st))
  1379. # define sk_X509_ATTRIBUTE_new(st) SKM_sk_new(X509_ATTRIBUTE, (st))
  1380. # define sk_X509_ATTRIBUTE_new_null() SKM_sk_new_null(X509_ATTRIBUTE)
  1381. # define sk_X509_ATTRIBUTE_free(st) SKM_sk_free(X509_ATTRIBUTE, (st))
  1382. # define sk_X509_ATTRIBUTE_num(st) SKM_sk_num(X509_ATTRIBUTE, (st))
  1383. # define sk_X509_ATTRIBUTE_value(st, i) SKM_sk_value(X509_ATTRIBUTE, (st), (i))
  1384. # define sk_X509_ATTRIBUTE_set(st, i, val) SKM_sk_set(X509_ATTRIBUTE, (st), (i), (val))
  1385. # define sk_X509_ATTRIBUTE_zero(st) SKM_sk_zero(X509_ATTRIBUTE, (st))
  1386. # define sk_X509_ATTRIBUTE_push(st, val) SKM_sk_push(X509_ATTRIBUTE, (st), (val))
  1387. # define sk_X509_ATTRIBUTE_unshift(st, val) SKM_sk_unshift(X509_ATTRIBUTE, (st), (val))
  1388. # define sk_X509_ATTRIBUTE_find(st, val) SKM_sk_find(X509_ATTRIBUTE, (st), (val))
  1389. # define sk_X509_ATTRIBUTE_find_ex(st, val) SKM_sk_find_ex(X509_ATTRIBUTE, (st), (val))
  1390. # define sk_X509_ATTRIBUTE_delete(st, i) SKM_sk_delete(X509_ATTRIBUTE, (st), (i))
  1391. # define sk_X509_ATTRIBUTE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_ATTRIBUTE, (st), (ptr))
  1392. # define sk_X509_ATTRIBUTE_insert(st, val, i) SKM_sk_insert(X509_ATTRIBUTE, (st), (val), (i))
  1393. # define sk_X509_ATTRIBUTE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_ATTRIBUTE, (st), (cmp))
  1394. # define sk_X509_ATTRIBUTE_dup(st) SKM_sk_dup(X509_ATTRIBUTE, st)
  1395. # define sk_X509_ATTRIBUTE_pop_free(st, free_func) SKM_sk_pop_free(X509_ATTRIBUTE, (st), (free_func))
  1396. # define sk_X509_ATTRIBUTE_shift(st) SKM_sk_shift(X509_ATTRIBUTE, (st))
  1397. # define sk_X509_ATTRIBUTE_pop(st) SKM_sk_pop(X509_ATTRIBUTE, (st))
  1398. # define sk_X509_ATTRIBUTE_sort(st) SKM_sk_sort(X509_ATTRIBUTE, (st))
  1399. # define sk_X509_ATTRIBUTE_is_sorted(st) SKM_sk_is_sorted(X509_ATTRIBUTE, (st))
  1400. # define sk_X509_CRL_new(st) SKM_sk_new(X509_CRL, (st))
  1401. # define sk_X509_CRL_new_null() SKM_sk_new_null(X509_CRL)
  1402. # define sk_X509_CRL_free(st) SKM_sk_free(X509_CRL, (st))
  1403. # define sk_X509_CRL_num(st) SKM_sk_num(X509_CRL, (st))
  1404. # define sk_X509_CRL_value(st, i) SKM_sk_value(X509_CRL, (st), (i))
  1405. # define sk_X509_CRL_set(st, i, val) SKM_sk_set(X509_CRL, (st), (i), (val))
  1406. # define sk_X509_CRL_zero(st) SKM_sk_zero(X509_CRL, (st))
  1407. # define sk_X509_CRL_push(st, val) SKM_sk_push(X509_CRL, (st), (val))
  1408. # define sk_X509_CRL_unshift(st, val) SKM_sk_unshift(X509_CRL, (st), (val))
  1409. # define sk_X509_CRL_find(st, val) SKM_sk_find(X509_CRL, (st), (val))
  1410. # define sk_X509_CRL_find_ex(st, val) SKM_sk_find_ex(X509_CRL, (st), (val))
  1411. # define sk_X509_CRL_delete(st, i) SKM_sk_delete(X509_CRL, (st), (i))
  1412. # define sk_X509_CRL_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_CRL, (st), (ptr))
  1413. # define sk_X509_CRL_insert(st, val, i) SKM_sk_insert(X509_CRL, (st), (val), (i))
  1414. # define sk_X509_CRL_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_CRL, (st), (cmp))
  1415. # define sk_X509_CRL_dup(st) SKM_sk_dup(X509_CRL, st)
  1416. # define sk_X509_CRL_pop_free(st, free_func) SKM_sk_pop_free(X509_CRL, (st), (free_func))
  1417. # define sk_X509_CRL_shift(st) SKM_sk_shift(X509_CRL, (st))
  1418. # define sk_X509_CRL_pop(st) SKM_sk_pop(X509_CRL, (st))
  1419. # define sk_X509_CRL_sort(st) SKM_sk_sort(X509_CRL, (st))
  1420. # define sk_X509_CRL_is_sorted(st) SKM_sk_is_sorted(X509_CRL, (st))
  1421. # define sk_X509_EXTENSION_new(st) SKM_sk_new(X509_EXTENSION, (st))
  1422. # define sk_X509_EXTENSION_new_null() SKM_sk_new_null(X509_EXTENSION)
  1423. # define sk_X509_EXTENSION_free(st) SKM_sk_free(X509_EXTENSION, (st))
  1424. # define sk_X509_EXTENSION_num(st) SKM_sk_num(X509_EXTENSION, (st))
  1425. # define sk_X509_EXTENSION_value(st, i) SKM_sk_value(X509_EXTENSION, (st), (i))
  1426. # define sk_X509_EXTENSION_set(st, i, val) SKM_sk_set(X509_EXTENSION, (st), (i), (val))
  1427. # define sk_X509_EXTENSION_zero(st) SKM_sk_zero(X509_EXTENSION, (st))
  1428. # define sk_X509_EXTENSION_push(st, val) SKM_sk_push(X509_EXTENSION, (st), (val))
  1429. # define sk_X509_EXTENSION_unshift(st, val) SKM_sk_unshift(X509_EXTENSION, (st), (val))
  1430. # define sk_X509_EXTENSION_find(st, val) SKM_sk_find(X509_EXTENSION, (st), (val))
  1431. # define sk_X509_EXTENSION_find_ex(st, val) SKM_sk_find_ex(X509_EXTENSION, (st), (val))
  1432. # define sk_X509_EXTENSION_delete(st, i) SKM_sk_delete(X509_EXTENSION, (st), (i))
  1433. # define sk_X509_EXTENSION_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_EXTENSION, (st), (ptr))
  1434. # define sk_X509_EXTENSION_insert(st, val, i) SKM_sk_insert(X509_EXTENSION, (st), (val), (i))
  1435. # define sk_X509_EXTENSION_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_EXTENSION, (st), (cmp))
  1436. # define sk_X509_EXTENSION_dup(st) SKM_sk_dup(X509_EXTENSION, st)
  1437. # define sk_X509_EXTENSION_pop_free(st, free_func) SKM_sk_pop_free(X509_EXTENSION, (st), (free_func))
  1438. # define sk_X509_EXTENSION_shift(st) SKM_sk_shift(X509_EXTENSION, (st))
  1439. # define sk_X509_EXTENSION_pop(st) SKM_sk_pop(X509_EXTENSION, (st))
  1440. # define sk_X509_EXTENSION_sort(st) SKM_sk_sort(X509_EXTENSION, (st))
  1441. # define sk_X509_EXTENSION_is_sorted(st) SKM_sk_is_sorted(X509_EXTENSION, (st))
  1442. # define sk_X509_INFO_new(st) SKM_sk_new(X509_INFO, (st))
  1443. # define sk_X509_INFO_new_null() SKM_sk_new_null(X509_INFO)
  1444. # define sk_X509_INFO_free(st) SKM_sk_free(X509_INFO, (st))
  1445. # define sk_X509_INFO_num(st) SKM_sk_num(X509_INFO, (st))
  1446. # define sk_X509_INFO_value(st, i) SKM_sk_value(X509_INFO, (st), (i))
  1447. # define sk_X509_INFO_set(st, i, val) SKM_sk_set(X509_INFO, (st), (i), (val))
  1448. # define sk_X509_INFO_zero(st) SKM_sk_zero(X509_INFO, (st))
  1449. # define sk_X509_INFO_push(st, val) SKM_sk_push(X509_INFO, (st), (val))
  1450. # define sk_X509_INFO_unshift(st, val) SKM_sk_unshift(X509_INFO, (st), (val))
  1451. # define sk_X509_INFO_find(st, val) SKM_sk_find(X509_INFO, (st), (val))
  1452. # define sk_X509_INFO_find_ex(st, val) SKM_sk_find_ex(X509_INFO, (st), (val))
  1453. # define sk_X509_INFO_delete(st, i) SKM_sk_delete(X509_INFO, (st), (i))
  1454. # define sk_X509_INFO_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_INFO, (st), (ptr))
  1455. # define sk_X509_INFO_insert(st, val, i) SKM_sk_insert(X509_INFO, (st), (val), (i))
  1456. # define sk_X509_INFO_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_INFO, (st), (cmp))
  1457. # define sk_X509_INFO_dup(st) SKM_sk_dup(X509_INFO, st)
  1458. # define sk_X509_INFO_pop_free(st, free_func) SKM_sk_pop_free(X509_INFO, (st), (free_func))
  1459. # define sk_X509_INFO_shift(st) SKM_sk_shift(X509_INFO, (st))
  1460. # define sk_X509_INFO_pop(st) SKM_sk_pop(X509_INFO, (st))
  1461. # define sk_X509_INFO_sort(st) SKM_sk_sort(X509_INFO, (st))
  1462. # define sk_X509_INFO_is_sorted(st) SKM_sk_is_sorted(X509_INFO, (st))
  1463. # define sk_X509_LOOKUP_new(st) SKM_sk_new(X509_LOOKUP, (st))
  1464. # define sk_X509_LOOKUP_new_null() SKM_sk_new_null(X509_LOOKUP)
  1465. # define sk_X509_LOOKUP_free(st) SKM_sk_free(X509_LOOKUP, (st))
  1466. # define sk_X509_LOOKUP_num(st) SKM_sk_num(X509_LOOKUP, (st))
  1467. # define sk_X509_LOOKUP_value(st, i) SKM_sk_value(X509_LOOKUP, (st), (i))
  1468. # define sk_X509_LOOKUP_set(st, i, val) SKM_sk_set(X509_LOOKUP, (st), (i), (val))
  1469. # define sk_X509_LOOKUP_zero(st) SKM_sk_zero(X509_LOOKUP, (st))
  1470. # define sk_X509_LOOKUP_push(st, val) SKM_sk_push(X509_LOOKUP, (st), (val))
  1471. # define sk_X509_LOOKUP_unshift(st, val) SKM_sk_unshift(X509_LOOKUP, (st), (val))
  1472. # define sk_X509_LOOKUP_find(st, val) SKM_sk_find(X509_LOOKUP, (st), (val))
  1473. # define sk_X509_LOOKUP_find_ex(st, val) SKM_sk_find_ex(X509_LOOKUP, (st), (val))
  1474. # define sk_X509_LOOKUP_delete(st, i) SKM_sk_delete(X509_LOOKUP, (st), (i))
  1475. # define sk_X509_LOOKUP_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_LOOKUP, (st), (ptr))
  1476. # define sk_X509_LOOKUP_insert(st, val, i) SKM_sk_insert(X509_LOOKUP, (st), (val), (i))
  1477. # define sk_X509_LOOKUP_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_LOOKUP, (st), (cmp))
  1478. # define sk_X509_LOOKUP_dup(st) SKM_sk_dup(X509_LOOKUP, st)
  1479. # define sk_X509_LOOKUP_pop_free(st, free_func) SKM_sk_pop_free(X509_LOOKUP, (st), (free_func))
  1480. # define sk_X509_LOOKUP_shift(st) SKM_sk_shift(X509_LOOKUP, (st))
  1481. # define sk_X509_LOOKUP_pop(st) SKM_sk_pop(X509_LOOKUP, (st))
  1482. # define sk_X509_LOOKUP_sort(st) SKM_sk_sort(X509_LOOKUP, (st))
  1483. # define sk_X509_LOOKUP_is_sorted(st) SKM_sk_is_sorted(X509_LOOKUP, (st))
  1484. # define sk_X509_NAME_new(st) SKM_sk_new(X509_NAME, (st))
  1485. # define sk_X509_NAME_new_null() SKM_sk_new_null(X509_NAME)
  1486. # define sk_X509_NAME_free(st) SKM_sk_free(X509_NAME, (st))
  1487. # define sk_X509_NAME_num(st) SKM_sk_num(X509_NAME, (st))
  1488. # define sk_X509_NAME_value(st, i) SKM_sk_value(X509_NAME, (st), (i))
  1489. # define sk_X509_NAME_set(st, i, val) SKM_sk_set(X509_NAME, (st), (i), (val))
  1490. # define sk_X509_NAME_zero(st) SKM_sk_zero(X509_NAME, (st))
  1491. # define sk_X509_NAME_push(st, val) SKM_sk_push(X509_NAME, (st), (val))
  1492. # define sk_X509_NAME_unshift(st, val) SKM_sk_unshift(X509_NAME, (st), (val))
  1493. # define sk_X509_NAME_find(st, val) SKM_sk_find(X509_NAME, (st), (val))
  1494. # define sk_X509_NAME_find_ex(st, val) SKM_sk_find_ex(X509_NAME, (st), (val))
  1495. # define sk_X509_NAME_delete(st, i) SKM_sk_delete(X509_NAME, (st), (i))
  1496. # define sk_X509_NAME_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME, (st), (ptr))
  1497. # define sk_X509_NAME_insert(st, val, i) SKM_sk_insert(X509_NAME, (st), (val), (i))
  1498. # define sk_X509_NAME_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME, (st), (cmp))
  1499. # define sk_X509_NAME_dup(st) SKM_sk_dup(X509_NAME, st)
  1500. # define sk_X509_NAME_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME, (st), (free_func))
  1501. # define sk_X509_NAME_shift(st) SKM_sk_shift(X509_NAME, (st))
  1502. # define sk_X509_NAME_pop(st) SKM_sk_pop(X509_NAME, (st))
  1503. # define sk_X509_NAME_sort(st) SKM_sk_sort(X509_NAME, (st))
  1504. # define sk_X509_NAME_is_sorted(st) SKM_sk_is_sorted(X509_NAME, (st))
  1505. # define sk_X509_NAME_ENTRY_new(st) SKM_sk_new(X509_NAME_ENTRY, (st))
  1506. # define sk_X509_NAME_ENTRY_new_null() SKM_sk_new_null(X509_NAME_ENTRY)
  1507. # define sk_X509_NAME_ENTRY_free(st) SKM_sk_free(X509_NAME_ENTRY, (st))
  1508. # define sk_X509_NAME_ENTRY_num(st) SKM_sk_num(X509_NAME_ENTRY, (st))
  1509. # define sk_X509_NAME_ENTRY_value(st, i) SKM_sk_value(X509_NAME_ENTRY, (st), (i))
  1510. # define sk_X509_NAME_ENTRY_set(st, i, val) SKM_sk_set(X509_NAME_ENTRY, (st), (i), (val))
  1511. # define sk_X509_NAME_ENTRY_zero(st) SKM_sk_zero(X509_NAME_ENTRY, (st))
  1512. # define sk_X509_NAME_ENTRY_push(st, val) SKM_sk_push(X509_NAME_ENTRY, (st), (val))
  1513. # define sk_X509_NAME_ENTRY_unshift(st, val) SKM_sk_unshift(X509_NAME_ENTRY, (st), (val))
  1514. # define sk_X509_NAME_ENTRY_find(st, val) SKM_sk_find(X509_NAME_ENTRY, (st), (val))
  1515. # define sk_X509_NAME_ENTRY_find_ex(st, val) SKM_sk_find_ex(X509_NAME_ENTRY, (st), (val))
  1516. # define sk_X509_NAME_ENTRY_delete(st, i) SKM_sk_delete(X509_NAME_ENTRY, (st), (i))
  1517. # define sk_X509_NAME_ENTRY_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_NAME_ENTRY, (st), (ptr))
  1518. # define sk_X509_NAME_ENTRY_insert(st, val, i) SKM_sk_insert(X509_NAME_ENTRY, (st), (val), (i))
  1519. # define sk_X509_NAME_ENTRY_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_NAME_ENTRY, (st), (cmp))
  1520. # define sk_X509_NAME_ENTRY_dup(st) SKM_sk_dup(X509_NAME_ENTRY, st)
  1521. # define sk_X509_NAME_ENTRY_pop_free(st, free_func) SKM_sk_pop_free(X509_NAME_ENTRY, (st), (free_func))
  1522. # define sk_X509_NAME_ENTRY_shift(st) SKM_sk_shift(X509_NAME_ENTRY, (st))
  1523. # define sk_X509_NAME_ENTRY_pop(st) SKM_sk_pop(X509_NAME_ENTRY, (st))
  1524. # define sk_X509_NAME_ENTRY_sort(st) SKM_sk_sort(X509_NAME_ENTRY, (st))
  1525. # define sk_X509_NAME_ENTRY_is_sorted(st) SKM_sk_is_sorted(X509_NAME_ENTRY, (st))
  1526. # define sk_X509_OBJECT_new(st) SKM_sk_new(X509_OBJECT, (st))
  1527. # define sk_X509_OBJECT_new_null() SKM_sk_new_null(X509_OBJECT)
  1528. # define sk_X509_OBJECT_free(st) SKM_sk_free(X509_OBJECT, (st))
  1529. # define sk_X509_OBJECT_num(st) SKM_sk_num(X509_OBJECT, (st))
  1530. # define sk_X509_OBJECT_value(st, i) SKM_sk_value(X509_OBJECT, (st), (i))
  1531. # define sk_X509_OBJECT_set(st, i, val) SKM_sk_set(X509_OBJECT, (st), (i), (val))
  1532. # define sk_X509_OBJECT_zero(st) SKM_sk_zero(X509_OBJECT, (st))
  1533. # define sk_X509_OBJECT_push(st, val) SKM_sk_push(X509_OBJECT, (st), (val))
  1534. # define sk_X509_OBJECT_unshift(st, val) SKM_sk_unshift(X509_OBJECT, (st), (val))
  1535. # define sk_X509_OBJECT_find(st, val) SKM_sk_find(X509_OBJECT, (st), (val))
  1536. # define sk_X509_OBJECT_find_ex(st, val) SKM_sk_find_ex(X509_OBJECT, (st), (val))
  1537. # define sk_X509_OBJECT_delete(st, i) SKM_sk_delete(X509_OBJECT, (st), (i))
  1538. # define sk_X509_OBJECT_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_OBJECT, (st), (ptr))
  1539. # define sk_X509_OBJECT_insert(st, val, i) SKM_sk_insert(X509_OBJECT, (st), (val), (i))
  1540. # define sk_X509_OBJECT_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_OBJECT, (st), (cmp))
  1541. # define sk_X509_OBJECT_dup(st) SKM_sk_dup(X509_OBJECT, st)
  1542. # define sk_X509_OBJECT_pop_free(st, free_func) SKM_sk_pop_free(X509_OBJECT, (st), (free_func))
  1543. # define sk_X509_OBJECT_shift(st) SKM_sk_shift(X509_OBJECT, (st))
  1544. # define sk_X509_OBJECT_pop(st) SKM_sk_pop(X509_OBJECT, (st))
  1545. # define sk_X509_OBJECT_sort(st) SKM_sk_sort(X509_OBJECT, (st))
  1546. # define sk_X509_OBJECT_is_sorted(st) SKM_sk_is_sorted(X509_OBJECT, (st))
  1547. # define sk_X509_POLICY_DATA_new(st) SKM_sk_new(X509_POLICY_DATA, (st))
  1548. # define sk_X509_POLICY_DATA_new_null() SKM_sk_new_null(X509_POLICY_DATA)
  1549. # define sk_X509_POLICY_DATA_free(st) SKM_sk_free(X509_POLICY_DATA, (st))
  1550. # define sk_X509_POLICY_DATA_num(st) SKM_sk_num(X509_POLICY_DATA, (st))
  1551. # define sk_X509_POLICY_DATA_value(st, i) SKM_sk_value(X509_POLICY_DATA, (st), (i))
  1552. # define sk_X509_POLICY_DATA_set(st, i, val) SKM_sk_set(X509_POLICY_DATA, (st), (i), (val))
  1553. # define sk_X509_POLICY_DATA_zero(st) SKM_sk_zero(X509_POLICY_DATA, (st))
  1554. # define sk_X509_POLICY_DATA_push(st, val) SKM_sk_push(X509_POLICY_DATA, (st), (val))
  1555. # define sk_X509_POLICY_DATA_unshift(st, val) SKM_sk_unshift(X509_POLICY_DATA, (st), (val))
  1556. # define sk_X509_POLICY_DATA_find(st, val) SKM_sk_find(X509_POLICY_DATA, (st), (val))
  1557. # define sk_X509_POLICY_DATA_find_ex(st, val) SKM_sk_find_ex(X509_POLICY_DATA, (st), (val))
  1558. # define sk_X509_POLICY_DATA_delete(st, i) SKM_sk_delete(X509_POLICY_DATA, (st), (i))
  1559. # define sk_X509_POLICY_DATA_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_POLICY_DATA, (st), (ptr))
  1560. # define sk_X509_POLICY_DATA_insert(st, val, i) SKM_sk_insert(X509_POLICY_DATA, (st), (val), (i))
  1561. # define sk_X509_POLICY_DATA_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_POLICY_DATA, (st), (cmp))
  1562. # define sk_X509_POLICY_DATA_dup(st) SKM_sk_dup(X509_POLICY_DATA, st)
  1563. # define sk_X509_POLICY_DATA_pop_free(st, free_func) SKM_sk_pop_free(X509_POLICY_DATA, (st), (free_func))
  1564. # define sk_X509_POLICY_DATA_shift(st) SKM_sk_shift(X509_POLICY_DATA, (st))
  1565. # define sk_X509_POLICY_DATA_pop(st) SKM_sk_pop(X509_POLICY_DATA, (st))
  1566. # define sk_X509_POLICY_DATA_sort(st) SKM_sk_sort(X509_POLICY_DATA, (st))
  1567. # define sk_X509_POLICY_DATA_is_sorted(st) SKM_sk_is_sorted(X509_POLICY_DATA, (st))
  1568. # define sk_X509_POLICY_NODE_new(st) SKM_sk_new(X509_POLICY_NODE, (st))
  1569. # define sk_X509_POLICY_NODE_new_null() SKM_sk_new_null(X509_POLICY_NODE)
  1570. # define sk_X509_POLICY_NODE_free(st) SKM_sk_free(X509_POLICY_NODE, (st))
  1571. # define sk_X509_POLICY_NODE_num(st) SKM_sk_num(X509_POLICY_NODE, (st))
  1572. # define sk_X509_POLICY_NODE_value(st, i) SKM_sk_value(X509_POLICY_NODE, (st), (i))
  1573. # define sk_X509_POLICY_NODE_set(st, i, val) SKM_sk_set(X509_POLICY_NODE, (st), (i), (val))
  1574. # define sk_X509_POLICY_NODE_zero(st) SKM_sk_zero(X509_POLICY_NODE, (st))
  1575. # define sk_X509_POLICY_NODE_push(st, val) SKM_sk_push(X509_POLICY_NODE, (st), (val))
  1576. # define sk_X509_POLICY_NODE_unshift(st, val) SKM_sk_unshift(X509_POLICY_NODE, (st), (val))
  1577. # define sk_X509_POLICY_NODE_find(st, val) SKM_sk_find(X509_POLICY_NODE, (st), (val))
  1578. # define sk_X509_POLICY_NODE_find_ex(st, val) SKM_sk_find_ex(X509_POLICY_NODE, (st), (val))
  1579. # define sk_X509_POLICY_NODE_delete(st, i) SKM_sk_delete(X509_POLICY_NODE, (st), (i))
  1580. # define sk_X509_POLICY_NODE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_POLICY_NODE, (st), (ptr))
  1581. # define sk_X509_POLICY_NODE_insert(st, val, i) SKM_sk_insert(X509_POLICY_NODE, (st), (val), (i))
  1582. # define sk_X509_POLICY_NODE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_POLICY_NODE, (st), (cmp))
  1583. # define sk_X509_POLICY_NODE_dup(st) SKM_sk_dup(X509_POLICY_NODE, st)
  1584. # define sk_X509_POLICY_NODE_pop_free(st, free_func) SKM_sk_pop_free(X509_POLICY_NODE, (st), (free_func))
  1585. # define sk_X509_POLICY_NODE_shift(st) SKM_sk_shift(X509_POLICY_NODE, (st))
  1586. # define sk_X509_POLICY_NODE_pop(st) SKM_sk_pop(X509_POLICY_NODE, (st))
  1587. # define sk_X509_POLICY_NODE_sort(st) SKM_sk_sort(X509_POLICY_NODE, (st))
  1588. # define sk_X509_POLICY_NODE_is_sorted(st) SKM_sk_is_sorted(X509_POLICY_NODE, (st))
  1589. # define sk_X509_POLICY_REF_new(st) SKM_sk_new(X509_POLICY_REF, (st))
  1590. # define sk_X509_POLICY_REF_new_null() SKM_sk_new_null(X509_POLICY_REF)
  1591. # define sk_X509_POLICY_REF_free(st) SKM_sk_free(X509_POLICY_REF, (st))
  1592. # define sk_X509_POLICY_REF_num(st) SKM_sk_num(X509_POLICY_REF, (st))
  1593. # define sk_X509_POLICY_REF_value(st, i) SKM_sk_value(X509_POLICY_REF, (st), (i))
  1594. # define sk_X509_POLICY_REF_set(st, i, val) SKM_sk_set(X509_POLICY_REF, (st), (i), (val))
  1595. # define sk_X509_POLICY_REF_zero(st) SKM_sk_zero(X509_POLICY_REF, (st))
  1596. # define sk_X509_POLICY_REF_push(st, val) SKM_sk_push(X509_POLICY_REF, (st), (val))
  1597. # define sk_X509_POLICY_REF_unshift(st, val) SKM_sk_unshift(X509_POLICY_REF, (st), (val))
  1598. # define sk_X509_POLICY_REF_find(st, val) SKM_sk_find(X509_POLICY_REF, (st), (val))
  1599. # define sk_X509_POLICY_REF_find_ex(st, val) SKM_sk_find_ex(X509_POLICY_REF, (st), (val))
  1600. # define sk_X509_POLICY_REF_delete(st, i) SKM_sk_delete(X509_POLICY_REF, (st), (i))
  1601. # define sk_X509_POLICY_REF_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_POLICY_REF, (st), (ptr))
  1602. # define sk_X509_POLICY_REF_insert(st, val, i) SKM_sk_insert(X509_POLICY_REF, (st), (val), (i))
  1603. # define sk_X509_POLICY_REF_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_POLICY_REF, (st), (cmp))
  1604. # define sk_X509_POLICY_REF_dup(st) SKM_sk_dup(X509_POLICY_REF, st)
  1605. # define sk_X509_POLICY_REF_pop_free(st, free_func) SKM_sk_pop_free(X509_POLICY_REF, (st), (free_func))
  1606. # define sk_X509_POLICY_REF_shift(st) SKM_sk_shift(X509_POLICY_REF, (st))
  1607. # define sk_X509_POLICY_REF_pop(st) SKM_sk_pop(X509_POLICY_REF, (st))
  1608. # define sk_X509_POLICY_REF_sort(st) SKM_sk_sort(X509_POLICY_REF, (st))
  1609. # define sk_X509_POLICY_REF_is_sorted(st) SKM_sk_is_sorted(X509_POLICY_REF, (st))
  1610. # define sk_X509_PURPOSE_new(st) SKM_sk_new(X509_PURPOSE, (st))
  1611. # define sk_X509_PURPOSE_new_null() SKM_sk_new_null(X509_PURPOSE)
  1612. # define sk_X509_PURPOSE_free(st) SKM_sk_free(X509_PURPOSE, (st))
  1613. # define sk_X509_PURPOSE_num(st) SKM_sk_num(X509_PURPOSE, (st))
  1614. # define sk_X509_PURPOSE_value(st, i) SKM_sk_value(X509_PURPOSE, (st), (i))
  1615. # define sk_X509_PURPOSE_set(st, i, val) SKM_sk_set(X509_PURPOSE, (st), (i), (val))
  1616. # define sk_X509_PURPOSE_zero(st) SKM_sk_zero(X509_PURPOSE, (st))
  1617. # define sk_X509_PURPOSE_push(st, val) SKM_sk_push(X509_PURPOSE, (st), (val))
  1618. # define sk_X509_PURPOSE_unshift(st, val) SKM_sk_unshift(X509_PURPOSE, (st), (val))
  1619. # define sk_X509_PURPOSE_find(st, val) SKM_sk_find(X509_PURPOSE, (st), (val))
  1620. # define sk_X509_PURPOSE_find_ex(st, val) SKM_sk_find_ex(X509_PURPOSE, (st), (val))
  1621. # define sk_X509_PURPOSE_delete(st, i) SKM_sk_delete(X509_PURPOSE, (st), (i))
  1622. # define sk_X509_PURPOSE_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_PURPOSE, (st), (ptr))
  1623. # define sk_X509_PURPOSE_insert(st, val, i) SKM_sk_insert(X509_PURPOSE, (st), (val), (i))
  1624. # define sk_X509_PURPOSE_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_PURPOSE, (st), (cmp))
  1625. # define sk_X509_PURPOSE_dup(st) SKM_sk_dup(X509_PURPOSE, st)
  1626. # define sk_X509_PURPOSE_pop_free(st, free_func) SKM_sk_pop_free(X509_PURPOSE, (st), (free_func))
  1627. # define sk_X509_PURPOSE_shift(st) SKM_sk_shift(X509_PURPOSE, (st))
  1628. # define sk_X509_PURPOSE_pop(st) SKM_sk_pop(X509_PURPOSE, (st))
  1629. # define sk_X509_PURPOSE_sort(st) SKM_sk_sort(X509_PURPOSE, (st))
  1630. # define sk_X509_PURPOSE_is_sorted(st) SKM_sk_is_sorted(X509_PURPOSE, (st))
  1631. # define sk_X509_REVOKED_new(st) SKM_sk_new(X509_REVOKED, (st))
  1632. # define sk_X509_REVOKED_new_null() SKM_sk_new_null(X509_REVOKED)
  1633. # define sk_X509_REVOKED_free(st) SKM_sk_free(X509_REVOKED, (st))
  1634. # define sk_X509_REVOKED_num(st) SKM_sk_num(X509_REVOKED, (st))
  1635. # define sk_X509_REVOKED_value(st, i) SKM_sk_value(X509_REVOKED, (st), (i))
  1636. # define sk_X509_REVOKED_set(st, i, val) SKM_sk_set(X509_REVOKED, (st), (i), (val))
  1637. # define sk_X509_REVOKED_zero(st) SKM_sk_zero(X509_REVOKED, (st))
  1638. # define sk_X509_REVOKED_push(st, val) SKM_sk_push(X509_REVOKED, (st), (val))
  1639. # define sk_X509_REVOKED_unshift(st, val) SKM_sk_unshift(X509_REVOKED, (st), (val))
  1640. # define sk_X509_REVOKED_find(st, val) SKM_sk_find(X509_REVOKED, (st), (val))
  1641. # define sk_X509_REVOKED_find_ex(st, val) SKM_sk_find_ex(X509_REVOKED, (st), (val))
  1642. # define sk_X509_REVOKED_delete(st, i) SKM_sk_delete(X509_REVOKED, (st), (i))
  1643. # define sk_X509_REVOKED_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_REVOKED, (st), (ptr))
  1644. # define sk_X509_REVOKED_insert(st, val, i) SKM_sk_insert(X509_REVOKED, (st), (val), (i))
  1645. # define sk_X509_REVOKED_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_REVOKED, (st), (cmp))
  1646. # define sk_X509_REVOKED_dup(st) SKM_sk_dup(X509_REVOKED, st)
  1647. # define sk_X509_REVOKED_pop_free(st, free_func) SKM_sk_pop_free(X509_REVOKED, (st), (free_func))
  1648. # define sk_X509_REVOKED_shift(st) SKM_sk_shift(X509_REVOKED, (st))
  1649. # define sk_X509_REVOKED_pop(st) SKM_sk_pop(X509_REVOKED, (st))
  1650. # define sk_X509_REVOKED_sort(st) SKM_sk_sort(X509_REVOKED, (st))
  1651. # define sk_X509_REVOKED_is_sorted(st) SKM_sk_is_sorted(X509_REVOKED, (st))
  1652. # define sk_X509_TRUST_new(st) SKM_sk_new(X509_TRUST, (st))
  1653. # define sk_X509_TRUST_new_null() SKM_sk_new_null(X509_TRUST)
  1654. # define sk_X509_TRUST_free(st) SKM_sk_free(X509_TRUST, (st))
  1655. # define sk_X509_TRUST_num(st) SKM_sk_num(X509_TRUST, (st))
  1656. # define sk_X509_TRUST_value(st, i) SKM_sk_value(X509_TRUST, (st), (i))
  1657. # define sk_X509_TRUST_set(st, i, val) SKM_sk_set(X509_TRUST, (st), (i), (val))
  1658. # define sk_X509_TRUST_zero(st) SKM_sk_zero(X509_TRUST, (st))
  1659. # define sk_X509_TRUST_push(st, val) SKM_sk_push(X509_TRUST, (st), (val))
  1660. # define sk_X509_TRUST_unshift(st, val) SKM_sk_unshift(X509_TRUST, (st), (val))
  1661. # define sk_X509_TRUST_find(st, val) SKM_sk_find(X509_TRUST, (st), (val))
  1662. # define sk_X509_TRUST_find_ex(st, val) SKM_sk_find_ex(X509_TRUST, (st), (val))
  1663. # define sk_X509_TRUST_delete(st, i) SKM_sk_delete(X509_TRUST, (st), (i))
  1664. # define sk_X509_TRUST_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_TRUST, (st), (ptr))
  1665. # define sk_X509_TRUST_insert(st, val, i) SKM_sk_insert(X509_TRUST, (st), (val), (i))
  1666. # define sk_X509_TRUST_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_TRUST, (st), (cmp))
  1667. # define sk_X509_TRUST_dup(st) SKM_sk_dup(X509_TRUST, st)
  1668. # define sk_X509_TRUST_pop_free(st, free_func) SKM_sk_pop_free(X509_TRUST, (st), (free_func))
  1669. # define sk_X509_TRUST_shift(st) SKM_sk_shift(X509_TRUST, (st))
  1670. # define sk_X509_TRUST_pop(st) SKM_sk_pop(X509_TRUST, (st))
  1671. # define sk_X509_TRUST_sort(st) SKM_sk_sort(X509_TRUST, (st))
  1672. # define sk_X509_TRUST_is_sorted(st) SKM_sk_is_sorted(X509_TRUST, (st))
  1673. # define sk_X509_VERIFY_PARAM_new(st) SKM_sk_new(X509_VERIFY_PARAM, (st))
  1674. # define sk_X509_VERIFY_PARAM_new_null() SKM_sk_new_null(X509_VERIFY_PARAM)
  1675. # define sk_X509_VERIFY_PARAM_free(st) SKM_sk_free(X509_VERIFY_PARAM, (st))
  1676. # define sk_X509_VERIFY_PARAM_num(st) SKM_sk_num(X509_VERIFY_PARAM, (st))
  1677. # define sk_X509_VERIFY_PARAM_value(st, i) SKM_sk_value(X509_VERIFY_PARAM, (st), (i))
  1678. # define sk_X509_VERIFY_PARAM_set(st, i, val) SKM_sk_set(X509_VERIFY_PARAM, (st), (i), (val))
  1679. # define sk_X509_VERIFY_PARAM_zero(st) SKM_sk_zero(X509_VERIFY_PARAM, (st))
  1680. # define sk_X509_VERIFY_PARAM_push(st, val) SKM_sk_push(X509_VERIFY_PARAM, (st), (val))
  1681. # define sk_X509_VERIFY_PARAM_unshift(st, val) SKM_sk_unshift(X509_VERIFY_PARAM, (st), (val))
  1682. # define sk_X509_VERIFY_PARAM_find(st, val) SKM_sk_find(X509_VERIFY_PARAM, (st), (val))
  1683. # define sk_X509_VERIFY_PARAM_find_ex(st, val) SKM_sk_find_ex(X509_VERIFY_PARAM, (st), (val))
  1684. # define sk_X509_VERIFY_PARAM_delete(st, i) SKM_sk_delete(X509_VERIFY_PARAM, (st), (i))
  1685. # define sk_X509_VERIFY_PARAM_delete_ptr(st, ptr) SKM_sk_delete_ptr(X509_VERIFY_PARAM, (st), (ptr))
  1686. # define sk_X509_VERIFY_PARAM_insert(st, val, i) SKM_sk_insert(X509_VERIFY_PARAM, (st), (val), (i))
  1687. # define sk_X509_VERIFY_PARAM_set_cmp_func(st, cmp) SKM_sk_set_cmp_func(X509_VERIFY_PARAM, (st), (cmp))
  1688. # define sk_X509_VERIFY_PARAM_dup(st) SKM_sk_dup(X509_VERIFY_PARAM, st)
  1689. # define sk_X509_VERIFY_PARAM_pop_free(st, free_func) SKM_sk_pop_free(X509_VERIFY_PARAM, (st), (free_func))
  1690. # define sk_X509_VERIFY_PARAM_shift(st) SKM_sk_shift(X509_VERIFY_PARAM, (st))
  1691. # define sk_X509_VERIFY_PARAM_pop(st) SKM_sk_pop(X509_VERIFY_PARAM, (st))
  1692. # define sk_X509_VERIFY_PARAM_sort(st) SKM_sk_sort(X509_VERIFY_PARAM, (st))
  1693. # define sk_X509_VERIFY_PARAM_is_sorted(st) SKM_sk_is_sorted(X509_VERIFY_PARAM, (st))
  1694. # define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1695. SKM_ASN1_SET_OF_d2i(ACCESS_DESCRIPTION, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1696. # define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1697. SKM_ASN1_SET_OF_i2d(ACCESS_DESCRIPTION, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1698. # define ASN1_seq_pack_ACCESS_DESCRIPTION(st, i2d_func, buf, len) \
  1699. SKM_ASN1_seq_pack(ACCESS_DESCRIPTION, (st), (i2d_func), (buf), (len))
  1700. # define ASN1_seq_unpack_ACCESS_DESCRIPTION(buf, len, d2i_func, free_func) \
  1701. SKM_ASN1_seq_unpack(ACCESS_DESCRIPTION, (buf), (len), (d2i_func), (free_func))
  1702. # define d2i_ASN1_SET_OF_ASN1_INTEGER(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1703. SKM_ASN1_SET_OF_d2i(ASN1_INTEGER, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1704. # define i2d_ASN1_SET_OF_ASN1_INTEGER(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1705. SKM_ASN1_SET_OF_i2d(ASN1_INTEGER, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1706. # define ASN1_seq_pack_ASN1_INTEGER(st, i2d_func, buf, len) \
  1707. SKM_ASN1_seq_pack(ASN1_INTEGER, (st), (i2d_func), (buf), (len))
  1708. # define ASN1_seq_unpack_ASN1_INTEGER(buf, len, d2i_func, free_func) \
  1709. SKM_ASN1_seq_unpack(ASN1_INTEGER, (buf), (len), (d2i_func), (free_func))
  1710. # define d2i_ASN1_SET_OF_ASN1_OBJECT(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1711. SKM_ASN1_SET_OF_d2i(ASN1_OBJECT, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1712. # define i2d_ASN1_SET_OF_ASN1_OBJECT(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1713. SKM_ASN1_SET_OF_i2d(ASN1_OBJECT, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1714. # define ASN1_seq_pack_ASN1_OBJECT(st, i2d_func, buf, len) \
  1715. SKM_ASN1_seq_pack(ASN1_OBJECT, (st), (i2d_func), (buf), (len))
  1716. # define ASN1_seq_unpack_ASN1_OBJECT(buf, len, d2i_func, free_func) \
  1717. SKM_ASN1_seq_unpack(ASN1_OBJECT, (buf), (len), (d2i_func), (free_func))
  1718. # define d2i_ASN1_SET_OF_ASN1_TYPE(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1719. SKM_ASN1_SET_OF_d2i(ASN1_TYPE, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1720. # define i2d_ASN1_SET_OF_ASN1_TYPE(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1721. SKM_ASN1_SET_OF_i2d(ASN1_TYPE, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1722. # define ASN1_seq_pack_ASN1_TYPE(st, i2d_func, buf, len) \
  1723. SKM_ASN1_seq_pack(ASN1_TYPE, (st), (i2d_func), (buf), (len))
  1724. # define ASN1_seq_unpack_ASN1_TYPE(buf, len, d2i_func, free_func) \
  1725. SKM_ASN1_seq_unpack(ASN1_TYPE, (buf), (len), (d2i_func), (free_func))
  1726. # define d2i_ASN1_SET_OF_DIST_POINT(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1727. SKM_ASN1_SET_OF_d2i(DIST_POINT, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1728. # define i2d_ASN1_SET_OF_DIST_POINT(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1729. SKM_ASN1_SET_OF_i2d(DIST_POINT, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1730. # define ASN1_seq_pack_DIST_POINT(st, i2d_func, buf, len) \
  1731. SKM_ASN1_seq_pack(DIST_POINT, (st), (i2d_func), (buf), (len))
  1732. # define ASN1_seq_unpack_DIST_POINT(buf, len, d2i_func, free_func) \
  1733. SKM_ASN1_seq_unpack(DIST_POINT, (buf), (len), (d2i_func), (free_func))
  1734. # define d2i_ASN1_SET_OF_GENERAL_NAME(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1735. SKM_ASN1_SET_OF_d2i(GENERAL_NAME, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1736. # define i2d_ASN1_SET_OF_GENERAL_NAME(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1737. SKM_ASN1_SET_OF_i2d(GENERAL_NAME, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1738. # define ASN1_seq_pack_GENERAL_NAME(st, i2d_func, buf, len) \
  1739. SKM_ASN1_seq_pack(GENERAL_NAME, (st), (i2d_func), (buf), (len))
  1740. # define ASN1_seq_unpack_GENERAL_NAME(buf, len, d2i_func, free_func) \
  1741. SKM_ASN1_seq_unpack(GENERAL_NAME, (buf), (len), (d2i_func), (free_func))
  1742. # define d2i_ASN1_SET_OF_OCSP_ONEREQ(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1743. SKM_ASN1_SET_OF_d2i(OCSP_ONEREQ, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1744. # define i2d_ASN1_SET_OF_OCSP_ONEREQ(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1745. SKM_ASN1_SET_OF_i2d(OCSP_ONEREQ, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1746. # define ASN1_seq_pack_OCSP_ONEREQ(st, i2d_func, buf, len) \
  1747. SKM_ASN1_seq_pack(OCSP_ONEREQ, (st), (i2d_func), (buf), (len))
  1748. # define ASN1_seq_unpack_OCSP_ONEREQ(buf, len, d2i_func, free_func) \
  1749. SKM_ASN1_seq_unpack(OCSP_ONEREQ, (buf), (len), (d2i_func), (free_func))
  1750. # define d2i_ASN1_SET_OF_OCSP_SINGLERESP(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1751. SKM_ASN1_SET_OF_d2i(OCSP_SINGLERESP, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1752. # define i2d_ASN1_SET_OF_OCSP_SINGLERESP(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1753. SKM_ASN1_SET_OF_i2d(OCSP_SINGLERESP, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1754. # define ASN1_seq_pack_OCSP_SINGLERESP(st, i2d_func, buf, len) \
  1755. SKM_ASN1_seq_pack(OCSP_SINGLERESP, (st), (i2d_func), (buf), (len))
  1756. # define ASN1_seq_unpack_OCSP_SINGLERESP(buf, len, d2i_func, free_func) \
  1757. SKM_ASN1_seq_unpack(OCSP_SINGLERESP, (buf), (len), (d2i_func), (free_func))
  1758. # define d2i_ASN1_SET_OF_PKCS12_SAFEBAG(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1759. SKM_ASN1_SET_OF_d2i(PKCS12_SAFEBAG, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1760. # define i2d_ASN1_SET_OF_PKCS12_SAFEBAG(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1761. SKM_ASN1_SET_OF_i2d(PKCS12_SAFEBAG, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1762. # define ASN1_seq_pack_PKCS12_SAFEBAG(st, i2d_func, buf, len) \
  1763. SKM_ASN1_seq_pack(PKCS12_SAFEBAG, (st), (i2d_func), (buf), (len))
  1764. # define ASN1_seq_unpack_PKCS12_SAFEBAG(buf, len, d2i_func, free_func) \
  1765. SKM_ASN1_seq_unpack(PKCS12_SAFEBAG, (buf), (len), (d2i_func), (free_func))
  1766. # define d2i_ASN1_SET_OF_PKCS7(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1767. SKM_ASN1_SET_OF_d2i(PKCS7, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1768. # define i2d_ASN1_SET_OF_PKCS7(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1769. SKM_ASN1_SET_OF_i2d(PKCS7, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1770. # define ASN1_seq_pack_PKCS7(st, i2d_func, buf, len) \
  1771. SKM_ASN1_seq_pack(PKCS7, (st), (i2d_func), (buf), (len))
  1772. # define ASN1_seq_unpack_PKCS7(buf, len, d2i_func, free_func) \
  1773. SKM_ASN1_seq_unpack(PKCS7, (buf), (len), (d2i_func), (free_func))
  1774. # define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1775. SKM_ASN1_SET_OF_d2i(PKCS7_RECIP_INFO, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1776. # define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1777. SKM_ASN1_SET_OF_i2d(PKCS7_RECIP_INFO, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1778. # define ASN1_seq_pack_PKCS7_RECIP_INFO(st, i2d_func, buf, len) \
  1779. SKM_ASN1_seq_pack(PKCS7_RECIP_INFO, (st), (i2d_func), (buf), (len))
  1780. # define ASN1_seq_unpack_PKCS7_RECIP_INFO(buf, len, d2i_func, free_func) \
  1781. SKM_ASN1_seq_unpack(PKCS7_RECIP_INFO, (buf), (len), (d2i_func), (free_func))
  1782. # define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1783. SKM_ASN1_SET_OF_d2i(PKCS7_SIGNER_INFO, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1784. # define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1785. SKM_ASN1_SET_OF_i2d(PKCS7_SIGNER_INFO, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1786. # define ASN1_seq_pack_PKCS7_SIGNER_INFO(st, i2d_func, buf, len) \
  1787. SKM_ASN1_seq_pack(PKCS7_SIGNER_INFO, (st), (i2d_func), (buf), (len))
  1788. # define ASN1_seq_unpack_PKCS7_SIGNER_INFO(buf, len, d2i_func, free_func) \
  1789. SKM_ASN1_seq_unpack(PKCS7_SIGNER_INFO, (buf), (len), (d2i_func), (free_func))
  1790. # define d2i_ASN1_SET_OF_POLICYINFO(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1791. SKM_ASN1_SET_OF_d2i(POLICYINFO, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1792. # define i2d_ASN1_SET_OF_POLICYINFO(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1793. SKM_ASN1_SET_OF_i2d(POLICYINFO, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1794. # define ASN1_seq_pack_POLICYINFO(st, i2d_func, buf, len) \
  1795. SKM_ASN1_seq_pack(POLICYINFO, (st), (i2d_func), (buf), (len))
  1796. # define ASN1_seq_unpack_POLICYINFO(buf, len, d2i_func, free_func) \
  1797. SKM_ASN1_seq_unpack(POLICYINFO, (buf), (len), (d2i_func), (free_func))
  1798. # define d2i_ASN1_SET_OF_POLICYQUALINFO(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1799. SKM_ASN1_SET_OF_d2i(POLICYQUALINFO, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1800. # define i2d_ASN1_SET_OF_POLICYQUALINFO(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1801. SKM_ASN1_SET_OF_i2d(POLICYQUALINFO, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1802. # define ASN1_seq_pack_POLICYQUALINFO(st, i2d_func, buf, len) \
  1803. SKM_ASN1_seq_pack(POLICYQUALINFO, (st), (i2d_func), (buf), (len))
  1804. # define ASN1_seq_unpack_POLICYQUALINFO(buf, len, d2i_func, free_func) \
  1805. SKM_ASN1_seq_unpack(POLICYQUALINFO, (buf), (len), (d2i_func), (free_func))
  1806. # define d2i_ASN1_SET_OF_SXNETID(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1807. SKM_ASN1_SET_OF_d2i(SXNETID, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1808. # define i2d_ASN1_SET_OF_SXNETID(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1809. SKM_ASN1_SET_OF_i2d(SXNETID, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1810. # define ASN1_seq_pack_SXNETID(st, i2d_func, buf, len) \
  1811. SKM_ASN1_seq_pack(SXNETID, (st), (i2d_func), (buf), (len))
  1812. # define ASN1_seq_unpack_SXNETID(buf, len, d2i_func, free_func) \
  1813. SKM_ASN1_seq_unpack(SXNETID, (buf), (len), (d2i_func), (free_func))
  1814. # define d2i_ASN1_SET_OF_X509(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1815. SKM_ASN1_SET_OF_d2i(X509, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1816. # define i2d_ASN1_SET_OF_X509(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1817. SKM_ASN1_SET_OF_i2d(X509, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1818. # define ASN1_seq_pack_X509(st, i2d_func, buf, len) \
  1819. SKM_ASN1_seq_pack(X509, (st), (i2d_func), (buf), (len))
  1820. # define ASN1_seq_unpack_X509(buf, len, d2i_func, free_func) \
  1821. SKM_ASN1_seq_unpack(X509, (buf), (len), (d2i_func), (free_func))
  1822. # define d2i_ASN1_SET_OF_X509_ALGOR(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1823. SKM_ASN1_SET_OF_d2i(X509_ALGOR, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1824. # define i2d_ASN1_SET_OF_X509_ALGOR(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1825. SKM_ASN1_SET_OF_i2d(X509_ALGOR, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1826. # define ASN1_seq_pack_X509_ALGOR(st, i2d_func, buf, len) \
  1827. SKM_ASN1_seq_pack(X509_ALGOR, (st), (i2d_func), (buf), (len))
  1828. # define ASN1_seq_unpack_X509_ALGOR(buf, len, d2i_func, free_func) \
  1829. SKM_ASN1_seq_unpack(X509_ALGOR, (buf), (len), (d2i_func), (free_func))
  1830. # define d2i_ASN1_SET_OF_X509_ATTRIBUTE(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1831. SKM_ASN1_SET_OF_d2i(X509_ATTRIBUTE, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1832. # define i2d_ASN1_SET_OF_X509_ATTRIBUTE(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1833. SKM_ASN1_SET_OF_i2d(X509_ATTRIBUTE, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1834. # define ASN1_seq_pack_X509_ATTRIBUTE(st, i2d_func, buf, len) \
  1835. SKM_ASN1_seq_pack(X509_ATTRIBUTE, (st), (i2d_func), (buf), (len))
  1836. # define ASN1_seq_unpack_X509_ATTRIBUTE(buf, len, d2i_func, free_func) \
  1837. SKM_ASN1_seq_unpack(X509_ATTRIBUTE, (buf), (len), (d2i_func), (free_func))
  1838. # define d2i_ASN1_SET_OF_X509_CRL(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1839. SKM_ASN1_SET_OF_d2i(X509_CRL, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1840. # define i2d_ASN1_SET_OF_X509_CRL(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1841. SKM_ASN1_SET_OF_i2d(X509_CRL, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1842. # define ASN1_seq_pack_X509_CRL(st, i2d_func, buf, len) \
  1843. SKM_ASN1_seq_pack(X509_CRL, (st), (i2d_func), (buf), (len))
  1844. # define ASN1_seq_unpack_X509_CRL(buf, len, d2i_func, free_func) \
  1845. SKM_ASN1_seq_unpack(X509_CRL, (buf), (len), (d2i_func), (free_func))
  1846. # define d2i_ASN1_SET_OF_X509_EXTENSION(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1847. SKM_ASN1_SET_OF_d2i(X509_EXTENSION, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1848. # define i2d_ASN1_SET_OF_X509_EXTENSION(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1849. SKM_ASN1_SET_OF_i2d(X509_EXTENSION, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1850. # define ASN1_seq_pack_X509_EXTENSION(st, i2d_func, buf, len) \
  1851. SKM_ASN1_seq_pack(X509_EXTENSION, (st), (i2d_func), (buf), (len))
  1852. # define ASN1_seq_unpack_X509_EXTENSION(buf, len, d2i_func, free_func) \
  1853. SKM_ASN1_seq_unpack(X509_EXTENSION, (buf), (len), (d2i_func), (free_func))
  1854. # define d2i_ASN1_SET_OF_X509_NAME_ENTRY(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1855. SKM_ASN1_SET_OF_d2i(X509_NAME_ENTRY, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1856. # define i2d_ASN1_SET_OF_X509_NAME_ENTRY(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1857. SKM_ASN1_SET_OF_i2d(X509_NAME_ENTRY, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1858. # define ASN1_seq_pack_X509_NAME_ENTRY(st, i2d_func, buf, len) \
  1859. SKM_ASN1_seq_pack(X509_NAME_ENTRY, (st), (i2d_func), (buf), (len))
  1860. # define ASN1_seq_unpack_X509_NAME_ENTRY(buf, len, d2i_func, free_func) \
  1861. SKM_ASN1_seq_unpack(X509_NAME_ENTRY, (buf), (len), (d2i_func), (free_func))
  1862. # define d2i_ASN1_SET_OF_X509_REVOKED(st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
  1863. SKM_ASN1_SET_OF_d2i(X509_REVOKED, (st), (pp), (length), (d2i_func), (free_func), (ex_tag), (ex_class))
  1864. # define i2d_ASN1_SET_OF_X509_REVOKED(st, pp, i2d_func, ex_tag, ex_class, is_set) \
  1865. SKM_ASN1_SET_OF_i2d(X509_REVOKED, (st), (pp), (i2d_func), (ex_tag), (ex_class), (is_set))
  1866. # define ASN1_seq_pack_X509_REVOKED(st, i2d_func, buf, len) \
  1867. SKM_ASN1_seq_pack(X509_REVOKED, (st), (i2d_func), (buf), (len))
  1868. # define ASN1_seq_unpack_X509_REVOKED(buf, len, d2i_func, free_func) \
  1869. SKM_ASN1_seq_unpack(X509_REVOKED, (buf), (len), (d2i_func), (free_func))
  1870. # define PKCS12_decrypt_d2i_PKCS12_SAFEBAG(algor, d2i_func, free_func, pass, passlen, oct, seq) \
  1871. SKM_PKCS12_decrypt_d2i(PKCS12_SAFEBAG, (algor), (d2i_func), (free_func), (pass), (passlen), (oct), (seq))
  1872. # define PKCS12_decrypt_d2i_PKCS7(algor, d2i_func, free_func, pass, passlen, oct, seq) \
  1873. SKM_PKCS12_decrypt_d2i(PKCS7, (algor), (d2i_func), (free_func), (pass), (passlen), (oct), (seq))
  1874. #endif /* !defined HEADER_SAFESTACK_H */