2
0

curl.inc.in 154 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407
  1. **************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  9. *
  10. * This software is licensed as described in the file COPYING, which
  11. * you should have received as part of this distribution. The terms
  12. * are also available at https://curl.se/docs/copyright.html.
  13. *
  14. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. * copies of the Software, and permit persons to whom the Software is
  16. * furnished to do so, under the terms of the COPYING file.
  17. *
  18. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
  19. * ANY KIND, either express or implied.
  20. *
  21. * SPDX-License-Identifier: curl
  22. *
  23. *
  24. **************************************************************************
  25. *
  26. /if not defined(CURL_CURL_INC_)
  27. /define CURL_CURL_INC_
  28. *
  29. * WARNING: this file should be kept in sync with C include files.
  30. *
  31. **************************************************************************
  32. * Constants
  33. **************************************************************************
  34. *
  35. d LIBCURL_VERSION...
  36. d c '@LIBCURL_VERSION@'
  37. d LIBCURL_VERSION_MAJOR...
  38. d c @LIBCURL_VERSION_MAJOR@
  39. d LIBCURL_VERSION_MINOR...
  40. d c @LIBCURL_VERSION_MINOR@
  41. d LIBCURL_VERSION_PATCH...
  42. d c @LIBCURL_VERSION_PATCH@
  43. d LIBCURL_VERSION_NUM...
  44. d c X'00@LIBCURL_VERSION_NUM@'
  45. d LIBCURL_TIMESTAMP...
  46. d c '@LIBCURL_TIMESTAMP@'
  47. *
  48. d CURL_SOCKET_BAD...
  49. d c -1
  50. d CURL_SOCKET_TIMEOUT...
  51. d c -1
  52. *
  53. /if not defined(CURL_MAX_WRITE_SIZE)
  54. /define CURL_MAX_WRITE_SIZE
  55. d CURL_MAX_WRITE_SIZE...
  56. d c 16384
  57. /endif
  58. *
  59. /if not defined(CURL_MAX_HTTP_HEADER)
  60. /define CURL_MAX_HTTP_HEADER
  61. d CURL_MAX_HTTP_HEADER...
  62. d c 102400
  63. /endif
  64. *
  65. d CURLINFO_STRING...
  66. d c X'00100000'
  67. d CURLINFO_LONG c X'00200000'
  68. d CURLINFO_DOUBLE...
  69. d c X'00300000'
  70. d CURLINFO_SLIST c X'00400000'
  71. d CURLINFO_PTR c X'00400000'
  72. d CURLINFO_SOCKET...
  73. d c X'00500000'
  74. d CURLINFO_OFF_T...
  75. d c X'00600000'
  76. d CURLINFO_MASK c X'000FFFFF'
  77. d CURLINFO_TYPEMASK...
  78. d c X'00F00000'
  79. *
  80. d CURL_GLOBAL_SSL...
  81. d c X'00000001'
  82. d CURL_GLOBAL_WIN32...
  83. d c X'00000002'
  84. d CURL_GLOBAL_ALL...
  85. d c X'00000003'
  86. d CURL_GLOBAL_NOTHING...
  87. d c X'00000000'
  88. d CURL_GLOBAL_DEFAULT...
  89. d c X'00000003'
  90. d CURL_GLOBAL_ACK_EINTR...
  91. d c X'00000004'
  92. *
  93. d CURL_VERSION_IPV6...
  94. d c X'00000001'
  95. d CURL_VERSION_KERBEROS4...
  96. d c X'00000002'
  97. d CURL_VERSION_SSL...
  98. d c X'00000004'
  99. d CURL_VERSION_LIBZ...
  100. d c X'00000008'
  101. d CURL_VERSION_NTLM...
  102. d c X'00000010'
  103. d CURL_VERSION_GSSNEGOTIATE...
  104. d c X'00000020' Deprecated
  105. d CURL_VERSION_DEBUG...
  106. d c X'00000040'
  107. d CURL_VERSION_ASYNCHDNS...
  108. d c X'00000080'
  109. d CURL_VERSION_SPNEGO...
  110. d c X'00000100'
  111. d CURL_VERSION_LARGEFILE...
  112. d c X'00000200'
  113. d CURL_VERSION_IDN...
  114. d c X'00000400'
  115. d CURL_VERSION_SSPI...
  116. d c X'00000800'
  117. d CURL_VERSION_CONV...
  118. d c X'00001000'
  119. d CURL_VERSION_CURLDEBUG...
  120. d c X'00002000'
  121. d CURL_VERSION_TLSAUTH_SRP...
  122. d c X'00004000'
  123. d CURL_VERSION_NTLM_WB...
  124. d c X'00008000'
  125. d CURL_VERSION_HTTP2...
  126. d c X'00010000'
  127. d CURL_VERSION_GSSAPI...
  128. d c X'00020000'
  129. d CURL_VERSION_KERBEROS5...
  130. d c X'00040000'
  131. d CURL_VERSION_UNIX_SOCKETS...
  132. d c X'00080000'
  133. d CURL_VERSION_PSL...
  134. d c X'00100000'
  135. d CURL_VERSION_HTTPS_PROXY...
  136. d c X'00200000'
  137. d CURL_VERSION_MULTI_SSL...
  138. d c X'00400000'
  139. d CURL_VERSION_BROTLI...
  140. d c X'00800000'
  141. d CURL_VERSION_ALTSVC...
  142. d c X'01000000'
  143. d CURL_VERSION_HTTP3...
  144. d c X'02000000'
  145. d CURL_VERSION_ZSTD...
  146. d c X'04000000'
  147. d CURL_VERSION_UNICODE...
  148. d c X'08000000'
  149. d CURL_VERSION_HSTS...
  150. d c X'10000000'
  151. d CURL_VERSION_GSASL...
  152. d c X'20000000'
  153. d CURL_VERSION_THREADSAFE...
  154. d c X'40000000'
  155. *
  156. d CURL_HTTPPOST_FILENAME...
  157. d c X'00000001'
  158. d CURL_HTTPPOST_READFILE...
  159. d c X'00000002'
  160. d CURL_HTTPPOST_PTRNAME...
  161. d c X'00000004'
  162. d CURL_HTTPPOST_PTRCONTENTS...
  163. d c X'00000008'
  164. d CURL_HTTPPOST_BUFFER...
  165. d c X'00000010'
  166. d CURL_HTTPPOST_PTRBUFFER...
  167. d c X'00000020'
  168. d CURL_HTTPPOST_CALLBACK...
  169. d c X'00000040'
  170. d CURL_HTTPPOST_LARGE...
  171. d c X'00000080'
  172. *
  173. d CURL_SEEKFUNC_OK...
  174. d c 0
  175. d CURL_SEEKFUNC_FAIL...
  176. d c 1
  177. d CURL_SEEKFUNC_CANTSEEK...
  178. d c 2
  179. *
  180. d CURL_READFUNC_ABORT...
  181. d c X'10000000'
  182. d CURL_READFUNC_PAUSE...
  183. d c X'10000001'
  184. *
  185. d CURL_WRITEFUNC_PAUSE...
  186. d c X'10000001'
  187. d CURL_WRITEFUNC_ERROR...
  188. d c X'FFFFFFFF'
  189. *
  190. d CURL_TRAILERFUNC_OK...
  191. d c 0
  192. d CURL_TRAILERFUNC_ABORT...
  193. d c 1
  194. *
  195. d CURL_PREREQFUNC_OK...
  196. d c 0
  197. d CURL_PREREQFUNC_ABORT...
  198. d c 1
  199. *
  200. d CURLAUTH_NONE c X'00000000'
  201. d CURLAUTH_BASIC c X'00000001'
  202. d CURLAUTH_DIGEST...
  203. d c X'00000002'
  204. d CURLAUTH_NEGOTIATE...
  205. d c X'00000004'
  206. d CURLAUTH_NTLM c X'00000008'
  207. d CURLAUTH_DIGEST_IE...
  208. d c X'00000010'
  209. d CURLAUTH_NTLM_WB...
  210. d c X'00000020'
  211. d CURLAUTH_BEARER...
  212. d c X'00000040'
  213. d CURLAUTH_AWS_SIGV4...
  214. d c X'00000080'
  215. d CURLAUTH_ONLY...
  216. d c X'80000000'
  217. d CURLAUTH_ANY c X'7FFFFFEF'
  218. d CURLAUTH_ANYSAFE...
  219. d c X'7FFFFFEE'
  220. *
  221. d CURLSSH_AUTH_ANY...
  222. d c X'7FFFFFFF'
  223. d CURLSSH_AUTH_NONE...
  224. d c X'00000000'
  225. d CURLSSH_AUTH_PUBLICKEY...
  226. d c X'00000001'
  227. d CURLSSH_AUTH_PASSWORD...
  228. d c X'00000002'
  229. d CURLSSH_AUTH_HOST...
  230. d c X'00000004'
  231. d CURLSSH_AUTH_KEYBOARD...
  232. d c X'00000008'
  233. d CURLSSH_AUTH_AGENT...
  234. d c X'00000010'
  235. d CURLSSH_AUTH_DEFAULT...
  236. d c X'7FFFFFFF' CURLSSH_AUTH_ANY
  237. *
  238. d CURLGSSAPI_DELEGATION_NONE...
  239. d c 0
  240. d CURLGSSAPI_DELEGATION_POLICY_FLAG...
  241. d c X'00000001'
  242. d CURLGSSAPI_DELEGATION_FLAG...
  243. d c X'00000002'
  244. *
  245. d CURL_ERROR_SIZE...
  246. d c 256
  247. *
  248. d CURLOPTTYPE_LONG...
  249. d c 0
  250. d CURLOPTTYPE_VALUES...
  251. d c 0
  252. d CURLOPTTYPE_OBJECTPOINT...
  253. d c 10000
  254. d CURLOPTTYPE_STRINGPOINT...
  255. d c 10000
  256. d CURLOPTTYPE_SLISTPOINT...
  257. d c 10000
  258. d CURLOPTTYPE_CBPOINT...
  259. d c 10000
  260. d CURLOPTTYPE_FUNCTIONPOINT...
  261. d c 20000
  262. d CURLOPTTYPE_OFF_T...
  263. d c 30000
  264. d CURLOPTTYPE_BLOB...
  265. d c 40000
  266. *
  267. d CURL_IPRESOLVE_WHATEVER...
  268. d c 0
  269. d CURL_IPRESOLVE_V4...
  270. d c 1
  271. d CURL_IPRESOLVE_V6...
  272. d c 2
  273. *
  274. d CURL_HTTP_VERSION_NONE...
  275. d c 0
  276. d CURL_HTTP_VERSION_1_0...
  277. d c 1
  278. d CURL_HTTP_VERSION_1_1...
  279. d c 2
  280. d CURL_HTTP_VERSION_2_0...
  281. d c 3
  282. d CURL_HTTP_VERSION_2...
  283. d c 3
  284. d CURL_HTTP_VERSION_2TLS...
  285. d c 4
  286. d CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE...
  287. d c 5
  288. d CURL_HTTP_VERSION_3...
  289. d c 30
  290. d CURL_HTTP_VERSION_3ONLY...
  291. d c 31
  292. *
  293. d CURL_NETRC_IGNORED...
  294. d c 0
  295. d CURL_NETRC_OPTIONAL...
  296. d c 1
  297. d CURL_NETRC_REQUIRED...
  298. d c 2
  299. *
  300. d CURL_SSLVERSION_DEFAULT...
  301. d c 0
  302. d CURL_SSLVERSION_TLSv1...
  303. d c 1
  304. d CURL_SSLVERSION_SSLv2...
  305. d c 2
  306. d CURL_SSLVERSION_SSLv3...
  307. d c 3
  308. d CURL_SSLVERSION_TLSv1_0...
  309. d c 4
  310. d CURL_SSLVERSION_TLSv1_1...
  311. d c 5
  312. d CURL_SSLVERSION_TLSv1_2...
  313. d c 6
  314. d CURL_SSLVERSION_TLSv1_3...
  315. d c 7
  316. d CURL_SSLVERSION_MAX_DEFAULT...
  317. d c X'00010000'
  318. d CURL_SSLVERSION_MAX_TLSv1_0...
  319. d c X'00040000'
  320. d CURL_SSLVERSION_MAX_TLSv1_1...
  321. d c X'00050000'
  322. d CURL_SSLVERSION_MAX_TLSv1_2...
  323. d c X'00060000'
  324. d CURL_SSLVERSION_MAX_TLSv1_3...
  325. d c X'00070000'
  326. *
  327. d CURL_TLSAUTH_NONE...
  328. d c 0
  329. d CURL_TLSAUTH_SRP...
  330. d c 1
  331. *
  332. d CURL_REDIR_GET_ALL...
  333. d c 0
  334. d CURL_REDIR_POST_301...
  335. d c 1
  336. d CURL_REDIR_POST_302...
  337. d c 2
  338. d CURL_REDIR_POST_303...
  339. d c 4
  340. d CURL_REDIR_POST_ALL...
  341. d c 7
  342. *
  343. d CURL_ZERO_TERMINATED...
  344. d c X'FFFFFFFF'
  345. *
  346. d CURL_POLL_NONE c 0
  347. d CURL_POLL_IN c 1
  348. d CURL_POLL_OUT c 2
  349. d CURL_POLL_INOUT...
  350. d c 3
  351. d CURL_POLL_REMOVE...
  352. d c 4
  353. *
  354. d CURL_BLOB_NOCOPY...
  355. d c 0
  356. d CURL_BLOB_COPY c 1
  357. *
  358. d CURL_CSELECT_IN...
  359. d c X'00000001'
  360. d CURL_CSELECT_OUT...
  361. d c X'00000002'
  362. d CURL_CSELECT_ERR...
  363. d c X'00000004'
  364. *
  365. d CURL_PUSH_OK c 0
  366. d CURL_PUSH_DENY c 1
  367. *
  368. d CURLPAUSE_RECV c X'00000001'
  369. d CURLPAUSE_RECV_CONT...
  370. d c X'00000000'
  371. d CURLPAUSE_SEND c X'00000004'
  372. d CURLPAUSE_SEND_CONT...
  373. d c X'00000000'
  374. d CURLPAUSE_ALL c X'00000005'
  375. d CURLPAUSE_CONT c X'00000000'
  376. *
  377. d CURLINFOFLAG_KNOWN_FILENAME...
  378. d c X'00000001'
  379. d CURLINFOFLAG_KNOWN_FILETYPE...
  380. d c X'00000002'
  381. d CURLINFOFLAG_KNOWN_TIME...
  382. d c X'00000004'
  383. d CURLINFOFLAG_KNOWN_PERM...
  384. d c X'00000008'
  385. d CURLINFOFLAG_KNOWN_UID...
  386. d c X'00000010'
  387. d CURLINFOFLAG_KNOWN_GID...
  388. d c X'00000020'
  389. d CURLINFOFLAG_KNOWN_SIZE...
  390. d c X'00000040'
  391. d CURLINFOFLAG_KNOWN_HLINKCOUNT...
  392. d c X'00000080'
  393. *
  394. d CURL_CHUNK_BGN_FUNC_OK...
  395. d c 0
  396. d CURL_CHUNK_BGN_FUNC_FAIL...
  397. d c 1
  398. d CURL_CHUNK_BGN_FUNC_SKIP...
  399. d c 2
  400. *
  401. d CURL_CHUNK_END_FUNC_OK...
  402. d c 0
  403. d CURL_CHUNK_END_FUNC_FAIL...
  404. d c 1
  405. *
  406. d CURL_FNMATCHFUNC_MATCH...
  407. d c 0
  408. d CURL_FNMATCHFUNC_NOMATCH...
  409. d c 1
  410. d CURL_FNMATCHFUNC_FAIL...
  411. d c 2
  412. *
  413. d CURL_WAIT_POLLIN...
  414. d c X'0001'
  415. d CURL_WAIT_POLLPRI...
  416. d c X'0002'
  417. d CURL_WAIT_POLLOUT...
  418. d c X'0004'
  419. *
  420. d CURLU_DEFAULT_PORT...
  421. d c X'00000001'
  422. d CURLU_NO_DEFAULT_PORT...
  423. d c X'00000002'
  424. d CURLU_DEFAULT_SCHEME...
  425. d c X'00000004'
  426. d CURLU_NON_SUPPORT_SCHEME...
  427. d c X'00000008'
  428. d CURLU_PATH_AS_IS...
  429. d c X'00000010'
  430. d CURLU_DISALLOW_USER...
  431. d c X'00000020'
  432. d CURLU_URLDECODE...
  433. d c X'00000040'
  434. d CURLU_URLENCODE...
  435. d c X'00000080'
  436. d CURLU_APPENDQUERY...
  437. d c X'00000100'
  438. d CURLU_GUESS_SCHEME...
  439. d c X'00000200'
  440. d CURLU_NO_AUTHORITY...
  441. d c X'00000400'
  442. d CURLU_ALLOW_SPACE...
  443. d c X'00000800'
  444. d CURLU_PUNYCODE...
  445. d c X'00001000'
  446. *
  447. d CURLOT_FLAG_ALIAS...
  448. d c X'00000001'
  449. *
  450. d CURLH_HEADER c X'00000001'
  451. d CURLH_TRAILER c X'00000002'
  452. d CURLH_CONNECT c X'00000004'
  453. d CURLH_1XX c X'00000008'
  454. d CURLH_PSEUDO c X'00000010'
  455. *
  456. d CURLWS_TEXT c X'00000001'
  457. d CURLWS_BINARY c X'00000002'
  458. d CURLWS_CONT c X'00000004'
  459. d CURLWS_CLOSE c X'00000008'
  460. d CURLWS_PING c X'00000010'
  461. d CURLWS_OFFSET c X'00000020'
  462. d CURLWS_PONG c X'00000040'
  463. *
  464. d CURLWS_RAW_MODE...
  465. d c X'00000001'
  466. *
  467. **************************************************************************
  468. * Types
  469. **************************************************************************
  470. *
  471. d curl_socket_t s 10i 0 based(######ptr######)
  472. *
  473. d curl_off_t s 20i 0 based(######ptr######)
  474. *
  475. d CURLcode s 10i 0 based(######ptr######) Enum
  476. d CURLE_OK c 0
  477. d CURLE_UNSUPPORTED_PROTOCOL...
  478. d c 1
  479. d CURLE_FAILED_INIT...
  480. d c 2
  481. d CURLE_URL_MALFORMAT...
  482. d c 3
  483. d CURLE_NOT_BUILT_IN...
  484. d c 4
  485. d CURLE_COULDNT_RESOLVE_PROXY...
  486. d c 5
  487. d CURLE_COULDNT_RESOLVE_HOST...
  488. d c 6
  489. d CURLE_COULDNT_CONNECT...
  490. d c 7
  491. d CURLE_WEIRD_SERVER_REPLY...
  492. d c 8
  493. d CURLE_REMOTE_ACCESS_DENIED...
  494. d c 9
  495. d CURLE_FTP_ACCEPT_FAILED...
  496. d c 10
  497. d CURLE_FTP_WEIRD_PASS_REPLY...
  498. d c 11
  499. d CURLE_FTP_ACCEPT_TIMEOUT...
  500. d c 12
  501. d CURLE_FTP_WEIRD_PASV_REPLY...
  502. d c 13
  503. d CURLE_FTP_WEIRD_227_FORMAT...
  504. d c 14
  505. d CURLE_FTP_CANT_GET_HOST...
  506. d c 15
  507. d CURLE_HTTP2 c 16
  508. d CURLE_FTP_COULDNT_SET_TYPE...
  509. d c 17
  510. d CURLE_PARTIAL_FILE...
  511. d c 18
  512. d CURLE_FTP_COULDNT_RETR_FILE...
  513. d c 19
  514. d CURLE_OBSOLETE20...
  515. d c 20
  516. d CURLE_QUOTE_ERROR...
  517. d c 21
  518. d CURLE_HTTP_RETURNED_ERROR...
  519. d c 22
  520. d CURLE_WRITE_ERROR...
  521. d c 23
  522. d CURLE_OBSOLETE24...
  523. d c 24
  524. d CURLE_UPLOAD_FAILED...
  525. d c 25
  526. d CURLE_READ_ERROR...
  527. d c 26
  528. d CURLE_OUT_OF_MEMORY...
  529. d c 27
  530. d CURLE_OPERATION_TIMEDOUT...
  531. d c 28
  532. d CURLE_OBSOLETE29...
  533. d c 29
  534. d CURLE_FTP_PORT_FAILED...
  535. d c 30
  536. d CURLE_FTP_COULDNT_USE_REST...
  537. d c 31
  538. d CURLE_OBSOLETE32...
  539. d c 32
  540. d CURLE_RANGE_ERROR...
  541. d c 33
  542. d CURLE_HTTP_POST_ERROR...
  543. d c 34
  544. d CURLE_SSL_CONNECT_ERROR...
  545. d c 35
  546. d CURLE_BAD_DOWNLOAD_RESUME...
  547. d c 36
  548. d CURLE_FILE_COULDNT_READ_FILE...
  549. d c 37
  550. d CURLE_LDAP_CANNOT_BIND...
  551. d c 38
  552. d CURLE_LDAP_SEARCH_FAILED...
  553. d c 39
  554. d CURLE_OBSOLETE40...
  555. d c 40
  556. d CURLE_FUNCTION_NOT_FOUND...
  557. d c 41
  558. d CURLE_ABORTED_BY_CALLBACK...
  559. d c 42
  560. d CURLE_BAD_FUNCTION_ARGUMENT...
  561. d c 43
  562. d CURLE_OBSOLETE44...
  563. d c 44
  564. d CURLE_INTERFACE_FAILED...
  565. d c 45
  566. d CURLE_OBSOLETE46...
  567. d c 46
  568. d CURLE_TOO_MANY_REDIRECTS...
  569. d c 47
  570. d CURLE_UNKNOWN_OPTION...
  571. d c 48
  572. d CURLE_SETOPT_OPTION_SYNTAX...
  573. d c 49
  574. d CURLE_OBSOLETE50...
  575. d c 50
  576. d CURLE_OBSOLETE51...
  577. d c 51
  578. d CURLE_GOT_NOTHING...
  579. d c 52
  580. d CURLE_SSL_ENGINE_NOTFOUND...
  581. d c 53
  582. d CURLE_SSL_ENGINE_SETFAILED...
  583. d c 54
  584. d CURLE_SEND_ERROR...
  585. d c 55
  586. d CURLE_RECV_ERROR...
  587. d c 56
  588. d CURLE_OBSOLETE57...
  589. d c 57
  590. d CURLE_SSL_CERTPROBLEM...
  591. d c 58
  592. d CURLE_SSL_CIPHER...
  593. d c 59
  594. d CURLE_PEER_FAILED_VERIFICATION...
  595. d c 60
  596. d CURLE_BAD_CONTENT_ENCODING...
  597. d c 61
  598. d CURLE_OBSOLETE62...
  599. d c 62
  600. d CURLE_FILESIZE_EXCEEDED...
  601. d c 63
  602. d CURLE_USE_SSL_FAILED...
  603. d c 64
  604. d CURLE_SEND_FAIL_REWIND...
  605. d c 65
  606. d CURLE_SSL_ENGINE_INITFAILED...
  607. d c 66
  608. d CURLE_LOGIN_DENIED...
  609. d c 67
  610. d CURLE_TFTP_NOTFOUND...
  611. d c 68
  612. d CURLE_TFTP_PERM...
  613. d c 69
  614. d CURLE_REMOTE_DISK_FULL...
  615. d c 70
  616. d CURLE_TFTP_ILLEGAL...
  617. d c 71
  618. d CURLE_TFTP_UNKNOWNID...
  619. d c 72
  620. d CURLE_REMOTE_FILE_EXISTS...
  621. d c 73
  622. d CURLE_TFTP_NOSUCHUSER...
  623. d c 74
  624. d CURLE_OBSOLETE75...
  625. d c 75
  626. d CURLE_OBSOLETE76...
  627. d c 76
  628. d CURLE_SSL_CACERT_BADFILE...
  629. d c 77
  630. d CURLE_REMOTE_FILE_NOT_FOUND...
  631. d c 78
  632. d CURLE_SSH c 79
  633. d CURLE_SSL_SHUTDOWN_FAILED...
  634. d c 80
  635. d CURLE_AGAIN c 81
  636. d CURLE_SSL_CRL_BADFILE...
  637. d c 82
  638. d CURLE_SSL_ISSUER_ERROR...
  639. d c 83
  640. d CURLE_FTP_PRET_FAILED...
  641. d c 84
  642. d CURLE_RTSP_CSEQ_ERROR...
  643. d c 85
  644. d CURLE_RTSP_SESSION_ERROR...
  645. d c 86
  646. d CURLE_FTP_BAD_FILE_LIST...
  647. d c 87
  648. d CURLE_CHUNK_FAILED...
  649. d c 88
  650. d CURLE_NO_CONNECTION_AVAILABLE...
  651. d c 89
  652. d CURLE_SSL_PINNEDPUBKEYNOTMATCH...
  653. d c 90
  654. d CURLE_SSL_INVALIDCERTSTATUS...
  655. d c 91
  656. d CURLE_HTTP2_STREAM...
  657. d c 92
  658. d CURLE_RECURSIVE_API_CALL...
  659. d c 93
  660. d CURLE_AUTH_ERROR...
  661. d c 94
  662. d CURLE_HTTP3 c 95
  663. d CURLE_QUIC_CONNECT_ERROR...
  664. d c 96
  665. d CURLE_PROXY c 97
  666. d CURLE_SSL_CLIENTCERT...
  667. d c 98
  668. d CURLE_UNRECOVERABLE_POLL...
  669. d c 99
  670. *
  671. /if not defined(CURL_NO_OLDIES)
  672. d CURLE_URL_MALFORMAT_USER...
  673. d c 4
  674. d CURLE_FTP_WEIRD_SERVER_REPLY...
  675. d c 8
  676. d CURLE_FTP_ACCESS_DENIED...
  677. d c 9
  678. d CURLE_FTP_USER_PASSWORD_INCORRECT...
  679. d c 10
  680. d CURLE_FTP_WEIRD_USER_REPLY...
  681. d c 12
  682. d CURLE_FTP_CANT_RECONNECT...
  683. d c 16
  684. d CURLE_FTP_COULDNT_SET_BINARY...
  685. d c 17
  686. d CURLE_FTP_PARTIAL_FILE...
  687. d c 18
  688. d CURLE_FTP_WRITE_ERROR...
  689. d c 20
  690. d CURLE_FTP_QUOTE_ERROR...
  691. d c 21
  692. d CURLE_HTTP_NOT_FOUND...
  693. d c 22
  694. d CURLE_MALFORMAT_USER...
  695. d c 24
  696. d CURLE_FTP_COULDNT_STOR_FILE...
  697. d c 25
  698. d CURLE_OPERATION_TIMEOUTED...
  699. d c 28
  700. d CURLE_FTP_COULDNT_SET_ASCII...
  701. d c 29
  702. d CURLE_FTP_COULDNT_GET_SIZE...
  703. d c 32
  704. d CURLE_HTTP_RANGE_ERROR...
  705. d c 33
  706. d CURLE_FTP_BAD_DOWNLOAD_RESUME...
  707. d c 36
  708. d CURLE_LIBRARY_NOT_FOUND...
  709. d c 40
  710. d CURLE_BAD_CALLING_ORDER...
  711. d c 44
  712. d CURLE_HTTP_PORT_FAILED...
  713. d c 45
  714. d CURLE_BAD_PASSWORD_ENTERED...
  715. d c 46
  716. d CURLE_UNKNOWN_TELNET_OPTION...
  717. d c 48
  718. d CURLE_TELNET_OPTION_SYNTAX...
  719. d c 49
  720. d CURLE_OBSOLETE...
  721. d c 50
  722. d CURLE_SHARE_IN_USE...
  723. d c 57
  724. d CURLE_SSL_CACERT...
  725. d c 60
  726. d CURLE_SSL_PEER_CERTIFICATE...
  727. d c 60
  728. d CURLE_LDAP_INVALID_URL...
  729. d c 62
  730. d CURLE_FTP_SSL_FAILED...
  731. d c 64
  732. d CURLE_TFTP_DISKFULL...
  733. d c 70
  734. d CURLE_TFTP_EXISTS...
  735. d c 73
  736. d CURLE_CONV_FAILED...
  737. d c 75
  738. d CURLE_CONV_REQD...
  739. d c 76
  740. d CURLE_ALREADY_COMPLETE...
  741. d c 99999
  742. /endif
  743. *
  744. d CURLproxycode s 10i 0 based(######ptr######) Enum
  745. d CURLPX_OK c 0
  746. d CURLPX_BAD_ADDRESS_TYPE...
  747. d c 1
  748. d CURLPX_BAD_VERSION...
  749. d c 2
  750. d CURLPX_CLOSED...
  751. d c 3
  752. d CURLPX_GSSAPI...
  753. d c 4
  754. d CURLPX_GSSAPI_PERMSG...
  755. d c 5
  756. d CURLPX_GSSAPI_PROTECTION...
  757. d c 6
  758. d CURLPX_IDENTD...
  759. d c 7
  760. d CURLPX_IDENTD_DIFFER...
  761. d c 8
  762. d CURLPX_LONG_HOSTNAME...
  763. d c 9
  764. d CURLPX_LONG_PASSWD...
  765. d c 10
  766. d CURLPX_LONG_USER...
  767. d c 11
  768. d CURLPX_NO_AUTH...
  769. d c 12
  770. d CURLPX_RECV_ADDRESS...
  771. d c 13
  772. d CURLPX_RECV_AUTH...
  773. d c 14
  774. d CURLPX_RECV_CONNECT...
  775. d c 15
  776. d CURLPX_RECV_REQACK...
  777. d c 16
  778. d CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED...
  779. d c 17
  780. d CURLPX_REPLY_COMMAND_NOT_SUPPORTED...
  781. d c 18
  782. d CURLPX_REPLY_CONNECTION_REFUSED...
  783. d c 10
  784. d CURLPX_REPLY_GENERAL_SERVER_FAILURE...
  785. d c 20
  786. d CURLPX_REPLY_HOST_UNREACHABLE...
  787. d c 21
  788. d CURLPX_REPLY_NETWORK_UNREACHABLE...
  789. d c 22
  790. d CURLPX_REPLY_NOT_ALLOWED...
  791. d c 23
  792. d CURLPX_REPLY_TTL_EXPIRED...
  793. d c 24
  794. d CURLPX_REPLY_UNASSIGNED...
  795. d c 25
  796. d CURLPX_REQUEST_FAILED...
  797. d c 26
  798. d CURLPX_RESOLVE_HOST...
  799. d c 27
  800. d CURLPX_SEND_AUTH...
  801. d c 28
  802. d CURLPX_SEND_CONNECT...
  803. d c 29
  804. d CURLPX_SEND_REQUEST...
  805. d c 30
  806. d CURLPX_UNKNOWN_FAIL...
  807. d c 31
  808. d CURLPX_UNKNOWN_MODE...
  809. d c 32
  810. d CURLPX_USER_REJECTED...
  811. d c 33
  812. *
  813. d curlioerr s 10i 0 based(######ptr######) Enum
  814. d CURLIOE_OK c 0
  815. d CURLIOE_UNKNOWNCMD...
  816. d c 1
  817. d CURLIOE_FAILRESTART...
  818. d c 2
  819. *
  820. d curlfiletype s 10i 0 based(######ptr######) Enum
  821. d CURLFILETYPE_FILE...
  822. d c 0
  823. d CURLFILETYPE_DIRECTORY...
  824. d c 1
  825. d CURLFILETYPE_SYMLINK...
  826. d c 2
  827. d CURLFILETYPE_DEVICE_BLOCK...
  828. d c 3
  829. d CURLFILETYPE_DEVICE_CHAR...
  830. d c 4
  831. d CURLFILETYPE_NAMEDPIPE...
  832. d c 5
  833. d CURLFILETYPE_SOCKET...
  834. d c 6
  835. d CURLFILETYPE_DOOR...
  836. d c 7
  837. *
  838. d curliocmd s 10i 0 based(######ptr######) Enum
  839. d CURLIOCMD_NOP c 0
  840. d CURLIOCMD_RESTARTREAD...
  841. d c 1
  842. *
  843. d curl_infotype s 10i 0 based(######ptr######) Enum
  844. d CURLINFO_TEXT...
  845. d c 0
  846. d CURLINFO_HEADER_IN...
  847. d c 1
  848. d CURLINFO_HEADER_OUT...
  849. d c 2
  850. d CURLINFO_DATA_IN...
  851. d c 3
  852. d CURLINFO_DATA_OUT...
  853. d c 4
  854. d CURLINFO_SSL_DATA_IN...
  855. d c 5
  856. d CURLINFO_SSL_DATA_OUT...
  857. d c 6
  858. d CURLINFO_END...
  859. d c 7
  860. *
  861. d curl_proxytype s 10i 0 based(######ptr######) Enum
  862. d CURLPROXY_HTTP...
  863. d c 0
  864. d CURLPROXY_HTTP_1_0...
  865. d c 1
  866. d CURLPROXY_HTTPS...
  867. d c 2
  868. d CURLPROXY_HTTPS2...
  869. d c 3
  870. d CURLPROXY_SOCKS4...
  871. d c 4
  872. d CURLPROXY_SOCKS5...
  873. d c 5
  874. d CURLPROXY_SOCKS4A...
  875. d c 6
  876. d CURLPROXY_SOCKS5_HOSTNAME...
  877. d c 7
  878. *
  879. d curl_khstat s 10i 0 based(######ptr######) Enum
  880. d CURLKHSTAT_FINE_ADD_TO_FILE...
  881. d c 0
  882. d CURLKHSTAT_FINE...
  883. d c 1
  884. d CURLKHSTAT_REJECT...
  885. d c 2
  886. d CURLKHSTAT_DEFER...
  887. d c 3
  888. d CURLKHSTAT_FINE_REPLACE...
  889. d c 4
  890. d CURLKHSTAT_LAST...
  891. d c 5
  892. *
  893. d curl_khmatch s 10i 0 based(######ptr######) Enum
  894. d CURLKHMATCH_OK...
  895. d c 0
  896. d CURLKHMATCH_MISMATCH...
  897. d c 1
  898. d CURLKHMATCH_MISSING...
  899. d c 2
  900. d CURLKHMATCH_LAST...
  901. d c 3
  902. *
  903. d curl_usessl s 10i 0 based(######ptr######) Enum
  904. d CURLUSESSL_NONE...
  905. d c 0
  906. d CURLUSESSL_TRY...
  907. d c 1
  908. d CURLUSESSL_CONTROL...
  909. d c 2
  910. d CURLUSESSL_ALL...
  911. d c 3
  912. *
  913. d CURLSSLOPT_ALLOW_BEAST...
  914. d c X'0001'
  915. d CURLSSLOPT_NO_REVOKE...
  916. d c X'0002'
  917. d CURLSSLOPT_NO_PARTIALCHAIN...
  918. d c X'0004'
  919. d CURLSSLOPT_REVOKE_BEST_EFFORT...
  920. d c X'0008'
  921. d CURLSSLOPT_NATIVE_CA...
  922. d c X'0010'
  923. d CURLSSLOPT_AUTO_CLIENT_CERT...
  924. d c X'0020'
  925. *
  926. d CURL_HET_DEFAULT...
  927. d c 200
  928. *
  929. d CURL_UPKEEP_INTERVAL_DEFAULT...
  930. d c 60000
  931. *
  932. /if not defined(CURL_NO_OLDIES)
  933. d curl_ftpssl s like(curl_usessl)
  934. d based(######ptr######)
  935. d CURLFTPSSL_NONE...
  936. d c 0
  937. d CURLFTPSSL_TRY...
  938. d c 1
  939. d CURLFTPSSL_CONTROL...
  940. d c 2
  941. d CURLFTPSSL_ALL...
  942. d c 3
  943. /endif
  944. *
  945. d curl_ftpccc s 10i 0 based(######ptr######) Enum
  946. d CURLFTPSSL_CCC_NONE...
  947. d c 0
  948. d CURLFTPSSL_CCC_PASSIVE...
  949. d c 1
  950. d CURLFTPSSL_CCC_ACTIVE...
  951. d c 2
  952. *
  953. d curl_ftpauth s 10i 0 based(######ptr######) Enum
  954. d CURLFTPAUTH_DEFAULT...
  955. d c 0
  956. d CURLFTPAUTH_SSL...
  957. d c 1
  958. d CURLFTPAUTH_TLS...
  959. d c 2
  960. *
  961. d curl_ftpcreatedir...
  962. d s 10i 0 based(######ptr######) Enum
  963. d CURLFTP_CREATE_DIR_NONE...
  964. d c 0
  965. d CURLFTP_CREATE_DIR...
  966. d c 1
  967. d CURLFTP_CREATE_DIR_RETRY...
  968. d c 2
  969. *
  970. d curl_ftpmethod s 10i 0 based(######ptr######) Enum
  971. d CURLFTPMETHOD_DEFAULT...
  972. d c 0
  973. d CURLFTPMETHOD_MULTICWD...
  974. d c 1
  975. d CURLFTPMETHOD_NOCWD...
  976. d c 2
  977. d CURLFTPMETHOD_SINGLECWD...
  978. d c 3
  979. *
  980. d CURLHEADER_UNIFIED...
  981. d c X'00000000'
  982. d CURLHEADER_SEPARATE...
  983. d c X'00000001'
  984. *
  985. d CURLALTSVC_READONLYFILE...
  986. d c X'00000004'
  987. d CURLALTSVC_H1...
  988. d c X'00000008'
  989. d CURLALTSVC_H2...
  990. d c X'00000010'
  991. d CURLALTSVC_H3...
  992. d c X'00000020'
  993. *
  994. d CURLHSTS_ENABLE...
  995. d c X'00000001'
  996. d CURLHSTS_READONLYFILE...
  997. d c X'00000002'
  998. *
  999. d CURLPROTO_HTTP...
  1000. d c X'00000001'
  1001. d CURLPROTO_HTTPS...
  1002. d c X'00000002'
  1003. d CURLPROTO_FTP...
  1004. d c X'00000004'
  1005. d CURLPROTO_FTPS...
  1006. d c X'00000008'
  1007. d CURLPROTO_SCP...
  1008. d c X'00000010'
  1009. d CURLPROTO_SFTP...
  1010. d c X'00000020'
  1011. d CURLPROTO_TELNET...
  1012. d c X'00000040'
  1013. d CURLPROTO_LDAP...
  1014. d c X'00000080'
  1015. d CURLPROTO_LDAPS...
  1016. d c X'00000100'
  1017. d CURLPROTO_DICT...
  1018. d c X'00000200'
  1019. d CURLPROTO_FILE...
  1020. d c X'00000400'
  1021. d CURLPROTO_TFTP...
  1022. d c X'00000800'
  1023. d CURLPROTO_IMAP...
  1024. d c X'00001000'
  1025. d CURLPROTO_IMAPS...
  1026. d c X'00002000'
  1027. d CURLPROTO_POP3...
  1028. d c X'00004000'
  1029. d CURLPROTO_POP3S...
  1030. d c X'00008000'
  1031. d CURLPROTO_SMTP...
  1032. d c X'00010000'
  1033. d CURLPROTO_SMTPS...
  1034. d c X'00020000'
  1035. d CURLPROTO_RTSP...
  1036. d c X'00040000'
  1037. d CURLPROTO_RTMP...
  1038. d c X'00080000'
  1039. d CURLPROTO_RTMPT...
  1040. d c X'00100000'
  1041. d CURLPROTO_RTMPTE...
  1042. d c X'00200000'
  1043. d CURLPROTO_RTMPE...
  1044. d c X'00400000'
  1045. d CURLPROTO_RTMPS...
  1046. d c X'00800000'
  1047. d CURLPROTO_RTMPTS...
  1048. d c X'01000000'
  1049. d CURLPROTO_GOPHER...
  1050. d c X'02000000'
  1051. d CURLPROTO_SMB...
  1052. d c X'04000000'
  1053. d CURLPROTO_SMBS...
  1054. d c X'08000000'
  1055. d CURLPROTO_MQTT...
  1056. d c X'10000000'
  1057. d CURLPROTO_GOPHERS...
  1058. d c X'20000000'
  1059. *
  1060. d CURLoption s 10i 0 based(######ptr######) Enum
  1061. d CURLOPT_WRITEDATA...
  1062. d c 10001
  1063. d CURLOPT_URL c 10002
  1064. d CURLOPT_PORT c 00003
  1065. d CURLOPT_PROXY c 10004
  1066. d CURLOPT_USERPWD...
  1067. d c 10005
  1068. d CURLOPT_PROXYUSERPWD...
  1069. d c 10006
  1070. d CURLOPT_RANGE c 10007
  1071. d CURLOPT_READDATA...
  1072. d c 10009
  1073. d CURLOPT_ERRORBUFFER...
  1074. d c 10010
  1075. d CURLOPT_WRITEFUNCTION...
  1076. d c 20011
  1077. d CURLOPT_READFUNCTION...
  1078. d c 20012
  1079. d CURLOPT_TIMEOUT...
  1080. d c 00013
  1081. d CURLOPT_INFILESIZE...
  1082. d c 00014
  1083. d CURLOPT_POSTFIELDS...
  1084. d c 10015
  1085. d CURLOPT_REFERER...
  1086. d c 10016
  1087. d CURLOPT_FTPPORT...
  1088. d c 10017
  1089. d CURLOPT_USERAGENT...
  1090. d c 10018
  1091. d CURLOPT_LOW_SPEED_LIMIT...
  1092. d c 00019
  1093. d CURLOPT_LOW_SPEED_TIME...
  1094. d c 00020
  1095. d CURLOPT_RESUME_FROM...
  1096. d c 00021
  1097. d CURLOPT_COOKIE...
  1098. d c 10022
  1099. d CURLOPT_HTTPHEADER...
  1100. d c 10023
  1101. d CURLOPT_RTSPHEADER...
  1102. d c 10023
  1103. d CURLOPT_HTTPPOST...
  1104. d c 10024
  1105. d CURLOPT_SSLCERT...
  1106. d c 10025
  1107. d CURLOPT_KEYPASSWD...
  1108. d c 10026
  1109. d CURLOPT_CRLF c 00027
  1110. d CURLOPT_QUOTE c 10028
  1111. d CURLOPT_HEADERDATA...
  1112. d c 10029
  1113. d CURLOPT_COOKIEFILE...
  1114. d c 10031
  1115. d CURLOPT_SSLVERSION...
  1116. d c 00032
  1117. d CURLOPT_TIMECONDITION...
  1118. d c 00033
  1119. d CURLOPT_TIMEVALUE...
  1120. d c 00034
  1121. d CURLOPT_CUSTOMREQUEST...
  1122. d c 10036
  1123. d CURLOPT_STDERR...
  1124. d c 10037
  1125. d CURLOPT_POSTQUOTE...
  1126. d c 10039
  1127. d CURLOPT_VERBOSE...
  1128. d c 00041
  1129. d CURLOPT_HEADER...
  1130. d c 00042
  1131. d CURLOPT_NOPROGRESS...
  1132. d c 00043
  1133. d CURLOPT_NOBODY...
  1134. d c 00044
  1135. d CURLOPT_FAILONERROR...
  1136. d c 00045
  1137. d CURLOPT_UPLOAD...
  1138. d c 00046
  1139. d CURLOPT_POST c 00047
  1140. d CURLOPT_DIRLISTONLY...
  1141. d c 00048
  1142. d CURLOPT_APPEND...
  1143. d c 00050
  1144. d CURLOPT_NETRC c 00051
  1145. d CURLOPT_FOLLOWLOCATION...
  1146. d c 00052
  1147. d CURLOPT_TRANSFERTEXT...
  1148. d c 00053
  1149. d CURLOPT_PUT c 00054
  1150. d CURLOPT_PROGRESSFUNCTION...
  1151. d c 20056
  1152. d CURLOPT_PROGRESSDATA...
  1153. d c 10057
  1154. d CURLOPT_XFERINFODATA...
  1155. d c 10057 PROGRESSDATA alias
  1156. d CURLOPT_AUTOREFERER...
  1157. d c 00058
  1158. d CURLOPT_PROXYPORT...
  1159. d c 00059
  1160. d CURLOPT_POSTFIELDSIZE...
  1161. d c 00060
  1162. d CURLOPT_HTTPPROXYTUNNEL...
  1163. d c 00061
  1164. d CURLOPT_INTERFACE...
  1165. d c 10062
  1166. d CURLOPT_KRBLEVEL...
  1167. d c 10063
  1168. d CURLOPT_SSL_VERIFYPEER...
  1169. d c 00064
  1170. d CURLOPT_CAINFO...
  1171. d c 10065
  1172. d CURLOPT_MAXREDIRS...
  1173. d c 00068
  1174. d CURLOPT_FILETIME...
  1175. d c 00069
  1176. d CURLOPT_TELNETOPTIONS...
  1177. d c 10070
  1178. d CURLOPT_MAXCONNECTS...
  1179. d c 00071
  1180. d CURLOPT_FRESH_CONNECT...
  1181. d c 00074
  1182. d CURLOPT_FORBID_REUSE...
  1183. d c 00075
  1184. d CURLOPT_RANDOM_FILE...
  1185. d c 10076
  1186. d CURLOPT_EGDSOCKET...
  1187. d c 10077
  1188. d CURLOPT_CONNECTTIMEOUT...
  1189. d c 00078
  1190. d CURLOPT_HEADERFUNCTION...
  1191. d c 20079
  1192. d CURLOPT_HTTPGET...
  1193. d c 00080
  1194. d CURLOPT_SSL_VERIFYHOST...
  1195. d c 00081
  1196. d CURLOPT_COOKIEJAR...
  1197. d c 10082
  1198. d CURLOPT_SSL_CIPHER_LIST...
  1199. d c 10083
  1200. d CURLOPT_HTTP_VERSION...
  1201. d c 00084
  1202. d CURLOPT_FTP_USE_EPSV...
  1203. d c 00085
  1204. d CURLOPT_SSLCERTTYPE...
  1205. d c 10086
  1206. d CURLOPT_SSLKEY...
  1207. d c 10087
  1208. d CURLOPT_SSLKEYTYPE...
  1209. d c 10088
  1210. d CURLOPT_SSLENGINE...
  1211. d c 10089
  1212. d CURLOPT_SSLENGINE_DEFAULT...
  1213. d c 00090
  1214. d CURLOPT_DNS_USE_GLOBAL_CACHE...
  1215. d c 00091
  1216. d CURLOPT_DNS_CACHE_TIMEOUT...
  1217. d c 00092
  1218. d CURLOPT_PREQUOTE...
  1219. d c 10093
  1220. d CURLOPT_DEBUGFUNCTION...
  1221. d c 20094
  1222. d CURLOPT_DEBUGDATA...
  1223. d c 10095
  1224. d CURLOPT_COOKIESESSION...
  1225. d c 00096
  1226. d CURLOPT_CAPATH...
  1227. d c 10097
  1228. d CURLOPT_BUFFERSIZE...
  1229. d c 00098
  1230. d CURLOPT_NOSIGNAL...
  1231. d c 00099
  1232. d CURLOPT_SHARE c 10100
  1233. d CURLOPT_PROXYTYPE...
  1234. d c 00101
  1235. d CURLOPT_ACCEPT_ENCODING...
  1236. d c 10102
  1237. d CURLOPT_PRIVATE...
  1238. d c 10103
  1239. d CURLOPT_HTTP200ALIASES...
  1240. d c 10104
  1241. d CURLOPT_UNRESTRICTED_AUTH...
  1242. d c 00105
  1243. d CURLOPT_FTP_USE_EPRT...
  1244. d c 00106
  1245. d CURLOPT_HTTPAUTH...
  1246. d c 00107
  1247. d CURLOPT_SSL_CTX_FUNCTION...
  1248. d c 20108
  1249. d CURLOPT_SSL_CTX_DATA...
  1250. d c 10109
  1251. d CURLOPT_FTP_CREATE_MISSING_DIRS...
  1252. d c 00110
  1253. d CURLOPT_PROXYAUTH...
  1254. d c 00111
  1255. d CURLOPT_SERVER_RESPONSE_TIMEOUT...
  1256. d c 00112
  1257. d CURLOPT_IPRESOLVE...
  1258. d c 00113
  1259. d CURLOPT_MAXFILESIZE...
  1260. d c 00114
  1261. d CURLOPT_INFILESIZE_LARGE...
  1262. d c 30115
  1263. d CURLOPT_RESUME_FROM_LARGE...
  1264. d c 30116
  1265. d CURLOPT_MAXFILESIZE_LARGE...
  1266. d c 30117
  1267. d CURLOPT_NETRC_FILE...
  1268. d c 10118
  1269. d CURLOPT_USE_SSL...
  1270. d c 00119
  1271. d CURLOPT_POSTFIELDSIZE_LARGE...
  1272. d c 30120
  1273. d CURLOPT_TCP_NODELAY...
  1274. d c 00121
  1275. d CURLOPT_FTPSSLAUTH...
  1276. d c 00129
  1277. d CURLOPT_IOCTLFUNCTION...
  1278. d c 20130
  1279. d CURLOPT_IOCTLDATA...
  1280. d c 10131
  1281. d CURLOPT_FTP_ACCOUNT...
  1282. d c 10134
  1283. d CURLOPT_COOKIELIST...
  1284. d c 10135
  1285. d CURLOPT_IGNORE_CONTENT_LENGTH...
  1286. d c 00136
  1287. d CURLOPT_FTP_SKIP_PASV_IP...
  1288. d c 00137
  1289. d CURLOPT_FTP_FILEMETHOD...
  1290. d c 00138
  1291. d CURLOPT_LOCALPORT...
  1292. d c 00139
  1293. d CURLOPT_LOCALPORTRANGE...
  1294. d c 00140
  1295. d CURLOPT_CONNECT_ONLY...
  1296. d c 00141
  1297. d CURLOPT_CONV_FROM_NETWORK_FUNCTION...
  1298. d c 20142
  1299. d CURLOPT_CONV_TO_NETWORK_FUNCTION...
  1300. d c 20143
  1301. d CURLOPT_CONV_FROM_UTF8_FUNCTION...
  1302. d c 20144
  1303. d CURLOPT_MAX_SEND_SPEED_LARGE...
  1304. d c 30145
  1305. d CURLOPT_MAX_RECV_SPEED_LARGE...
  1306. d c 30146
  1307. d CURLOPT_FTP_ALTERNATIVE_TO_USER...
  1308. d c 10147
  1309. d CURLOPT_SOCKOPTFUNCTION...
  1310. d c 20148
  1311. d CURLOPT_SOCKOPTDATA...
  1312. d c 10149
  1313. d CURLOPT_SSL_SESSIONID_CACHE...
  1314. d c 00150
  1315. d CURLOPT_SSH_AUTH_TYPES...
  1316. d c 00151
  1317. d CURLOPT_SSH_PUBLIC_KEYFILE...
  1318. d c 10152
  1319. d CURLOPT_SSH_PRIVATE_KEYFILE...
  1320. d c 10153
  1321. d CURLOPT_FTP_SSL_CCC...
  1322. d c 00154
  1323. d CURLOPT_TIMEOUT_MS...
  1324. d c 00155
  1325. d CURLOPT_CONNECTTIMEOUT_MS...
  1326. d c 00156
  1327. d CURLOPT_HTTP_TRANSFER_DECODING...
  1328. d c 00157
  1329. d CURLOPT_HTTP_CONTENT_DECODING...
  1330. d c 00158
  1331. d CURLOPT_NEW_FILE_PERMS...
  1332. d c 00159
  1333. d CURLOPT_NEW_DIRECTORY_PERMS...
  1334. d c 00160
  1335. d CURLOPT_POSTREDIR...
  1336. d c 00161
  1337. d CURLOPT_SSH_HOST_PUBLIC_KEY_MD5...
  1338. d c 10162
  1339. d CURLOPT_OPENSOCKETFUNCTION...
  1340. d c 20163
  1341. d CURLOPT_OPENSOCKETDATA...
  1342. d c 10164
  1343. d CURLOPT_COPYPOSTFIELDS...
  1344. d c 10165
  1345. d CURLOPT_PROXY_TRANSFER_MODE...
  1346. d c 00166
  1347. d CURLOPT_SEEKFUNCTION...
  1348. d c 20167
  1349. d CURLOPT_SEEKDATA...
  1350. d c 10168
  1351. d CURLOPT_CRLFILE...
  1352. d c 10169
  1353. d CURLOPT_ISSUERCERT...
  1354. d c 10170
  1355. d CURLOPT_ADDRESS_SCOPE...
  1356. d c 00171
  1357. d CURLOPT_CERTINFO...
  1358. d c 00172
  1359. d CURLOPT_USERNAME...
  1360. d c 10173
  1361. d CURLOPT_PASSWORD...
  1362. d c 10174
  1363. d CURLOPT_PROXYUSERNAME...
  1364. d c 10175
  1365. d CURLOPT_PROXYPASSWORD...
  1366. d c 10176
  1367. d CURLOPT_NOPROXY...
  1368. d c 10177
  1369. d CURLOPT_TFTP_BLKSIZE...
  1370. d c 00178
  1371. d CURLOPT_SOCKS5_GSSAPI_SERVICE...
  1372. d c 10179
  1373. d CURLOPT_SOCKS5_GSSAPI_NEC...
  1374. d c 00180
  1375. d CURLOPT_PROTOCOLS...
  1376. d c 00181
  1377. d CURLOPT_REDIR_PROTOCOLS...
  1378. d c 00182
  1379. d CURLOPT_SSH_KNOWNHOSTS...
  1380. d c 10183
  1381. d CURLOPT_SSH_KEYFUNCTION...
  1382. d c 20184
  1383. d CURLOPT_SSH_KEYDATA...
  1384. d c 10185
  1385. d CURLOPT_MAIL_FROM...
  1386. d c 10186
  1387. d CURLOPT_MAIL_RCPT...
  1388. d c 10187
  1389. d CURLOPT_FTP_USE_PRET...
  1390. d c 00188
  1391. d CURLOPT_RTSP_REQUEST...
  1392. d c 00189
  1393. d CURLOPT_RTSP_SESSION_ID...
  1394. d c 10190
  1395. d CURLOPT_RTSP_STREAM_URI...
  1396. d c 10191
  1397. d CURLOPT_RTSP_TRANSPORT...
  1398. d c 10192
  1399. d CURLOPT_RTSP_CLIENT_CSEQ...
  1400. d c 00193
  1401. d CURLOPT_RTSP_SERVER_CSEQ...
  1402. d c 00194
  1403. d CURLOPT_INTERLEAVEDATA...
  1404. d c 10195
  1405. d CURLOPT_INTERLEAVEFUNCTION...
  1406. d c 20196
  1407. d CURLOPT_WILDCARDMATCH...
  1408. d c 00197
  1409. d CURLOPT_CHUNK_BGN_FUNCTION...
  1410. d c 20198
  1411. d CURLOPT_CHUNK_END_FUNCTION...
  1412. d c 20199
  1413. d CURLOPT_FNMATCH_FUNCTION...
  1414. d c 20200
  1415. d CURLOPT_CHUNK_DATA...
  1416. d c 10201
  1417. d CURLOPT_FNMATCH_DATA...
  1418. d c 10202
  1419. d CURLOPT_RESOLVE...
  1420. d c 10203
  1421. d CURLOPT_TLSAUTH_USERNAME...
  1422. d c 10204
  1423. d CURLOPT_TLSAUTH_PASSWORD...
  1424. d c 10205
  1425. d CURLOPT_TLSAUTH_TYPE...
  1426. d c 10206
  1427. d CURLOPT_TRANSFER_ENCODING...
  1428. d c 00207
  1429. d CURLOPT_CLOSESOCKETFUNCTION...
  1430. d c 20208
  1431. d CURLOPT_CLOSESOCKETDATA...
  1432. d c 10209
  1433. d CURLOPT_GSSAPI_DELEGATION...
  1434. d c 00210
  1435. d CURLOPT_DNS_SERVERS...
  1436. d c 10211
  1437. d CURLOPT_ACCEPTTIMEOUT_MS...
  1438. d c 00212
  1439. d CURLOPT_TCP_KEEPALIVE...
  1440. d c 00213
  1441. d CURLOPT_TCP_KEEPIDLE...
  1442. d c 00214
  1443. d CURLOPT_TCP_KEEPINTVL...
  1444. d c 00215
  1445. d CURLOPT_SSL_OPTIONS...
  1446. d c 00216
  1447. d CURLOPT_MAIL_AUTH...
  1448. d c 10217
  1449. d CURLOPT_SASL_IR...
  1450. d c 00218
  1451. d CURLOPT_XFERINFOFUNCTION...
  1452. d c 20219
  1453. d CURLOPT_XOAUTH2_BEARER...
  1454. d c 10220
  1455. d CURLOPT_DNS_INTERFACE...
  1456. d c 10221
  1457. d CURLOPT_DNS_LOCAL_IP4...
  1458. d c 10222
  1459. d CURLOPT_DNS_LOCAL_IP6...
  1460. d c 10223
  1461. d CURLOPT_LOGIN_OPTIONS...
  1462. d c 10224
  1463. d CURLOPT_SSL_ENABLE_NPN...
  1464. d c 00225
  1465. d CURLOPT_SSL_ENABLE_ALPN...
  1466. d c 00226
  1467. d CURLOPT_EXPECT_100_TIMEOUT_MS...
  1468. d c 00227
  1469. d CURLOPT_PROXYHEADER...
  1470. d c 10228
  1471. d CURLOPT_HEADEROPT...
  1472. d c 00229
  1473. d CURLOPT_PINNEDPUBLICKEY...
  1474. d c 10230
  1475. d CURLOPT_UNIX_SOCKET_PATH...
  1476. d c 10231
  1477. d CURLOPT_SSL_VERIFYSTATUS...
  1478. d c 00232
  1479. d CURLOPT_SSL_FALSESTART...
  1480. d c 00233
  1481. d CURLOPT_PATH_AS_IS...
  1482. d c 00234
  1483. d CURLOPT_PROXY_SERVICE_NAME...
  1484. d c 10235
  1485. d CURLOPT_SERVICE_NAME...
  1486. d c 10236
  1487. d CURLOPT_PIPEWAIT...
  1488. d c 00237
  1489. d CURLOPT_DEFAULT_PROTOCOL...
  1490. d c 10238
  1491. d CURLOPT_STREAM_WEIGHT...
  1492. d c 00239
  1493. d CURLOPT_STREAM_DEPENDS...
  1494. d c 10240
  1495. d CURLOPT_STREAM_DEPENDS_E...
  1496. d c 10241
  1497. d CURLOPT_TFTP_NO_OPTIONS...
  1498. d c 00242
  1499. d CURLOPT_CONNECT_TO...
  1500. d c 10243
  1501. d CURLOPT_TCP_FASTOPEN...
  1502. d c 00244
  1503. d CURLOPT_KEEP_SENDING_ON_ERROR...
  1504. d c 00245
  1505. d CURLOPT_PROXY_CAINFO...
  1506. d c 10246
  1507. d CURLOPT_PROXY_CAPATH...
  1508. d c 10247
  1509. d CURLOPT_PROXY_SSL_VERIFYPEER...
  1510. d c 00248
  1511. d CURLOPT_PROXY_SSL_VERIFYHOST...
  1512. d c 00249
  1513. d CURLOPT_PROXY_SSLVERSION...
  1514. d c 00250
  1515. d CURLOPT_PROXY_TLSAUTH_USERNAME...
  1516. d c 10251
  1517. d CURLOPT_PROXY_TLSAUTH_PASSWORD...
  1518. d c 10252
  1519. d CURLOPT_PROXY_TLSAUTH_TYPE...
  1520. d c 10253
  1521. d CURLOPT_PROXY_SSLCERT...
  1522. d c 10254
  1523. d CURLOPT_PROXY_SSLCERTTYPE...
  1524. d c 10255
  1525. d CURLOPT_PROXY_SSLKEY...
  1526. d c 10256
  1527. d CURLOPT_PROXY_SSLKEYTYPE...
  1528. d c 10257
  1529. d CURLOPT_PROXY_KEYPASSWD...
  1530. d c 10258
  1531. d CURLOPT_PROXY_SSL_CIPHER_LIST...
  1532. d c 10259
  1533. d CURLOPT_PROXY_CRLFILE...
  1534. d c 10260
  1535. d CURLOPT_PROXY_SSL_OPTIONS...
  1536. d c 00261
  1537. d CURLOPT_PRE_PROXY...
  1538. d c 10262
  1539. d CURLOPT_PROXY_PINNEDPUBLICKEY...
  1540. d c 10263
  1541. d CURLOPT_ABSTRACT_UNIX_SOCKET...
  1542. d c 10264
  1543. d CURLOPT_SUPPRESS_CONNECT_HEADERS...
  1544. d c 00265
  1545. d CURLOPT_REQUEST_TARGET...
  1546. d c 10266
  1547. d CURLOPT_SOCKS5_AUTH...
  1548. d c 00267
  1549. d CURLOPT_SSH_COMPRESSION...
  1550. d c 00268
  1551. d CURLOPT_MIMEPOST...
  1552. d c 10269
  1553. d CURLOPT_TIMEVALUE_LARGE...
  1554. d c 30270
  1555. d CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS...
  1556. d c 00271
  1557. d CURLOPT_RESOLVER_START_FUNCTION...
  1558. d c 20272
  1559. d CURLOPT_RESOLVER_START_DATA...
  1560. d c 10273
  1561. d CURLOPT_HAPROXYPROTOCOL...
  1562. d c 00274
  1563. d CURLOPT_DNS_SHUFFLE_ADDRESSES...
  1564. d c 00275
  1565. d CURLOPT_TLS13_CIPHERS...
  1566. d c 10276
  1567. d CURLOPT_PROXY_TLS13_CIPHERS...
  1568. d c 10277
  1569. d CURLOPT_DISALLOW_USERNAME_IN_URL...
  1570. d c 00278
  1571. d CURLOPT_DOH_URL...
  1572. d c 10279
  1573. d CURLOPT_UPLOAD_BUFFERSIZE...
  1574. d c 00280
  1575. d CURLOPT_UPKEEP_INTERVAL_MS...
  1576. d c 00281
  1577. d CURLOPT_CURLU c 10282
  1578. d CURLOPT_TRAILERFUNCTION...
  1579. d c 20283
  1580. d CURLOPT_TRAILERDATA...
  1581. d c 10284
  1582. d CURLOPT_HTTP09_ALLOWED...
  1583. d c 00285
  1584. d CURLOPT_ALTSVC_CTRL...
  1585. d c 00286
  1586. d CURLOPT_ALTSVC...
  1587. d c 10287
  1588. d CURLOPT_MAXAGE_CONN...
  1589. d c 00288
  1590. d CURLOPT_SASL_AUTHZID...
  1591. d c 10289
  1592. d CURLOPT_MAIL_RCPT_ALLOWFAILS...
  1593. d c 00290
  1594. d CURLOPT_SSLCERT_BLOB...
  1595. d c 40291
  1596. d CURLOPT_SSLKEY_BLOB...
  1597. d c 40292
  1598. d CURLOPT_PROXY_SSLCERT_BLOB...
  1599. d c 40293
  1600. d CURLOPT_PROXY_SSLKEY_BLOB...
  1601. d c 40294
  1602. d CURLOPT_ISSUERCERT_BLOB...
  1603. d c 40295
  1604. d CURLOPT_PROXY_ISSUERCERT...
  1605. d c 10296
  1606. d CURLOPT_PROXY_ISSUERCERT_BLOB...
  1607. d c 40297
  1608. d CURLOPT_SSL_EC_CURVES...
  1609. d c 10298
  1610. d CURLOPT_HSTS_CTRL...
  1611. d c 00299
  1612. d CURLOPT_HSTS...
  1613. d c 10300
  1614. d CURLOPT_HSTSREADFUNCTION...
  1615. d c 20301
  1616. d CURLOPT_HSTSREADDATA...
  1617. d c 10302
  1618. d CURLOPT_HSTSWRITEFUNCTION...
  1619. d c 20303
  1620. d CURLOPT_HSTSWRITEDATA...
  1621. d c 10304
  1622. d CURLOPT_AWS_SIG4...
  1623. d c 10305
  1624. d CURLOPT_DOH_SSL_VERIFYPEER...
  1625. d c 00306
  1626. d CURLOPT_DOH_SSL_VERIFYHOST...
  1627. d c 00307
  1628. d CURLOPT_DOH_SSL_VERIFYSTATUS...
  1629. d c 00308
  1630. d CURLOPT_CAINFO_BLOB...
  1631. d c 40309
  1632. d CURLOPT_PROXY_CAINFO_BLOB...
  1633. d c 40310
  1634. d CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256...
  1635. d c 10311
  1636. d CURLOPT_PREREQFUNCTION...
  1637. d c 20312
  1638. d CURLOPT_PREREQDATA...
  1639. d c 10313
  1640. d CURLOPT_MAXLIFETIME_CONN...
  1641. d c 00314
  1642. d CURLOPT_MIME_OPTIONS...
  1643. d c 00315
  1644. d CURLOPT_SSH_HOSTKEYFUNCTION...
  1645. d c 20316
  1646. d CURLOPT_SSH_HOSTKEYDATA...
  1647. d c 10317
  1648. d CURLOPT_PROTOCOLS_STR...
  1649. d c 10318
  1650. d CURLOPT_REDIR_PROTOCOLS_STR...
  1651. d c 10319
  1652. d CURLOPT_WS_OPTIONS...
  1653. d c 00320
  1654. d CURLOPT_CA_CACHE_TIMEOUT...
  1655. d c 00321
  1656. d CURLOPT_QUICK_EXIT...
  1657. d c 00322
  1658. *
  1659. /if not defined(CURL_NO_OLDIES)
  1660. d CURLOPT_FILE c 10001
  1661. d CURLOPT_INFILE...
  1662. d c 10009
  1663. d CURLOPT_SSLKEYPASSWD...
  1664. d c 10026
  1665. d CURLOPT_SSLCERTPASSWD...
  1666. d c 10026
  1667. d CURLOPT_WRITEHEADER...
  1668. d c 10029
  1669. d CURLOPT_WRITEINFO...
  1670. d c 10040
  1671. d CURLOPT_FTPLISTONLY...
  1672. d c 00048
  1673. d CURLOPT_FTPAPPEND...
  1674. d c 00050
  1675. d CURLOPT_CLOSEPOLICY...
  1676. d c 00072
  1677. d CURLOPT_KRB4LEVEL...
  1678. d c 10063
  1679. d CURLOPT_ENCODING...
  1680. d c 10102
  1681. d CURLOPT_FTP_SSL...
  1682. d c 00119
  1683. d CURLOPT_POST301...
  1684. d c 00161
  1685. d CURLOPT_FTP_RESPONSE_TIMEOUT...
  1686. d c 00112
  1687. /endif
  1688. *
  1689. d CURLFORMcode s 10i 0 based(######ptr######) Enum
  1690. d CURL_FORMADD_OK...
  1691. d c 0
  1692. d CURL_FORMADD_MEMORY...
  1693. d c 1
  1694. d CURL_FORMADD_OPTION_TWICE...
  1695. d c 2
  1696. d CURL_FORMADD_NULL...
  1697. d c 3
  1698. d CURL_FORMADD_UNKNOWN_OPTION...
  1699. d c 4
  1700. d CURL_FORMADD_INCOMPLETE...
  1701. d c 5
  1702. d CURL_FORMADD_ILLEGAL_ARRAY...
  1703. d c 6
  1704. d CURL_FORMADD_DISABLED...
  1705. d c 7
  1706. *
  1707. d CURLformoption s 10i 0 based(######ptr######) Enum
  1708. d CURLFORM_NOTHING...
  1709. d c 0
  1710. d CURLFORM_COPYNAME...
  1711. d c 1
  1712. d CURLFORM_PTRNAME...
  1713. d c 2
  1714. d CURLFORM_NAMELENGTH...
  1715. d c 3
  1716. d CURLFORM_COPYCONTENTS...
  1717. d c 4
  1718. d CURLFORM_PTRCONTENTS...
  1719. d c 5
  1720. d CURLFORM_CONTENTSLENGTH...
  1721. d c 6
  1722. d CURLFORM_FILECONTENT...
  1723. d c 7
  1724. d CURLFORM_ARRAY...
  1725. d c 8
  1726. d CURLFORM_OBSOLETE...
  1727. d c 9
  1728. d CURLFORM_FILE...
  1729. d c 10
  1730. d CURLFORM_BUFFER...
  1731. d c 11
  1732. d CURLFORM_BUFFERPTR...
  1733. d c 12
  1734. d CURLFORM_BUFFERLENGTH...
  1735. d c 13
  1736. d CURLFORM_CONTENTTYPE...
  1737. d c 14
  1738. d CURLFORM_CONTENTHEADER...
  1739. d c 15
  1740. d CURLFORM_FILENAME...
  1741. d c 16
  1742. d CURLFORM_END...
  1743. d c 17
  1744. d CURLFORM_OBSOLETE2...
  1745. d c 18
  1746. d CURLFORM_STREAM...
  1747. d c 19
  1748. d CURLFORM_CONTENTLEN...
  1749. d c 20
  1750. *
  1751. d CURLMIMEOPT_FORMESCAPE...
  1752. d c X'00000001'
  1753. *
  1754. d CURLINFO s 10i 0 based(######ptr######) Enum
  1755. d CURLINFO_EFFECTIVE_URL... CURLINFO_STRING + 1
  1756. d c X'00100001'
  1757. d CURLINFO_RESPONSE_CODE... CURLINFO_LONG + 2
  1758. d c X'00200002'
  1759. d CURLINFO_TOTAL_TIME... CURLINFO_DOUBLE + 3
  1760. d c X'00300003'
  1761. d CURLINFO_NAMELOOKUP_TIME... CURLINFO_DOUBLE + 4
  1762. d c X'00300004'
  1763. d CURLINFO_CONNECT_TIME... CURLINFO_DOUBLE + 5
  1764. d c X'00300005'
  1765. d CURLINFO_PRETRANSFER_TIME... CURLINFO_DOUBLE + 6
  1766. d c X'00300006'
  1767. d CURLINFO_SIZE_UPLOAD... CURLINFO_DOUBLE + 7
  1768. d c X'00300007'
  1769. d CURLINFO_SIZE_UPLOAD_T... CURLINFO_OFF_T + 7
  1770. d c X'00600007'
  1771. d CURLINFO_SIZE_DOWNLOAD... CURLINFO_DOUBLE + 8
  1772. d c X'00300008'
  1773. d CURLINFO_SIZE_DOWNLOAD_T... CURLINFO_OFF_T + 8
  1774. d c X'00600008'
  1775. d CURLINFO_SPEED_DOWNLOAD... CURLINFO_DOUBLE + 9
  1776. d c X'00300009'
  1777. d CURLINFO_SPEED_DOWNLOAD_T... CURLINFO_OFF_T + 9
  1778. d c X'00600009'
  1779. d CURLINFO_SPEED_UPLOAD... CURLINFO_DOUBLE + 10
  1780. d c X'0030000A'
  1781. d CURLINFO_SPEED_UPLOAD_T... CURLINFO_OFF_T + 10
  1782. d c X'0060000A'
  1783. d CURLINFO_HEADER_SIZE... CURLINFO_LONG + 11
  1784. d c X'0020000B'
  1785. d CURLINFO_REQUEST_SIZE... CURLINFO_LONG + 12
  1786. d c X'0020000C'
  1787. d CURLINFO_SSL_VERIFYRESULT... CURLINFO_LONG + 13
  1788. d c X'0020000D'
  1789. d CURLINFO_FILETIME... CURLINFO_LONG + 14
  1790. d c X'0020000E'
  1791. d CURLINFO_FILETIME_T... CURLINFO_OFF_T + 14
  1792. d c X'0060000E'
  1793. d CURLINFO_CONTENT_LENGTH_DOWNLOAD... CURLINFO_DOUBLE + 15
  1794. d c X'0030000F'
  1795. d CURLINFO_CONTENT_LENGTH_DOWNLOAD_T... CURLINFO_OFF_T + 15
  1796. d c X'0060000F'
  1797. d CURLINFO_CONTENT_LENGTH_UPLOAD... CURLINFO_DOUBLE + 16
  1798. d c X'00300010'
  1799. d CURLINFO_CONTENT_LENGTH_UPLOAD_T... CURLINFO_OFF_T + 16
  1800. d c X'00600010'
  1801. d CURLINFO_STARTTRANSFER_TIME... CURLINFO_DOUBLE + 17
  1802. d c X'00300011'
  1803. d CURLINFO_CONTENT_TYPE... CURLINFO_STRING + 18
  1804. d c X'00100012'
  1805. d CURLINFO_REDIRECT_TIME... CURLINFO_DOUBLE + 19
  1806. d c X'00300013'
  1807. d CURLINFO_REDIRECT_COUNT... CURLINFO_LONG + 20
  1808. d c X'00200014'
  1809. d CURLINFO_PRIVATE... CURLINFO_STRING + 21
  1810. d c X'00100015'
  1811. d CURLINFO_HTTP_CONNECTCODE... CURLINFO_LONG + 22
  1812. d c X'00200016'
  1813. d CURLINFO_HTTPAUTH_AVAIL... CURLINFO_LONG + 23
  1814. d c X'00200017'
  1815. d CURLINFO_PROXYAUTH_AVAIL... CURLINFO_LONG + 24
  1816. d c X'00200018'
  1817. d CURLINFO_OS_ERRNO... CURLINFO_LONG + 25
  1818. d c X'00200019'
  1819. d CURLINFO_NUM_CONNECTS... CURLINFO_LONG + 26
  1820. d c X'0020001A'
  1821. d CURLINFO_SSL_ENGINES... CURLINFO_SLIST + 27
  1822. d c X'0040001B'
  1823. d CURLINFO_COOKIELIST... CURLINFO_SLIST + 28
  1824. d c X'0040001C'
  1825. d CURLINFO_LASTSOCKET... CURLINFO_LONG + 29
  1826. d c X'0020001D'
  1827. d CURLINFO_FTP_ENTRY_PATH... CURLINFO_STRING + 30
  1828. d c X'0010001E'
  1829. d CURLINFO_REDIRECT_URL... CURLINFO_STRING + 31
  1830. d c X'0010001F'
  1831. d CURLINFO_PRIMARY_IP... CURLINFO_STRING + 32
  1832. d c X'00100020'
  1833. d CURLINFO_APPCONNECT_TIME... CURLINFO_DOUBLE + 33
  1834. d c X'00300021'
  1835. d CURLINFO_CERTINFO... CURLINFO_SLIST + 34
  1836. d c X'00400022'
  1837. d CURLINFO_CONDITION_UNMET... CURLINFO_LONG + 35
  1838. d c X'00200023'
  1839. d CURLINFO_RTSP_SESSION_ID... CURLINFO_STRING + 36
  1840. d c X'00100024'
  1841. d CURLINFO_RTSP_CLIENT_CSEQ... CURLINFO_LONG + 37
  1842. d c X'00200025'
  1843. d CURLINFO_RTSP_SERVER_CSEQ... CURLINFO_LONG + 38
  1844. d c X'00200026'
  1845. d CURLINFO_RTSP_CSEQ_RECV... CURLINFO_LONG + 39
  1846. d c X'00200027'
  1847. d CURLINFO_PRIMARY_PORT... CURLINFO_LONG + 40
  1848. d c X'00200028'
  1849. d CURLINFO_LOCAL_IP... CURLINFO_STRING + 41
  1850. d c X'00100029'
  1851. d CURLINFO_LOCAL_PORT... CURLINFO_LONG + 42
  1852. d c X'0020002A'
  1853. d CURLINFO_TLS_SESSION... CURLINFO_SLIST + 43
  1854. d c X'0040002B'
  1855. d CURLINFO_ACTIVESOCKET... CURLINFO_SOCKET + 44
  1856. d c X'0050002C'
  1857. d CURLINFO_TLS_SSL_PTR... CURLINFO_SLIST + 45
  1858. d c X'0040002D'
  1859. d CURLINFO_HTTP_VERSION... CURLINFO_LONG + 46
  1860. d c X'0020002E'
  1861. d CURLINFO_PROXY_SSL_VERIFYRESULT... CURLINFO_LONG + 47
  1862. d c X'0020002F'
  1863. d CURLINFO_PROTOCOL... CURLINFO_LONG + 48
  1864. d c X'00200030'
  1865. d CURLINFO_SCHEME... CURLINFO_STRING + 49
  1866. d c X'00100031'
  1867. d CURLINFO_TOTAL_TIME_T... CURLINFO_OFF_T + 50
  1868. d c X'00600032'
  1869. d CURLINFO_NAMELOOKUP_TIME_T... CURLINFO_OFF_T + 51
  1870. d c X'00600033'
  1871. d CURLINFO_CONNECT_TIME_T... CURLINFO_OFF_T + 52
  1872. d c X'00600034'
  1873. d CURLINFO_PRETRANSFER_TIME_T... CURLINFO_OFF_T + 53
  1874. d c X'00600035'
  1875. d CURLINFO_STARTTRANSFER_TIME_T... CURLINFO_OFF_T + 54
  1876. d c X'00600036'
  1877. d CURLINFO_REDIRECT_TIME_T... CURLINFO_OFF_T + 55
  1878. d c X'00600037'
  1879. d CURLINFO_APPCONNECT_TIME_T... CURLINFO_OFF_T + 56
  1880. d c X'00600038'
  1881. d CURLINFO_RETRY_AFTER... CURLINFO_OFF_T + 57
  1882. d c X'00600039'
  1883. d CURLINFO_EFFECTIVE_METHOD... CURLINFO_STRING + 58
  1884. d c X'0010003A'
  1885. d CURLINFO_PROXY_ERROR... CURLINFO_LONG + 59
  1886. d c X'0020003B'
  1887. d CURLINFO_REFERER... CURLINFO_STRING + 60
  1888. d c X'0010003C'
  1889. d CURLINFO_CAINFO... CURLINFO_STRING + 61
  1890. d c X'0010003D'
  1891. d CURLINFO_CAPATH... CURLINFO_STRING + 62
  1892. d c X'0010003E'
  1893. *
  1894. d CURLINFO_HTTP_CODE... Old ...RESPONSE_CODE
  1895. d c X'00200002'
  1896. *
  1897. d curl_sslbackend...
  1898. d s 10i 0 based(######ptr######) Enum
  1899. d CURLSSLBACKEND_NONE...
  1900. d c 0
  1901. d CURLSSLBACKEND_OPENSSL...
  1902. d c 1
  1903. d CURLSSLBACKEND_GNUTLS...
  1904. d c 2
  1905. d CURLSSLBACKEND_NSS...
  1906. d c 3
  1907. d CURLSSLBACKEND_OBSOLETE4...
  1908. d c 4
  1909. d CURLSSLBACKEND_GSKIT...
  1910. d c 5
  1911. d CURLSSLBACKEND_POLARSSL...
  1912. d c 6
  1913. d CURLSSLBACKEND_CYASSL...
  1914. d c 7
  1915. d CURLSSLBACKEND_SCHANNEL...
  1916. d c 8
  1917. d CURLSSLBACKEND_DARWINSSL...
  1918. d c 9
  1919. d CURLSSLBACKEND_AXTLS...
  1920. d c 10
  1921. d CURLSSLBACKEND_MBEDTLS...
  1922. d c 11
  1923. d CURLSSLBACKEND_MESALINK...
  1924. d c 12
  1925. d CURLSSLBACKEND_BEARSSL...
  1926. d c 13
  1927. d CURLSSLBACKEND_RUSTLS...
  1928. d c 14
  1929. * Aliases for clones.
  1930. d CURLSSLBACKEND_AWSLC...
  1931. d c 1
  1932. d CURLSSLBACKEND_BORINGSSL...
  1933. d c 1
  1934. d CURLSSLBACKEND_LIBRESSL...
  1935. d c 1
  1936. d CURLSSLBACKEND_WOLFSSL...
  1937. d c 6
  1938. *
  1939. d curl_closepolicy...
  1940. d s 10i 0 based(######ptr######) Enum
  1941. d CURLCLOSEPOLICY_OLDEST...
  1942. d c 1
  1943. d CURLCLOSEPOLICY_LEAST_RECENTLY_USED...
  1944. d c 2
  1945. d CURLCLOSEPOLICY_LEAST_TRAFFIC...
  1946. d c 3
  1947. d CURLCLOSEPOLICY_SLOWEST...
  1948. d c 4
  1949. d CURLCLOSEPOLICY_CALLBACK...
  1950. d c 5
  1951. *
  1952. d curl_lock_data...
  1953. d s 10i 0 based(######ptr######) Enum
  1954. d CURL_LOCK_DATA_NONE...
  1955. d c 0
  1956. d CURL_LOCK_DATA_SHARE...
  1957. d c 1
  1958. d CURL_LOCK_DATA_COOKIE...
  1959. d c 2
  1960. d CURL_LOCK_DATA_DNS...
  1961. d c 3
  1962. d CURL_LOCK_DATA_SSL_SESSION...
  1963. d c 4
  1964. d CURL_LOCK_DATA_CONNECT...
  1965. d c 5
  1966. d CURL_LOCK_DATA_PSL...
  1967. d c 6
  1968. d CURL_LOCK_DATA_HSTS...
  1969. d c 7
  1970. d CURL_LOCK_DATA_LAST...
  1971. d c 8
  1972. *
  1973. d curl_lock_access...
  1974. d s 10i 0 based(######ptr######) Enum
  1975. d CURL_LOCK_ACCESS_NONE...
  1976. d c 0
  1977. d CURL_LOCK_ACCESS_SHARED...
  1978. d c 1
  1979. d CURL_LOCK_ACCESS_SINGLE...
  1980. d c 2
  1981. *
  1982. d curl_TimeCond s 10i 0 based(######ptr######) Enum
  1983. d CURL_TIMECOND_NONE...
  1984. d c 0
  1985. d CURL_TIMECOND_IFMODSINCE...
  1986. d c 1
  1987. d CURL_TIMECOND_LASTMOD...
  1988. d c 2
  1989. d CURL_TIMECOND_LAST...
  1990. d c 3
  1991. *
  1992. d curl_easytype s 10i 0 based(######ptr######) Enum
  1993. d CURLOT_LONG c 0
  1994. d CURLOT_VALUES...
  1995. d c 1
  1996. d CURLOT_OFF_T c 2
  1997. d CURLOT_OBJECT...
  1998. d c 3
  1999. d CURLOT_STRING...
  2000. d c 4
  2001. d CURLOT_SLIST c 5
  2002. d CURLOT_CBPTR c 6
  2003. d CURLOT_BLOB c 7
  2004. d CURLOT_FUNCTION...
  2005. d c 8
  2006. *
  2007. d CURLSHcode s 10i 0 based(######ptr######) Enum
  2008. d CURLSHE_OK c 0
  2009. d CURLSHE_BAD_OPTION...
  2010. d c 1
  2011. d CURLSHE_IN_USE...
  2012. d c 2
  2013. d CURLSHE_INVALID...
  2014. d c 3
  2015. d CURLSHE_NOMEM...
  2016. d c 4
  2017. d CURLSHE_NOT_BUILT_IN...
  2018. d c 5
  2019. *
  2020. d CURLSHoption...
  2021. d s 10i 0 based(######ptr######) Enum
  2022. d CURLSHOPT_SHARE...
  2023. d c 1
  2024. d CURLSHOPT_UNSHARE...
  2025. d c 2
  2026. d CURLSHOPT_LOCKFUNC...
  2027. d c 3
  2028. d CURLSHOPT_UNLOCKFUNC...
  2029. d c 4
  2030. d CURLSHOPT_USERDATA...
  2031. d c 5
  2032. *
  2033. d CURLversion s 10i 0 based(######ptr######) Enum
  2034. d CURLVERSION_FIRST...
  2035. d c 0
  2036. d CURLVERSION_SECOND...
  2037. d c 1
  2038. d CURLVERSION_THIRD...
  2039. d c 2
  2040. d CURLVERSION_FOURTH...
  2041. d c 3
  2042. d CURLVERSION_FIFTH...
  2043. d c 4
  2044. d CURLVERSION_SIXTH...
  2045. d c 5
  2046. d CURLVERSION_SEVENTH...
  2047. d c 6
  2048. d CURLVERSION_EIGHTH...
  2049. d c 7
  2050. d CURLVERSION_NINTH...
  2051. d c 8
  2052. d CURLVERSION_TENTH...
  2053. d c 9
  2054. d CURLVERSION_ELEVENTH...
  2055. d c 10
  2056. d CURLVERSION_NOW...
  2057. d c 10 CURLVERSION_ELEVENTH
  2058. *
  2059. d CURLHcode s 10i 0 based(######ptr######) Enum
  2060. d CURLHE_OK c 0
  2061. d CURLHE_BADINDEX...
  2062. d c 1
  2063. d CURLHE_MISSING...
  2064. d c 2
  2065. d CURLHE_NOHEADERS...
  2066. d c 3
  2067. d CURLHE_NOREQUEST...
  2068. d c 4
  2069. d CURLHE_OUT_OF_MEMORY...
  2070. d c 5
  2071. d CURLHE_BAD_ARGUMENT...
  2072. d c 6
  2073. d CURLHE_NOT_BUILT_IN...
  2074. d c 7
  2075. *
  2076. d curlsocktype s 10i 0 based(######ptr######) Enum
  2077. d CURLSOCKTYPE_IPCXN...
  2078. d c 0
  2079. d CURLSOCKTYPE_ACCEPT...
  2080. d c 1
  2081. *
  2082. d CURL_SOCKOPT_OK...
  2083. d c 0
  2084. d CURL_SOCKOPT_ERROR...
  2085. d c 1
  2086. d CURL_SOCKOPT_ALREADY_CONNECTED...
  2087. d c 2
  2088. *
  2089. d CURLMcode s 10i 0 based(######ptr######) Enum
  2090. d CURLM_CALL_MULTI_PERFORM...
  2091. d c -1
  2092. d CURLM_CALL_MULTI_SOCKET...
  2093. d c -1
  2094. d CURLM_OK c 0
  2095. d CURLM_BAD_HANDLE...
  2096. d c 1
  2097. d CURLM_BAD_EASY_HANDLE...
  2098. d c 2
  2099. d CURLM_OUT_OF_MEMORY...
  2100. d c 3
  2101. d CURLM_INTERNAL_ERROR...
  2102. d c 4
  2103. d CURLM_BAD_SOCKET...
  2104. d c 5
  2105. d CURLM_UNKNOWN_OPTION...
  2106. d c 6
  2107. d CURLM_ADDED_ALREADY...
  2108. d c 7
  2109. d CURLM_RECURSIVE_API_CALL...
  2110. d c 8
  2111. d CURLM_WAKEUP_FAILURE...
  2112. d c 9
  2113. d CURLM_BAD_FUNCTION_ARGUMENT...
  2114. d c 10
  2115. d CURLM_LAST c 11
  2116. *
  2117. d CURLMSG s 10i 0 based(######ptr######) Enum
  2118. d CURLMSG_NONE c 0
  2119. d CURLMSG_DONE c 1
  2120. *
  2121. d CURLMoption s 10i 0 based(######ptr######) Enum
  2122. d CURLMOPT_SOCKETFUNCTION...
  2123. d c 20001
  2124. d CURLMOPT_SOCKETDATA...
  2125. d c 10002
  2126. d CURLMOPT_PIPELINING...
  2127. d c 00003
  2128. d CURLMOPT_TIMERFUNCTION...
  2129. d c 20004
  2130. d CURLMOPT_TIMERDATA...
  2131. d c 10005
  2132. d CURLMOPT_MAXCONNECTS...
  2133. d c 00006
  2134. d CURLMOPT_MAX_HOST_CONNECTIONS...
  2135. d c 00007
  2136. d CURLMOPT_MAX_PIPELINE_LENGTH...
  2137. d c 00008
  2138. d CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE...
  2139. d c 30009
  2140. d CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE...
  2141. d c 30010
  2142. d CURLMOPT_PIPELINING_SITE_BL...
  2143. d c 10011
  2144. d CURLMOPT_PIPELINING_SERVER_BL...
  2145. d c 10012
  2146. d CURLMOPT_MAX_TOTAL_CONNECTIONS...
  2147. d c 00013
  2148. d CURLMOPT_PUSHFUNCTION...
  2149. d c 20014
  2150. d CURLMOPT_PUSHDATA...
  2151. d c 10015
  2152. d CURLMOPT_MAX_CONCURRENT_STREAMS...
  2153. d c 10016
  2154. *
  2155. * Bitmask bits for CURLMOPT_PIPELING.
  2156. *
  2157. d CURLPIPE_NOTHING...
  2158. d c x'00000000'
  2159. d CURLPIPE_HTTP1 c x'00000001'
  2160. d CURLPIPE_MULTIPLEX...
  2161. d c x'00000002'
  2162. *
  2163. * Public API enums for RTSP requests.
  2164. *
  2165. d CURLRTSPREQ_NONE...
  2166. d c 0
  2167. d CURL_RTSPREQ_OPTIONS...
  2168. d c 1
  2169. d CURL_RTSPREQ_DESCRIBE...
  2170. d c 2
  2171. d CURL_RTSPREQ_ANNOUNCE...
  2172. d c 3
  2173. d CURL_RTSPREQ_SETUP...
  2174. d c 4
  2175. d CURL_RTSPREQ_PLAY...
  2176. d c 5
  2177. d CURL_RTSPREQ_PAUSE...
  2178. d c 6
  2179. d CURL_RTSPREQ_TEARDOWN...
  2180. d c 7
  2181. d CURL_RTSPREQ_GET_PARAMETER...
  2182. d c 8
  2183. d CURL_RTSPREQ_SET_PARAMETER...
  2184. d c 9
  2185. d CURL_RTSPREQ_RECORD...
  2186. d c 10
  2187. d CURL_RTSPREQ_RECEIVE...
  2188. d c 12
  2189. d CURL_RTSPREQ_LAST...
  2190. d c 13
  2191. *
  2192. d CURLUcode s 10i 0 based(######ptr######) Enum
  2193. d CURLUE_OK c 0
  2194. d CURLUE_BAD_HANDLE...
  2195. d c 1
  2196. d CURLUE_BAD_PARTPOINTER...
  2197. d c 2
  2198. d CURLUE_MALFORMED_INPUT...
  2199. d c 3
  2200. d CURLUE_BAD_PORT_NUMBER...
  2201. d c 4
  2202. d CURLUE_UNSUPPORTED_SCHEME...
  2203. d c 5
  2204. d CURLUE_URLDECODE...
  2205. d c 6
  2206. d CURLUE_OUT_OF_MEMORY...
  2207. d c 7
  2208. d CURLUE_USER_NOT_ALLOWED...
  2209. d c 8
  2210. d CURLUE_UNKNOWN_PART...
  2211. d c 9
  2212. d CURLUE_NO_SCHEME...
  2213. d c 10
  2214. d CURLUE_NO_USER...
  2215. d c 11
  2216. d CURLUE_NO_PASSWORD...
  2217. d c 12
  2218. d CURLUE_NO_OPTIONS...
  2219. d c 13
  2220. d CURLUE_NO_HOST...
  2221. d c 14
  2222. d CURLUE_NO_PORT...
  2223. d c 15
  2224. d CURLUE_NO_QUERY...
  2225. d c 16
  2226. d CURLUE_NO_FRAGMENT...
  2227. d c 17
  2228. d CURLUE_NO_ZONEID...
  2229. d c 18
  2230. d CURLUE_BAD_FILE_URL...
  2231. d c 19
  2232. d CURLUE_BAD_FRAGMENT...
  2233. d c 20
  2234. d CURLUE_BAD_HOSTNAME...
  2235. d c 21
  2236. d CURLUE_BAD_IPV6...
  2237. d c 22
  2238. d CURLUE_BAD_LOGIN...
  2239. d c 23
  2240. d CURLUE_BAD_PASSWORD...
  2241. d c 24
  2242. d CURLUE_BAD_PATH...
  2243. d c 25
  2244. d CURLUE_BAD_QUERY...
  2245. d c 26
  2246. d CURLUE_BAD_SCHEME...
  2247. d c 27
  2248. d CURLUE_BAD_SLASHES...
  2249. d c 28
  2250. d CURLUE_BAD_USER...
  2251. d c 29
  2252. d CURLUE_LACKS_IDN...
  2253. d c 30
  2254. *
  2255. d CURLUPart s 10i 0 based(######ptr######) Enum
  2256. d CURLUPART_URL c 0
  2257. d CURLUPART_SCHEME...
  2258. d c 1
  2259. d CURLUPART_USER...
  2260. d c 2
  2261. d CURLUPART_PASSWORD...
  2262. d c 3
  2263. d CURLUPART_OPTIONS...
  2264. d c 4
  2265. d CURLUPART_HOST...
  2266. d c 5
  2267. d CURLUPART_PORT...
  2268. d c 6
  2269. d CURLUPART_PATH...
  2270. d c 7
  2271. d CURLUPART_QUERY...
  2272. d c 8
  2273. d CURLUPART_FRAGMENT...
  2274. d c 9
  2275. d CURLUPART_ZONEID...
  2276. d c 10
  2277. *
  2278. *
  2279. d CURLSTScode s 10i 0 based(######ptr######) Enum
  2280. d CURLSTS_OK c 0
  2281. d CURLSTS_DONE c 1
  2282. d CURLSTS_FAIL c 2
  2283. *
  2284. * Renaming CURLMsg to CURL_Msg to avoid case-insensitivity name clash.
  2285. *
  2286. d CURL_Msg ds based(######ptr######)
  2287. d qualified
  2288. d msg like(CURLMSG)
  2289. d easy_handle * CURL *
  2290. d data *
  2291. d whatever * overlay(data) void *
  2292. d result overlay(data) like(CURLcode)
  2293. *
  2294. d curl_waitfd...
  2295. d ds based(######ptr######)
  2296. d qualified
  2297. d fd like(curl_socket_t)
  2298. d events 5i 0
  2299. d revents 5i 0
  2300. *
  2301. d curl_http_post...
  2302. d ds based(######ptr######)
  2303. d qualified
  2304. d next * curl_httppost *
  2305. d name * char *
  2306. d namelength 10i 0 long
  2307. d contents * char *
  2308. d contentslength...
  2309. d 10i 0 long
  2310. d buffer * char *
  2311. d bufferlength...
  2312. d 10i 0 long
  2313. d contenttype * char *
  2314. d contentheader...
  2315. d * curl_slist *
  2316. d more * curl_httppost *
  2317. d flags 10i 0 long
  2318. d showfilename * char *
  2319. d userp * void *
  2320. *
  2321. d curl_sockaddr ds based(######ptr######)
  2322. d qualified
  2323. d family 10i 0
  2324. d socktype 10i 0
  2325. d protocol 10i 0
  2326. d addrlen 10u 0
  2327. d addr 16 struct sockaddr
  2328. *
  2329. d curl_khtype s 10i 0 based(######ptr######) enum
  2330. d CURLKHTYPE_UNKNOWN...
  2331. d c 0
  2332. d CURLKHTYPE_RSA1...
  2333. d c 1
  2334. d CURLKHTYPE_RSA...
  2335. d c 2
  2336. d CURLKHTYPE_DSS...
  2337. d c 3
  2338. *
  2339. d curl_khkey ds based(######ptr######)
  2340. d qualified
  2341. d key * const char *
  2342. d len 10u 0
  2343. d keytype like(curl_khtype)
  2344. *
  2345. d curl_forms ds based(######ptr######)
  2346. d qualified
  2347. d option like(CURLformoption)
  2348. d value * const char *
  2349. d value_ptr * overlay(value)
  2350. d value_procptr...
  2351. d * overlay(value) procptr
  2352. d value_num overlay(value: 8) like(curl_off_t)
  2353. *
  2354. d curl_slist ds based(######ptr######)
  2355. d qualified
  2356. d data * char *
  2357. d next * struct curl_slist *
  2358. *
  2359. d curl_version_info_data...
  2360. d ds based(######ptr######)
  2361. d qualified
  2362. d age like(CURLversion)
  2363. d version * const char *
  2364. d version_num 10u 0
  2365. d host * const char *
  2366. d features 10i 0
  2367. d ssl_version * const char *
  2368. d ssl_version_num...
  2369. d 10i 0 long
  2370. d libz_version * const char *
  2371. d protocols * const char * const *
  2372. d ares * const char *
  2373. d ares_num 10i 0
  2374. d libidn * const char *
  2375. d iconv_ver_num...
  2376. d 10i 0
  2377. d libssh_version...
  2378. d * const char *
  2379. d brotli_ver_num...
  2380. d 10u 0
  2381. d brotli_version...
  2382. d * const char *
  2383. d nghttp2_ver_num...
  2384. d 10u 0
  2385. d nghttp2_version...
  2386. d * const char *
  2387. d quic_version...
  2388. d * const char *
  2389. d cainfo...
  2390. d * const char *
  2391. d capath...
  2392. d * const char *
  2393. d zstd_ver_num...
  2394. d 10u 0
  2395. d zstd_version...
  2396. d * const char *
  2397. d hyper_version...
  2398. d * const char *
  2399. d gsasl_version...
  2400. d * const char *
  2401. d feature_names...
  2402. d * const char *
  2403. *
  2404. d curl_certinfo ds based(######ptr######)
  2405. d qualified
  2406. d num_of_certs 10i 0
  2407. d certinfo * struct curl_slist **
  2408. *
  2409. d curl_fistrgs ds based(######ptr######)
  2410. d qualified
  2411. d time * char *
  2412. d perm * char *
  2413. d user * char *
  2414. d group * char *
  2415. d target * char *
  2416. *
  2417. d curl_tlssessioninfo...
  2418. d ds based(######ptr######)
  2419. d qualified
  2420. d backend like(curl_sslbackend)
  2421. d internals * void *
  2422. *
  2423. d curl_fileinfo ds based(######ptr######)
  2424. d qualified
  2425. d filename * char *
  2426. d filetype like(curlfiletype)
  2427. d time 10i 0 time_t
  2428. d perm 10u 0
  2429. d uid 10i 0
  2430. d gid 10i 0
  2431. d size like(curl_off_t)
  2432. d hardlinks 10i 0
  2433. d strings likeds(curl_fistrgs)
  2434. d flags 10u 0
  2435. d b_data * char *
  2436. d b_size 10u 0 size_t
  2437. d b_used 10u 0 size_t
  2438. *
  2439. d curl_easyoption...
  2440. d ds based(######ptr######)
  2441. d qualified
  2442. d name * const char *
  2443. d id like(CURLoption)
  2444. d type like(curl_easytype)
  2445. d flags 10u 0
  2446. *
  2447. d curl_hstsentry...
  2448. d ds based(######ptr######)
  2449. d qualified
  2450. d name * char *
  2451. d namelen 10u 0 size_t
  2452. d includeSubDomain...
  2453. d 10u 0 Bit field: 1
  2454. d expire 10
  2455. *
  2456. d curl_index ds based(######ptr######)
  2457. d qualified
  2458. d index 10u 0 size_t
  2459. d total 10u 0 size_t
  2460. *
  2461. d curl_header ds based(######ptr######)
  2462. d qualified
  2463. d name * char *
  2464. d value * char *
  2465. d amount 10u 0 size_t
  2466. d index 10u 0 size_t
  2467. d origin 10u 0
  2468. d anchor * void *
  2469. *
  2470. d curl_blob ds based(######ptr######)
  2471. d qualified
  2472. d data * void *
  2473. d len 10u 0 size_t
  2474. d flags 10u 0
  2475. *
  2476. d curl_ws_frame ds based(######ptr######)
  2477. d qualified
  2478. d age 10i 0
  2479. d flags 10i 0
  2480. d offset like(curl_off_t)
  2481. d bytesleft like(curl_off_t)
  2482. d len 10u 0 size_t
  2483. *
  2484. d curl_formget_callback...
  2485. d s * based(######ptr######) procptr
  2486. *
  2487. d curl_malloc_callback...
  2488. d s * based(######ptr######) procptr
  2489. *
  2490. d curl_free_callback...
  2491. d s * based(######ptr######) procptr
  2492. *
  2493. d curl_realloc_callback...
  2494. d s * based(######ptr######) procptr
  2495. *
  2496. d curl_strdup_callback...
  2497. d s * based(######ptr######) procptr
  2498. *
  2499. d curl_calloc_callback...
  2500. d s * based(######ptr######) procptr
  2501. *
  2502. d curl_lock_function...
  2503. d s * based(######ptr######) procptr
  2504. *
  2505. d curl_unlock_function...
  2506. d s * based(######ptr######) procptr
  2507. *
  2508. d curl_progress_callback...
  2509. d s * based(######ptr######) procptr
  2510. *
  2511. d curl_xferinfo_callback...
  2512. d s * based(######ptr######) procptr
  2513. *
  2514. d curl_read_callback...
  2515. d s * based(######ptr######) procptr
  2516. *
  2517. d curl_trailer_callback...
  2518. d s * based(######ptr######) procptr
  2519. *
  2520. d curl_write_callback...
  2521. d s * based(######ptr######) procptr
  2522. *
  2523. d curl_seek_callback...
  2524. d s * based(######ptr######) procptr
  2525. *
  2526. d curl_sockopt_callback...
  2527. d s * based(######ptr######) procptr
  2528. *
  2529. d curl_ioctl_callback...
  2530. d s * based(######ptr######) procptr
  2531. *
  2532. d curl_debug_callback...
  2533. d s * based(######ptr######) procptr
  2534. *
  2535. d curl_conv_callback...
  2536. d s * based(######ptr######) procptr
  2537. *
  2538. d curl_ssl_ctx_callback...
  2539. d s * based(######ptr######) procptr
  2540. *
  2541. d curl_socket_callback...
  2542. d s * based(######ptr######) procptr
  2543. *
  2544. d curl_multi_timer_callback...
  2545. d s * based(######ptr######) procptr
  2546. *
  2547. d curl_push_callback...
  2548. d s * based(######ptr######) procptr
  2549. *
  2550. d curl_opensocket_callback...
  2551. d s * based(######ptr######) procptr
  2552. *
  2553. d curl_sshkeycallback...
  2554. d s * based(######ptr######) procptr
  2555. *
  2556. d curl_chunk_bgn_callback...
  2557. d s * based(######ptr######) procptr
  2558. *
  2559. d curl_chunk_end_callback...
  2560. d s * based(######ptr######) procptr
  2561. *
  2562. d curl_fnmatch_callback...
  2563. d s * based(######ptr######) procptr
  2564. *
  2565. d curl_closesocket_callback...
  2566. d s * based(######ptr######) procptr
  2567. *
  2568. d curl_resolver_start_callback...
  2569. d s * based(######ptr######) procptr
  2570. *
  2571. d curl_hstsread_callback...
  2572. d s * based(######ptr######) procptr
  2573. *
  2574. d curl_hstswrite_callback...
  2575. d s * based(######ptr######) procptr
  2576. *
  2577. d curl_prereq_callback...
  2578. d s * based(######ptr######) procptr
  2579. *
  2580. d curl_sshhostkeycallback...
  2581. d s * based(######ptr######) procptr
  2582. *
  2583. d curl_ws_write_callback...
  2584. d s * based(######ptr######) procptr
  2585. *
  2586. **************************************************************************
  2587. * Prototypes
  2588. **************************************************************************
  2589. *
  2590. d curl_mime_init pr * extproc('curl_mime_init') curl_mime *
  2591. d easy * value CURL *
  2592. *
  2593. d curl_mime_free pr extproc('curl_mime_free')
  2594. d mime * value curl_mime *
  2595. *
  2596. d curl_mime_addpart...
  2597. d pr * extproc('curl_mime_addpart') curl_mimepart *
  2598. d mime * value curl_mime *
  2599. *
  2600. d curl_mime_name pr extproc('curl_mime_name')
  2601. d like(CURLcode)
  2602. d part * value curl_mimepart *
  2603. d name * value options(*string)
  2604. *
  2605. d curl_mime_filename...
  2606. d pr extproc('curl_mime_filename')
  2607. d like(CURLcode)
  2608. d part * value curl_mimepart *
  2609. d filename * value options(*string)
  2610. *
  2611. d curl_mime_type pr extproc('curl_mime_type')
  2612. d like(CURLcode)
  2613. d part * value curl_mimepart *
  2614. d mimetype * value options(*string)
  2615. *
  2616. d curl_mime_encoder...
  2617. d pr extproc('curl_mime_encoder')
  2618. d like(CURLcode)
  2619. d part * value curl_mimepart *
  2620. d encoding * value options(*string)
  2621. *
  2622. d curl_mime_data pr extproc('curl_mime_data')
  2623. d like(CURLcode)
  2624. d part * value curl_mimepart *
  2625. d data * value options(*string)
  2626. d datasize 10u 0 value size_t
  2627. *
  2628. d curl_mime_filedata...
  2629. d pr extproc('curl_mime_filedata')
  2630. d like(CURLcode)
  2631. d part * value curl_mimepart *
  2632. d filename * value options(*string)
  2633. *
  2634. d curl_mime_data_cb...
  2635. d pr extproc('curl_mime_data_cb')
  2636. d like(CURLcode)
  2637. d part * value curl_mimepart *
  2638. d datasize value like(curl_off_t)
  2639. d readfunc value like(curl_read_callback)
  2640. d seekfunc value like(curl_seek_callback)
  2641. d freefunc value like(curl_free_callback)
  2642. d arg * value void *
  2643. *
  2644. d curl_mime_subparts...
  2645. d pr extproc('curl_mime_subparts')
  2646. d like(CURLcode)
  2647. d part * value curl_mimepart *
  2648. d subparts * value curl_mime *
  2649. *
  2650. d curl_mime_headers...
  2651. d pr extproc('curl_mime_headers')
  2652. d like(CURLcode)
  2653. d part * value curl_mimepart *
  2654. d headers * value curl_slist *
  2655. d take_ownership...
  2656. d 10i 0 value
  2657. *
  2658. * This procedure as a variable parameter list.
  2659. * This prototype allows use of an option array, or a single "object"
  2660. * option. Other argument lists may be implemented by alias procedure
  2661. * prototype definitions.
  2662. *
  2663. d curl_formadd pr extproc('curl_formadd')
  2664. d like(CURLFORMcode)
  2665. d httppost * curl_httppost *
  2666. d lastpost * curl_httppost *
  2667. d option1 value like(CURLFORMoption) CURLFORM_ARRAY
  2668. d options(*nopass)
  2669. d object1 * value options(*string: *nopass)
  2670. d option2 value like(CURLFORMoption) CURLFORM_END
  2671. d options(*nopass)
  2672. *
  2673. *
  2674. d curl_strequal pr 10i 0 extproc('curl_strequal')
  2675. d s1 * value options(*string)
  2676. d s2 * value options(*string)
  2677. *
  2678. d curl_strnequal pr 10i 0 extproc('curl_strnequal')
  2679. d s1 * value options(*string)
  2680. d s2 * value options(*string)
  2681. d n 10u 0 value
  2682. *
  2683. d curl_formget pr 10i 0 extproc('curl_formget')
  2684. d form * value curl_httppost *
  2685. d arg * value
  2686. d append value like(curl_formget_callback)
  2687. *
  2688. d curl_formfree pr extproc('curl_formfree')
  2689. d form * value curl_httppost *
  2690. *
  2691. d curl_getenv pr * extproc('curl_getenv')
  2692. d variable * value options(*string)
  2693. *
  2694. d curl_version pr * extproc('curl_version')
  2695. *
  2696. d curl_easy_escape...
  2697. d pr * extproc('curl_easy_escape') char *
  2698. d handle * value CURL *
  2699. d string * value options(*string)
  2700. d length 10i 0 value
  2701. *
  2702. d curl_escape pr * extproc('curl_escape') char *
  2703. d string * value options(*string)
  2704. d length 10i 0 value
  2705. *
  2706. d curl_easy_unescape...
  2707. d pr * extproc('curl_easy_unescape') char *
  2708. d handle * value CURL *
  2709. d string * value options(*string)
  2710. d length 10i 0 value
  2711. d outlength 10i 0 options(*omit)
  2712. *
  2713. d curl_unescape pr * extproc('curl_unescape') char *
  2714. d string * value options(*string)
  2715. d length 10i 0 value
  2716. *
  2717. d curl_free pr extproc('curl_free')
  2718. d p * value
  2719. *
  2720. d curl_global_init...
  2721. d pr extproc('curl_global_init')
  2722. d like(CURLcode)
  2723. d flags 10i 0 value
  2724. *
  2725. d curl_global_init_mem...
  2726. d pr extproc('curl_global_init_mem')
  2727. d like(CURLcode)
  2728. d m value like(curl_malloc_callback)
  2729. d f value like(curl_free_callback)
  2730. d r value like(curl_realloc_callback)
  2731. d s value like(curl_strdup_callback)
  2732. d c value like(curl_calloc_callback)
  2733. *
  2734. d curl_global_cleanup...
  2735. d pr extproc('curl_global_cleanup')
  2736. *
  2737. d curl_slist_append...
  2738. d pr * extproc('curl_slist_append') struct curl_slist *
  2739. d list * value struct curl_slist *
  2740. d data * value options(*string) const char *
  2741. *
  2742. d curl_slist_free_all...
  2743. d pr extproc('curl_slist_free_all')
  2744. d list * value struct curl_slist *
  2745. *
  2746. d curl_getdate pr 10i 0 extproc('curl_getdate') time_t
  2747. d p * value options(*string) const char *
  2748. d unused 10i 0 const options(*omit) time_t
  2749. *
  2750. d curl_share_init...
  2751. d pr * extproc('curl_share_init') CURLSH * (= void *)
  2752. *
  2753. * Variable argument type procedure.
  2754. * Multiply prototyped to support all possible types.
  2755. *
  2756. d curl_share_setopt_int...
  2757. d pr extproc('curl_share_setopt')
  2758. d like(CURLSHcode)
  2759. d share * value CURLSH * (= void *)
  2760. d option value like(CURLSHoption)
  2761. d intarg 10i 0 value options(*nopass)
  2762. *
  2763. d curl_share_setopt_ptr...
  2764. d pr extproc('curl_share_setopt')
  2765. d like(CURLSHcode)
  2766. d share * value CURLSH * (= void *)
  2767. d option value like(CURLSHoption)
  2768. d ptrarg * value options(*nopass)
  2769. *
  2770. d curl_share_setopt_proc...
  2771. d pr extproc('curl_share_setopt')
  2772. d like(CURLSHcode)
  2773. d share * value CURLSH * (= void *)
  2774. d option value like(CURLSHoption)
  2775. d procarg * value procptr options(*nopass)
  2776. *
  2777. d curl_share_cleanup...
  2778. d pr extproc('curl_share_cleanup')
  2779. d like(CURLSHcode)
  2780. d share * value CURLSH * (= void *)
  2781. *
  2782. d curl_version_info...
  2783. d pr * extproc('curl_version_info') c_i_version_data *
  2784. d version value like(CURLversion)
  2785. *
  2786. d curl_easy_strerror...
  2787. d pr * extproc('curl_easy_strerror') const char *
  2788. d code value like(CURLcode)
  2789. *
  2790. d curl_share_strerror...
  2791. d pr * extproc('curl_share_strerror') const char *
  2792. d code value like(CURLSHcode)
  2793. *
  2794. d curl_easy_init pr * extproc('curl_easy_init') CURL *
  2795. *
  2796. * Multiple prototypes for vararg procedure curl_easy_setopt.
  2797. *
  2798. d curl_easy_setopt_long...
  2799. d pr extproc('curl_easy_setopt')
  2800. d like(CURLcode)
  2801. d curl * value CURL *
  2802. d option value like(CURLoption)
  2803. d longarg 10i 0 value options(*nopass)
  2804. *
  2805. d curl_easy_setopt_object...
  2806. d pr extproc('curl_easy_setopt')
  2807. d like(CURLcode)
  2808. d curl * value CURL *
  2809. d option value like(CURLoption)
  2810. d objectarg * value options(*string: *nopass)
  2811. *
  2812. d curl_easy_setopt_function...
  2813. d pr extproc('curl_easy_setopt')
  2814. d like(CURLcode)
  2815. d curl * value CURL *
  2816. d option value like(CURLoption)
  2817. d functionarg * value procptr options(*nopass)
  2818. *
  2819. d curl_easy_setopt_offset...
  2820. d pr extproc('curl_easy_setopt')
  2821. d like(CURLcode)
  2822. d curl * value CURL *
  2823. d option value like(CURLoption)
  2824. d offsetarg value like(curl_off_t)
  2825. d options(*nopass)
  2826. *
  2827. d curl_easy_setopt_blob...
  2828. d pr extproc('curl_easy_setopt')
  2829. d like(CURLcode)
  2830. d curl * value CURL *
  2831. d option value like(CURLoption)
  2832. d blob const likeds(curl_blob)
  2833. d options(*nopass)
  2834. *
  2835. *
  2836. d curl_easy_perform...
  2837. d pr extproc('curl_easy_perform')
  2838. d like(CURLcode)
  2839. d curl * value CURL *
  2840. *
  2841. d curl_easy_cleanup...
  2842. d pr extproc('curl_easy_cleanup')
  2843. d curl * value CURL *
  2844. *
  2845. * Multiple prototypes for vararg procedure curl_easy_getinfo.
  2846. *
  2847. d curl_easy_getinfo_string...
  2848. d pr extproc('curl_easy_getinfo')
  2849. d like(CURLcode)
  2850. d curl * value CURL *
  2851. d info value like(CURLINFO)
  2852. d stringarg * options(*nopass) char *
  2853. *
  2854. d curl_easy_getinfo_long...
  2855. d pr extproc('curl_easy_getinfo')
  2856. d like(CURLcode)
  2857. d curl * value CURL *
  2858. d info value like(CURLINFO)
  2859. d longarg 10i 0 options(*nopass)
  2860. *
  2861. d curl_easy_getinfo_double...
  2862. d pr extproc('curl_easy_getinfo')
  2863. d like(CURLcode)
  2864. d curl * value CURL *
  2865. d info value like(CURLINFO)
  2866. d doublearg 8f options(*nopass)
  2867. *
  2868. d curl_easy_getinfo_slist...
  2869. d pr extproc('curl_easy_getinfo')
  2870. d like(CURLcode)
  2871. d curl * value CURL *
  2872. d info value like(CURLINFO)
  2873. d slistarg * options(*nopass) struct curl_slist *
  2874. *
  2875. d curl_easy_getinfo_ptr...
  2876. d pr extproc('curl_easy_getinfo')
  2877. d like(CURLcode)
  2878. d curl * value CURL *
  2879. d info value like(CURLINFO)
  2880. d ptrarg * options(*nopass) void *
  2881. *
  2882. d curl_easy_getinfo_socket...
  2883. d pr extproc('curl_easy_getinfo')
  2884. d like(CURLcode)
  2885. d curl * value CURL *
  2886. d info value like(CURLINFO)
  2887. d socketarg like(curl_socket_t) options(*nopass)
  2888. *
  2889. d curl_easy_getinfo_off_t...
  2890. d pr extproc('curl_easy_getinfo')
  2891. d like(CURLcode)
  2892. d curl * value CURL *
  2893. d info value like(CURLINFO)
  2894. d offsetarg like(curl_off_t) options(*nopass)
  2895. *
  2896. *
  2897. d curl_easy_duphandle...
  2898. d pr * extproc('curl_easy_duphandle') CURL *
  2899. d curl * value CURL *
  2900. *
  2901. d curl_easy_reset...
  2902. d pr extproc('curl_easy_reset')
  2903. d curl * value CURL *
  2904. *
  2905. d curl_easy_recv...
  2906. d pr extproc('curl_easy_recv')
  2907. d like(CURLcode)
  2908. d curl * value CURL *
  2909. d buffer * value void *
  2910. d buflen 10u 0 value size_t
  2911. d n 10u 0 size_t *
  2912. *
  2913. d curl_easy_send...
  2914. d pr extproc('curl_easy_send')
  2915. d like(CURLcode)
  2916. d curl * value CURL *
  2917. d buffer * value const void *
  2918. d buflen 10u 0 value size_t
  2919. d n 10u 0 size_t *
  2920. *
  2921. d curl_easy_pause...
  2922. d pr extproc('curl_easy_pause')
  2923. d like(CURLcode)
  2924. d curl * value CURL *
  2925. d bitmask 10i 0 value
  2926. *
  2927. d curl_easy_upkeep...
  2928. d pr extproc('curl_easy_upkeep')
  2929. d like(CURLcode)
  2930. d curl * value CURL *
  2931. *
  2932. d curl_multi_init...
  2933. d pr * extproc('curl_multi_init') CURLM *
  2934. *
  2935. d curl_multi_add_handle...
  2936. d pr extproc('curl_multi_add_handle')
  2937. d like(CURLMcode)
  2938. d multi_handle * value CURLM *
  2939. d curl_handle * value CURL *
  2940. *
  2941. d curl_multi_remove_handle...
  2942. d pr extproc('curl_multi_remove_handle')
  2943. d like(CURLMcode)
  2944. d multi_handle * value CURLM *
  2945. d curl_handle * value CURL *
  2946. *
  2947. d curl_multi_fdset...
  2948. d pr extproc('curl_multi_fdset')
  2949. d like(CURLMcode)
  2950. d multi_handle * value CURLM *
  2951. d read_fd_set 65535 options(*varsize) fd_set
  2952. d write_fd_set 65535 options(*varsize) fd_set
  2953. d exc_fd_set 65535 options(*varsize) fd_set
  2954. d max_fd 10i 0
  2955. *
  2956. d curl_multi_wait...
  2957. d pr extproc('curl_multi_wait')
  2958. d like(CURLMcode)
  2959. d multi_handle * value CURLM *
  2960. d extra_fds * value curl_waitfd *
  2961. d extra_nfds 10u 0 value
  2962. d timeout_ms 10i 0 value
  2963. d ret 10i 0 options(*omit)
  2964. *
  2965. d curl_multi_perform...
  2966. d pr extproc('curl_multi_perform')
  2967. d like(CURLMcode)
  2968. d multi_handle * value CURLM *
  2969. d running_handles...
  2970. d 10i 0
  2971. *
  2972. d curl_multi_cleanup...
  2973. d pr extproc('curl_multi_cleanup')
  2974. d like(CURLMcode)
  2975. d multi_handle * value CURLM *
  2976. *
  2977. d curl_multi_info_read...
  2978. d pr * extproc('curl_multi_info_read') CURL_Msg *
  2979. d multi_handle * value CURLM *
  2980. d msgs_in_queue 10i 0
  2981. *
  2982. d curl_multi_strerror...
  2983. d pr * extproc('curl_multi_strerror') char *
  2984. d code value like(CURLMcode)
  2985. *
  2986. d curl_pushheader_bynum...
  2987. d pr * extproc('curl_pushheader_bynum') char *
  2988. d h * value curl_pushheaders *
  2989. d num 10u 0 value
  2990. *
  2991. d curl_pushheader_byname...
  2992. d pr * extproc('curl_pushheader_byname') char *
  2993. d h * value curl_pushheaders *
  2994. d header * value options(*string) const char *
  2995. *
  2996. d curl_multi_socket...
  2997. d pr extproc('curl_multi_socket')
  2998. d like(CURLMcode)
  2999. d multi_handle * value CURLM *
  3000. d s value like(curl_socket_t)
  3001. d running_handles...
  3002. d 10i 0
  3003. *
  3004. d curl_multi_socket_action...
  3005. d pr extproc('curl_multi_socket_action')
  3006. d like(CURLMcode)
  3007. d multi_handle * value CURLM *
  3008. d s value like(curl_socket_t)
  3009. d ev_bitmask 10i 0 value
  3010. d running_handles...
  3011. d 10i 0
  3012. *
  3013. d curl_multi_socket_all...
  3014. d pr extproc('curl_multi_socket_all')
  3015. d like(CURLMcode)
  3016. d multi_handle * value CURLM *
  3017. d running_handles...
  3018. d 10i 0
  3019. *
  3020. d curl_multi_timeout...
  3021. d pr extproc('curl_multi_timeout')
  3022. d like(CURLMcode)
  3023. d multi_handle * value CURLM *
  3024. d milliseconds 10i 0
  3025. *
  3026. * Multiple prototypes for vararg procedure curl_multi_setopt.
  3027. *
  3028. d curl_multi_setopt_long...
  3029. d pr extproc('curl_multi_setopt')
  3030. d like(CURLMcode)
  3031. d multi_handle * value CURLM *
  3032. d option value like(CURLMoption)
  3033. d longarg 10i 0 value options(*nopass)
  3034. *
  3035. d curl_multi_setopt_object...
  3036. d pr extproc('curl_multi_setopt')
  3037. d like(CURLMcode)
  3038. d multi_handle * value CURLM *
  3039. d option value like(CURLMoption)
  3040. d objectarg * value options(*string: *nopass)
  3041. *
  3042. d curl_multi_setopt_function...
  3043. d pr extproc('curl_multi_setopt')
  3044. d like(CURLMcode)
  3045. d multi_handle * value CURLM *
  3046. d option value like(CURLMoption)
  3047. d functionarg * value procptr options(*nopass)
  3048. *
  3049. d curl_multi_setopt_offset...
  3050. d pr extproc('curl_multi_setopt')
  3051. d like(CURLMcode)
  3052. d multi_handle * value CURLM *
  3053. d option value like(CURLMoption)
  3054. d offsetarg value like(curl_off_t)
  3055. d options(*nopass)
  3056. *
  3057. *
  3058. d curl_multi_assign...
  3059. d pr extproc('curl_multi_assign')
  3060. d like(CURLMcode)
  3061. d multi_handle * value CURLM *
  3062. d sockfd value like(curl_socket_t)
  3063. d sockp * value void *
  3064. *
  3065. d curl_url pr * extproc('curl_url') CURLU *
  3066. *
  3067. d curl_url_cleanup...
  3068. d pr extproc('curl_url_cleanup')
  3069. d handle * value CURLU *
  3070. *
  3071. d curl_url_dup pr * extproc('curl_url_dup') CURLU *
  3072. d in * value CURLU *
  3073. *
  3074. d curl_url_get pr extproc('curl_url_get')
  3075. d like(CURLUcode)
  3076. d handle * value CURLU *
  3077. d what value like(CURLUPart)
  3078. d part * char **
  3079. d flags 10u 0 value
  3080. *
  3081. d curl_url_set pr extproc('curl_url_set')
  3082. d like(CURLUcode)
  3083. d handle * value CURLU *
  3084. d what value like(CURLUPart)
  3085. d part * value options(*string)
  3086. d flags 10u 0 value
  3087. *
  3088. d curl_url_strerror...
  3089. d pr * extproc('curl_url_strerror') const char *
  3090. d code value like(CURLUcode)
  3091. *
  3092. d curl_easy_option_by_name...
  3093. d pr * extproc('curl_easy_option_by_name') curl_easyoption *
  3094. d name * value options(*string)
  3095. *
  3096. d curl_easy_option_by_id...
  3097. d pr * extproc('curl_easy_option_by_id') curl_easyoption *
  3098. d id value like(CURLoption)
  3099. *
  3100. d curl_easy_option_next...
  3101. d pr * extproc('curl_easy_next') curl_easyoption *
  3102. d prev * value curl_easyoption *
  3103. *
  3104. d curl_ws_recv pr extproc('curl_ws_recv')
  3105. d like(CURLcode)
  3106. d curl * value CURL *
  3107. d buffer * value void *
  3108. d buflen 10u 0 value size_t
  3109. d recv 10u 0 size_t *
  3110. d metap likeds(curl_ws_frame)
  3111. *
  3112. d curl_ws_send pr extproc('curl_ws_send')
  3113. d like(CURLcode)
  3114. d curl * value CURL *
  3115. d buffer * value const void *
  3116. d buflen 10u 0 value size_t
  3117. d sent 10u 0 size_t *
  3118. d framesize like(curl_off_t)
  3119. d sendflags 10u 0 value
  3120. *
  3121. d curl_ws_meta pr * extproc('curl_ws_meta') curl_ws_frame *
  3122. d curl * value CURL *
  3123. *
  3124. d curl_easy_header...
  3125. d pr extproc('curl_easy_header') curl_header *
  3126. d like(CURLHcode)
  3127. d curl * value CURL *
  3128. d name * value options(*string) const char *
  3129. d index 10u 0 value size_t
  3130. d origin 10u 0 value
  3131. d request 10i 0 value
  3132. d hout * curl_header **
  3133. *
  3134. d curl_easy_nextheader...
  3135. d pr * extproc('curl_easy_nextheader') curl_header *
  3136. d curl * value CURL *
  3137. d origin 10u 0 value
  3138. d request 10i 0 value
  3139. d prev * value curl_header *
  3140. *
  3141. **************************************************************************
  3142. * CCSID wrapper procedure prototypes
  3143. **************************************************************************
  3144. *
  3145. d curl_version_ccsid...
  3146. d pr * extproc('curl_version_ccsid')
  3147. d ccsid 10u 0 value
  3148. *
  3149. d curl_easy_escape_ccsid...
  3150. d pr * extproc('curl_easy_escape_ccsid') char *
  3151. d handle * value CURL *
  3152. d string * value options(*string)
  3153. d length 10i 0 value
  3154. d ccsid 10u 0 value
  3155. *
  3156. d curl_easy_unescape_ccsid...
  3157. d pr * extproc('curl_easy_unescape_ccsid') char *
  3158. d handle * value CURL *
  3159. d string * value options(*string)
  3160. d length 10i 0 value
  3161. d outlength 10i 0 options(*omit)
  3162. d ccsid 10u 0 value
  3163. *
  3164. d curl_slist_append_ccsid...
  3165. d pr * extproc('curl_slist_append_ccsid') struct curl_slist *
  3166. d list * value struct curl_slist *
  3167. d data * value options(*string) const char *
  3168. d ccsid 10u 0 value
  3169. *
  3170. d curl_getdate_ccsid...
  3171. d pr 10i 0 extproc('curl_getdate_ccsid') time_t
  3172. d p * value options(*string) const char *
  3173. d unused 10i 0 const options(*omit) time_t
  3174. d ccsid 10u 0 value
  3175. *
  3176. d curl_version_info_ccsid...
  3177. d pr * extproc('curl_version_info_ccsid') c_i_version_data *
  3178. d version value like(CURLversion)
  3179. d ccsid 10u 0 value
  3180. *
  3181. d curl_easy_strerror_ccsid...
  3182. d pr * extproc('curl_easy_strerror_ccsid') const char *
  3183. d code value like(CURLcode)
  3184. d ccsid 10u 0 value
  3185. *
  3186. d curl_share_strerror_ccsid...
  3187. d pr * extproc('curl_share_strerror_ccsid') const char *
  3188. d code value like(CURLSHcode)
  3189. d ccsid 10u 0 value
  3190. *
  3191. d curl_multi_strerror_ccsid...
  3192. d pr * extproc('curl_multi_strerror_ccsid') char *
  3193. d code value like(CURLMcode)
  3194. d ccsid 10u 0 value
  3195. *
  3196. * May be used for strings and structures.
  3197. d curl_easy_getinfo_ccsid...
  3198. d pr extproc('curl_easy_getinfo_ccsid')
  3199. d like(CURLcode)
  3200. d curl * value CURL *
  3201. d info value like(CURLINFO)
  3202. d ptrarg * options(*nopass) char *
  3203. d ccsid 10u 0 value options(*nopass)
  3204. *
  3205. d curl_certinfo_free_all...
  3206. d pr extproc('curl_certinfo_free_all')
  3207. d info * value
  3208. *
  3209. d curl_formadd_ccsid...
  3210. d pr extproc('curl_formadd_ccsid')
  3211. d like(CURLFORMcode)
  3212. d httppost * curl_httppost *
  3213. d lastpost * curl_httppost *
  3214. d option1 value like(CURLFORMoption) CURLFORM_ARRAY
  3215. d options(*nopass)
  3216. d object1 * value options(*string: *nopass)
  3217. d option2 value like(CURLFORMoption) CURLFORM_END
  3218. d options(*nopass)
  3219. *
  3220. d curl_formget_ccsid...
  3221. d pr 10i 0 extproc('curl_formget_ccsid')
  3222. d form * value curl_httppost *
  3223. d arg * value
  3224. d append value like(curl_formget_callback)
  3225. d ccsid 10u 0 value
  3226. *
  3227. d curl_form_long_value...
  3228. d pr * extproc('curl_form_long_value')
  3229. d value 10i 0 value curl_httppost *
  3230. *
  3231. d curl_easy_setopt_ccsid...
  3232. d pr extproc('curl_easy_setopt_ccsid')
  3233. d like(CURLcode)
  3234. d curl * value CURL *
  3235. d option value like(CURLoption)
  3236. d objectarg * value options(*string: *nopass)
  3237. d ccsid 10u 0 value options(*nopass)
  3238. *
  3239. d curl_easy_setopt_blob_ccsid...
  3240. d pr extproc('curl_easy_setopt_ccsid')
  3241. d like(CURLcode)
  3242. d curl * value CURL *
  3243. d option value like(CURLoption)
  3244. d blob const likeds(curl_blob)
  3245. d options(*nopass)
  3246. d ccsid 10u 0 value options(*nopass)
  3247. *
  3248. d curl_pushheader_bynum_ccsid...
  3249. d pr * extproc( char *
  3250. d 'curl_pushheader_bynum_ccsid')
  3251. d h * value curl_pushheaders *
  3252. d num 10u 0 value
  3253. d ccsid 10u 0 value
  3254. *
  3255. d curl_pushheader_byname_ccsid...
  3256. d pr * extproc( char *
  3257. d 'curl_pushheader_byname_ccsid')
  3258. d h * value curl_pushheaders *
  3259. d header * value options(*string) const char *
  3260. d ccsidin 10u 0 value
  3261. d ccsidout 10u 0 value
  3262. *
  3263. d curl_mime_name_ccsid...
  3264. d pr extproc('curl_mime_name_ccsid')
  3265. d like(CURLcode)
  3266. d part * value curl_mimepart *
  3267. d name * value options(*string)
  3268. d ccsid 10u 0 value
  3269. *
  3270. d curl_mime_filename_ccsid...
  3271. d pr extproc('curl_mime_filename_ccsid')
  3272. d like(CURLcode)
  3273. d part * value curl_mimepart *
  3274. d filename * value options(*string)
  3275. d ccsid 10u 0 value
  3276. *
  3277. d curl_mime_type_ccsid...
  3278. d pr extproc('curl_mime_type_ccsid')
  3279. d like(CURLcode)
  3280. d part * value curl_mimepart *
  3281. d mimetype * value options(*string)
  3282. d ccsid 10u 0 value
  3283. *
  3284. d curl_mime_encoder_ccsid...
  3285. d pr extproc('curl_mime_encoder_ccsid')
  3286. d like(CURLcode)
  3287. d part * value curl_mimepart *
  3288. d encoding * value options(*string)
  3289. d ccsid 10u 0 value
  3290. *
  3291. d curl_mime_data_ccsid...
  3292. d pr extproc('curl_mime_data_ccsid')
  3293. d like(CURLcode)
  3294. d part * value curl_mimepart *
  3295. d data * value options(*string)
  3296. d datasize 10u 0 value size_t
  3297. d ccsid 10u 0 value
  3298. *
  3299. d curl_mime_filedata_ccsid...
  3300. d pr extproc('curl_mime_filedata_ccsid')
  3301. d like(CURLcode)
  3302. d part * value curl_mimepart *
  3303. d filename * value options(*string)
  3304. d ccsid 10u 0 value
  3305. *
  3306. d curl_url_get_ccsid...
  3307. d pr extproc('curl_url_get_ccsid')
  3308. d like(CURLUcode)
  3309. d handle * value CURLU *
  3310. d what value like(CURLUPart)
  3311. d part * char **
  3312. d flags 10u 0 value
  3313. d ccsid 10u 0 value
  3314. *
  3315. d curl_url_set_ccsid...
  3316. d pr extproc('curl_url_set_ccsid')
  3317. d like(CURLUcode)
  3318. d handle * value CURLU *
  3319. d what value like(CURLUPart)
  3320. d part * value options(*string)
  3321. d flags 10u 0 value
  3322. d ccsid 10u 0 value
  3323. *
  3324. d curl_url_strerror_ccsid...
  3325. d pr * extproc('curl_url_strerror_ccsid') const char *
  3326. d code value like(CURLUcode)
  3327. d ccsid 10u 0 value
  3328. *
  3329. d curl_easy_option_by_name_ccsid...
  3330. d pr * extproc( curl_easyoption *
  3331. d 'curl_easy_option_by_name_ccsid')
  3332. d name * value options(*string)
  3333. d ccsid 10u 0 value
  3334. *
  3335. d curl_easy_option_get_name_ccsid...
  3336. d pr * extproc( const char *
  3337. d 'curl_easy_option_get_name_ccsid')
  3338. d option * value curl_easyoption *
  3339. d ccsid 10u 0 value
  3340. *
  3341. d curl_easy_header_ccsid...
  3342. d pr extproc('curl_easy_header_ccsid') curl_header *
  3343. d like(CURLHcode)
  3344. d curl * value CURL *
  3345. d name * value options(*string) const char *
  3346. d index 10u 0 value size_t
  3347. d origin 10u 0 value
  3348. d request 10i 0 value
  3349. d hout * curl_header **
  3350. d ccsid 10u 0 value
  3351. *
  3352. d curl_from_ccsid...
  3353. d pr * extproc('curl_from_ccsid') const char *
  3354. d s * value options(*string) const char *
  3355. d ccsid 10u 0 value
  3356. *
  3357. d curl_to_ccsid...
  3358. d pr * extproc('curl_to_ccsid') const char *
  3359. d s * value options(*string) const char *
  3360. d ccsid 10u 0 value
  3361. *
  3362. **************************************************************************
  3363. * Procedure overloading
  3364. **************************************************************************
  3365. *
  3366. /if defined(*V7R4M0)
  3367. d curl_easy_setopt_RPGnum_...
  3368. d pr extproc('curl_easy_setopt_RPGnum_')
  3369. d like(CURLcode)
  3370. d curl * value CURL *
  3371. d option value like(CURLoption)
  3372. d numarg 20i 0 value
  3373. *
  3374. d curl_easy_setopt...
  3375. d pr like(CURLcode)
  3376. d overload(curl_easy_setopt_RPGnum_:
  3377. d curl_easy_setopt_object:
  3378. d curl_easy_setopt_function)
  3379. *
  3380. d curl_multi_setopt_RPGnum_...
  3381. d pr extproc('curl_multi_setopt_RPGnum_')
  3382. d like(CURLcode)
  3383. d curl * value CURLM *
  3384. d option value like(CURLMoption)
  3385. d numarg 20i 0 value
  3386. *
  3387. d curl_multi_setopt...
  3388. d pr like(CURLcode)
  3389. d overload(curl_multi_setopt_RPGnum_:
  3390. d curl_multi_setopt_object:
  3391. d curl_multi_setopt_function)
  3392. *
  3393. d curl_share_setopt...
  3394. d pr like(CURLcode)
  3395. d overload(curl_share_setopt_int:
  3396. d curl_share_setopt_ptr:
  3397. d curl_share_setopt_proc)
  3398. *
  3399. d curl_easy_getinfo...
  3400. d pr like(CURLcode)
  3401. d overload(curl_easy_getinfo_long:
  3402. d curl_easy_getinfo_off_t:
  3403. d curl_easy_getinfo_double:
  3404. d curl_easy_getinfo_ptr)
  3405. /endif
  3406. *
  3407. /endif