curl.inc.in 127 KB

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