curl.inc.in 93 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102
  1. **************************************************************************
  2. * _ _ ____ _
  3. * Project ___| | | | _ \| |
  4. * / __| | | | |_) | |
  5. * | (__| |_| | _ <| |___
  6. * \___|\___/|_| \_\_____|
  7. *
  8. * Copyright (C) 1998 - 2011, 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 http://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_MASK c X'000FFFFF'
  70. d CURLINFO_TYPEMASK...
  71. d c X'00F00000'
  72. *
  73. d CURL_GLOBAL_SSL...
  74. d c X'00000001'
  75. d CURL_GLOBAL_WIN32...
  76. d c X'00000002'
  77. d CURL_GLOBAL_ALL...
  78. d c X'00000003'
  79. d CURL_GLOBAL_NOTHING...
  80. d c X'00000000'
  81. d CURL_GLOBAL_DEFAULT...
  82. d c X'00000003'
  83. *
  84. d CURL_VERSION_IPV6...
  85. d c X'00000001'
  86. d CURL_VERSION_KERBEROS4...
  87. d c X'00000002'
  88. d CURL_VERSION_SSL...
  89. d c X'00000004'
  90. d CURL_VERSION_LIBZ...
  91. d c X'00000008'
  92. d CURL_VERSION_NTLM...
  93. d c X'00000010'
  94. d CURL_VERSION_GSSNEGOTIATE...
  95. d c X'00000020'
  96. d CURL_VERSION_DEBUG...
  97. d c X'00000040'
  98. d CURL_VERSION_ASYNCHDNS...
  99. d c X'00000080'
  100. d CURL_VERSION_SPNEGO...
  101. d c X'00000100'
  102. d CURL_VERSION_LARGEFILE...
  103. d c X'00000200'
  104. d CURL_VERSION_IDN...
  105. d c X'00000400'
  106. d CURL_VERSION_SSPI...
  107. d c X'00000800'
  108. d CURL_VERSION_CONV...
  109. d c X'00001000'
  110. d CURL_VERSION_CURLDEBUG...
  111. d c X'00002000'
  112. d CURL_VERSION_TLSAUTH_SRP...
  113. d c X'00004000'
  114. d CURL_VERSION_NTLM_WB...
  115. d c X'00008000'
  116. *
  117. d HTTPPOST_FILENAME...
  118. d c X'00000001'
  119. d HTTPPOST_READFILE...
  120. d c X'00000002'
  121. d HTTPPOST_PTRNAME...
  122. d c X'00000004'
  123. d HTTPPOST_PTRCONTENTS...
  124. d c X'00000008'
  125. d HTTPPOST_BUFFER...
  126. d c X'00000010'
  127. d HTTPPOST_PTRBUFFER...
  128. d c X'00000020'
  129. d HTTPPOST_CALLBACK...
  130. d c X'00000040'
  131. *
  132. d CURL_SEEKFUNC_OK...
  133. d c 0
  134. d CURL_SEEKFUNC_FAIL...
  135. d c 1
  136. d CURL_SEEKFUNC_CANTSEEK...
  137. d c 2
  138. *
  139. d CURL_READFUNC_ABORT...
  140. d c X'10000000'
  141. d CURL_READFUNC_PAUSE...
  142. d c X'10000001'
  143. *
  144. d CURL_WRITEFUNC_PAUSE...
  145. d c X'10000001'
  146. *
  147. d CURLAUTH_NONE c X'00000000'
  148. d CURLAUTH_BASIC c X'00000001'
  149. d CURLAUTH_DIGEST...
  150. d c X'00000002'
  151. d CURLAUTH_GSSNEGOTIATE...
  152. d c X'00000004'
  153. d CURLAUTH_NTLM c X'00000008'
  154. d CURLAUTH_DIGEST_IE...
  155. d c X'00000010'
  156. d CURLAUTH_NTLM_WB...
  157. d c X'00000020'
  158. d CURLAUTH_ONLY...
  159. d c X'80000000'
  160. d CURLAUTH_ANY c X'7FFFFFEF'
  161. d CURLAUTH_ANYSAFE...
  162. d c X'7FFFFFEE'
  163. *
  164. d CURLSSH_AUTH_ANY...
  165. d c X'7FFFFFFF'
  166. d CURLSSH_AUTH_NONE...
  167. d c X'00000000'
  168. d CURLSSH_AUTH_PUBLICKEY...
  169. d c X'00000001'
  170. d CURLSSH_AUTH_PASSWORD...
  171. d c X'00000002'
  172. d CURLSSH_AUTH_HOST...
  173. d c X'00000004'
  174. d CURLSSH_AUTH_KEYBOARD...
  175. d c X'00000008'
  176. d CURLSSH_AUTH_DEFAULT...
  177. d c X'7FFFFFFF' CURLSSH_AUTH_ANY
  178. *
  179. d CURLGSSAPI_DELEGATION_NONE...
  180. d c 0
  181. d CURLGSSAPI_DELEGATION_POLICY_FLAG...
  182. d c X'00000001'
  183. d CURLGSSAPI_DELEGATION_FLAG...
  184. d c X'00000002'
  185. *
  186. d CURL_ERROR_SIZE...
  187. d c 256
  188. *
  189. d CURLOPTTYPE_LONG...
  190. d c 0
  191. d CURLOPTTYPE_OBJECTPOINT...
  192. d c 10000
  193. d CURLOPTTYPE_FUNCTIONPOINT...
  194. d c 20000
  195. d CURLOPTTYPE_OFF_T...
  196. d c 30000
  197. *
  198. d CURL_IPRESOLVE_WHATEVER...
  199. d c 0
  200. d CURL_IPRESOLVE_V4...
  201. d c 1
  202. d CURL_IPRESOLVE_V6...
  203. d c 2
  204. *
  205. d CURL_HTTP_VERSION_NONE...
  206. d c 0
  207. d CURL_HTTP_VERSION_1_0...
  208. d c 1
  209. d CURL_HTTP_VERSION_1_1...
  210. d c 2
  211. *
  212. d CURL_NETRC_IGNORED...
  213. d c 0
  214. d CURL_NETRC_OPTIONAL...
  215. d c 1
  216. d CURL_NETRC_REQUIRED...
  217. d c 2
  218. *
  219. d CURL_SSLVERSION_DEFAULT...
  220. d c 0
  221. d CURL_SSLVERSION_TLSv1...
  222. d c 1
  223. d CURL_SSLVERSION_SSLv2...
  224. d c 2
  225. d CURL_SSLVERSION_SSLv3...
  226. d c 3
  227. *
  228. d CURL_TLSAUTH_NONE...
  229. d c 0
  230. d CURL_TLSAUTH_SRP...
  231. d c 1
  232. *
  233. d CURL_REDIR_GET_ALL...
  234. d c 0
  235. d CURL_REDIR_POST_301...
  236. d c 1
  237. d CURL_REDIR_POST_302...
  238. d c 2
  239. d CURL_REDIR_POST_ALL...
  240. d c 3
  241. *
  242. d CURL_POLL_NONE c 0
  243. d CURL_POLL_IN c 1
  244. d CURL_POLL_OUT c 2
  245. d CURL_POLL_INOUT...
  246. d c 3
  247. d CURL_POLL_REMOVE...
  248. d c 4
  249. *
  250. d CURL_CSELECT_IN...
  251. d c X'00000001'
  252. d CURL_CSELECT_OUT...
  253. d c X'00000002'
  254. d CURL_CSELECT_ERR...
  255. d c X'00000004'
  256. *
  257. d CURLPAUSE_RECV c X'00000001'
  258. d CURLPAUSE_RECV_CONT...
  259. d c X'00000000'
  260. d CURLPAUSE_SEND c X'00000004'
  261. d CURLPAUSE_SEND_CONT...
  262. d c X'00000000'
  263. d CURLPAUSE_ALL c X'00000005'
  264. d CURLPAUSE_CONT c X'00000000'
  265. *
  266. d CURLINFOFLAG_KNOWN_FILENAME...
  267. d c X'00000001'
  268. d CURLINFOFLAG_KNOWN_FILETYPE...
  269. d c X'00000002'
  270. d CURLINFOFLAG_KNOWN_TIME...
  271. d c X'00000004'
  272. d CURLINFOFLAG_KNOWN_PERM...
  273. d c X'00000008'
  274. d CURLINFOFLAG_KNOWN_UID...
  275. d c X'00000010'
  276. d CURLINFOFLAG_KNOWN_GID...
  277. d c X'00000020'
  278. d CURLINFOFLAG_KNOWN_SIZE...
  279. d c X'00000040'
  280. d CURLINFOFLAG_KNOWN_HLINKCOUNT...
  281. d c X'00000080'
  282. *
  283. d CURL_CHUNK_BGN_FUNC_OK...
  284. d c 0
  285. d CURL_CHUNK_BGN_FUNC_FAIL...
  286. d c 1
  287. d CURL_CHUNK_BGN_FUNC_SKIP...
  288. d c 2
  289. *
  290. d CURL_CHUNK_END_FUNC_OK...
  291. d c 0
  292. d CURL_CHUNK_END_FUNC_FAIL...
  293. d c 1
  294. *
  295. d CURL_FNMATCHFUNC_MATCH...
  296. d c 0
  297. d CURL_FNMATCHFUNC_NOMATCH...
  298. d c 1
  299. d CURL_FNMATCHFUNC_FAIL...
  300. d c 2
  301. *
  302. **************************************************************************
  303. * Types
  304. **************************************************************************
  305. *
  306. d curl_socket_t s 10i 0 based(######ptr######)
  307. *
  308. d curl_off_t s 20i 0 based(######ptr######)
  309. *
  310. d CURLcode s 10i 0 based(######ptr######) Enum
  311. d CURLE_OK c 0
  312. d CURLE_UNSUPPORTED_PROTOCOL...
  313. d c 1
  314. d CURLE_FAILED_INIT...
  315. d c 2
  316. d CURLE_URL_MALFORMAT...
  317. d c 3
  318. d CURLE_NOT_BUILT_IN...
  319. d c 4
  320. d CURLE_COULDNT_RESOLVE_PROXY...
  321. d c 5
  322. d CURLE_COULDNT_RESOLVE_HOST...
  323. d c 6
  324. d CURLE_COULDNT_CONNECT...
  325. d c 7
  326. d CURLE_FTP_WEIRD_SERVER_REPLY...
  327. d c 8
  328. d CURLE_REMOTE_ACCESS_DENIED...
  329. d c 9
  330. d CURLE_OBSOLETE10...
  331. d c 10
  332. d CURLE_FTP_WEIRD_PASS_REPLY...
  333. d c 11
  334. d CURLE_OBSOLETE12...
  335. d c 12
  336. d CURLE_FTP_WEIRD_PASV_REPLY...
  337. d c 13
  338. d CURLE_FTP_WEIRD_227_FORMAT...
  339. d c 14
  340. d CURLE_FTP_CANT_GET_HOST...
  341. d c 15
  342. d CURLE_OBSOLETE16...
  343. d c 16
  344. d CURLE_FTP_COULDNT_SET_TYPE...
  345. d c 17
  346. d CURLE_PARTIAL_FILE...
  347. d c 18
  348. d CURLE_FTP_COULDNT_RETR_FILE...
  349. d c 19
  350. d CURLE_OBSOLETE20...
  351. d c 20
  352. d CURLE_QUOTE_ERROR...
  353. d c 21
  354. d CURLE_HTTP_RETURNED_ERROR...
  355. d c 22
  356. d CURLE_WRITE_ERROR...
  357. d c 23
  358. d CURLE_OBSOLETE24...
  359. d c 24
  360. d CURLE_UPLOAD_FAILED...
  361. d c 25
  362. d CURLE_READ_ERROR...
  363. d c 26
  364. d CURLE_OUT_OF_MEMORY...
  365. d c 27
  366. d CURLE_OPERATION_TIMEDOUT...
  367. d c 28
  368. d CURLE_OBSOLETE29...
  369. d c 29
  370. d CURLE_FTP_PORT_FAILED...
  371. d c 30
  372. d CURLE_FTP_COULDNT_USE_REST...
  373. d c 31
  374. d CURLE_OBSOLETE32...
  375. d c 32
  376. d CURLE_RANGE_ERROR...
  377. d c 33
  378. d CURLE_HTTP_POST_ERROR...
  379. d c 34
  380. d CURLE_SSL_CONNECT_ERROR...
  381. d c 35
  382. d CURLE_BAD_DOWNLOAD_RESUME...
  383. d c 36
  384. d CURLE_FILE_COULDNT_READ_FILE...
  385. d c 37
  386. d CURLE_LDAP_CANNOT_BIND...
  387. d c 38
  388. d CURLE_LDAP_SEARCH_FAILED...
  389. d c 39
  390. d CURLE_OBSOLETE40...
  391. d c 40
  392. d CURLE_FUNCTION_NOT_FOUND...
  393. d c 41
  394. d CURLE_ABORTED_BY_CALLBACK...
  395. d c 42
  396. d CURLE_BAD_FUNCTION_ARGUMENT...
  397. d c 43
  398. d CURLE_OBSOLETE44...
  399. d c 44
  400. d CURLE_INTERFACE_FAILED...
  401. d c 45
  402. d CURLE_OBSOLETE46...
  403. d c 46
  404. d CURLE_TOO_MANY_REDIRECTS...
  405. d c 47
  406. d CURLE_UNKNOWN_OPTION...
  407. d c 48
  408. d CURLE_TELNET_OPTION_SYNTAX...
  409. d c 49
  410. d CURLE_OBSOLETE50...
  411. d c 50
  412. d CURLE_PEER_FAILED_VERIFICATION...
  413. d c 51
  414. d CURLE_GOT_NOTHING...
  415. d c 52
  416. d CURLE_SSL_ENGINE_NOTFOUND...
  417. d c 53
  418. d CURLE_SSL_ENGINE_SETFAILED...
  419. d c 54
  420. d CURLE_SEND_ERROR...
  421. d c 55
  422. d CURLE_RECV_ERROR...
  423. d c 56
  424. d CURLE_OBSOLETE57...
  425. d c 57
  426. d CURLE_SSL_CERTPROBLEM...
  427. d c 58
  428. d CURLE_SSL_CIPHER...
  429. d c 59
  430. d CURLE_SSL_CACERT...
  431. d c 60
  432. d CURLE_BAD_CONTENT_ENCODING...
  433. d c 61
  434. d CURLE_LDAP_INVALID_URL...
  435. d c 62
  436. d CURLE_FILESIZE_EXCEEDED...
  437. d c 63
  438. d CURLE_USE_SSL_FAILED...
  439. d c 64
  440. d CURLE_SEND_FAIL_REWIND...
  441. d c 65
  442. d CURLE_SSL_ENGINE_INITFAILED...
  443. d c 66
  444. d CURLE_LOGIN_DENIED...
  445. d c 67
  446. d CURLE_TFTP_NOTFOUND...
  447. d c 68
  448. d CURLE_TFTP_PERM...
  449. d c 69
  450. d CURLE_REMOTE_DISK_FULL...
  451. d c 70
  452. d CURLE_TFTP_ILLEGAL...
  453. d c 71
  454. d CURLE_TFTP_UNKNOWNID...
  455. d c 72
  456. d CURLE_REMOTE_FILE_EXISTS...
  457. d c 73
  458. d CURLE_TFTP_NOSUCHUSER...
  459. d c 74
  460. d CURLE_CONV_FAILED...
  461. d c 75
  462. d CURLE_CONV_REQD...
  463. d c 76
  464. d CURLE_SSL_CACERT_BADFILE...
  465. d c 77
  466. d CURLE_REMOTE_FILE_NOT_FOUND...
  467. d c 78
  468. d CURLE_SSH...
  469. d c 79
  470. d CURLE_SSL_SHUTDOWN_FAILED...
  471. d c 80
  472. d CURLE_AGAIN...
  473. d c 81
  474. d CURLE_SSL_CRL_BADFILE...
  475. d c 82
  476. d CURLE_SSL_ISSUER_ERROR...
  477. d c 83
  478. d CURLE_FTP_PRET_FAILED...
  479. d c 84
  480. d CURLE_RTSP_CSEQ_ERROR...
  481. d c 85
  482. d CURLE_RTSP_SESSION_ERROR...
  483. d c 86
  484. d CURLE_FTP_BAD_FILE_LIST...
  485. d c 87
  486. d CURLE_CHUNK_FAILED...
  487. d c 88
  488. *
  489. /if not defined(CURL_NO_OLDIES)
  490. d CURLE_URL_MALFORMAT_USER...
  491. d c 4
  492. d CURLE_FTP_ACCESS_DENIED...
  493. d c 9
  494. d CURLE_FTP_USER_PASSWORD_INCORRECT...
  495. d c 10
  496. d CURLE_FTP_WEIRD_USER_REPLY...
  497. d c 12
  498. d CURLE_FTP_CANT_RECONNECT...
  499. d c 16
  500. d CURLE_FTP_COULDNT_SET_BINARY...
  501. d c 17
  502. d CURLE_FTP_PARTIAL_FILE...
  503. d c 18
  504. d CURLE_FTP_WRITE_ERROR...
  505. d c 20
  506. d CURLE_FTP_QUOTE_ERROR...
  507. d c 21
  508. d CURLE_HTTP_NOT_FOUND...
  509. d c 22
  510. d CURLE_MALFORMAT_USER...
  511. d c 24
  512. d CURLE_FTP_COULDNT_STOR_FILE...
  513. d c 25
  514. d CURLE_OPERATION_TIMEOUTED...
  515. d c 28
  516. d CURLE_FTP_COULDNT_SET_ASCII...
  517. d c 29
  518. d CURLE_FTP_COULDNT_GET_SIZE...
  519. d c 32
  520. d CURLE_HTTP_RANGE_ERROR...
  521. d c 33
  522. d CURLE_FTP_BAD_DOWNLOAD_RESUME...
  523. d c 36
  524. d CURLE_LIBRARY_NOT_FOUND...
  525. d c 40
  526. d CURLE_BAD_CALLING_ORDER...
  527. d c 44
  528. d CURLE_HTTP_PORT_FAILED...
  529. d c 45
  530. d CURLE_BAD_PASSWORD_ENTERED...
  531. d c 46
  532. d CURLE_UNKNOWN_TELNET_OPTION...
  533. d c 48
  534. d CURLE_OBSOLETE...
  535. d c 50
  536. d CURLE_SSL_PEER_CERTIFICATE...
  537. d c 51
  538. d CURLE_SHARE_IN_USE...
  539. d c 57
  540. d CURLE_FTP_SSL_FAILED...
  541. d c 64
  542. d CURLE_TFTP_DISKFULL...
  543. d c 70
  544. d CURLE_TFTP_EXISTS...
  545. d c 73
  546. d CURLE_ALREADY_COMPLETE...
  547. d c 99999
  548. /endif
  549. *
  550. d curlioerr s 10i 0 based(######ptr######) Enum
  551. d CURLIOE_OK c 0
  552. d CURLIOE_UNKNOWNCMD...
  553. d c 1
  554. d CURLIOE_FAILRESTART...
  555. d c 2
  556. *
  557. d curlfiletype s 10i 0 based(######ptr######) Enum
  558. d CURLFILETYPE_FILE...
  559. d c 0
  560. d CURLFILETYPE_DIRECTORY...
  561. d c 1
  562. d CURLFILETYPE_SYMLINK...
  563. d c 2
  564. d CURLFILETYPE_DEVICE_BLOCK...
  565. d c 3
  566. d CURLFILETYPE_DEVICE_CHAR...
  567. d c 4
  568. d CURLFILETYPE_NAMEDPIPE...
  569. d c 5
  570. d CURLFILETYPE_SOCKET...
  571. d c 6
  572. d CURLFILETYPE_DOOR...
  573. d c 7
  574. *
  575. d curliocmd s 10i 0 based(######ptr######) Enum
  576. d CURLIOCMD_NOP c 0
  577. d CURLIOCMD_RESTARTREAD...
  578. d c 1
  579. *
  580. d curl_infotype s 10i 0 based(######ptr######) Enum
  581. d CURLINFO_TEXT...
  582. d c 0
  583. d CURLINFO_HEADER_IN...
  584. d c 1
  585. d CURLINFO_HEADER_OUT...
  586. d c 2
  587. d CURLINFO_DATA_IN...
  588. d c 3
  589. d CURLINFO_DATA_OUT...
  590. d c 4
  591. d CURLINFO_SSL_DATA_IN...
  592. d c 5
  593. d CURLINFO_SSL_DATA_OUT...
  594. d c 6
  595. d CURLINFO_END...
  596. d c 7
  597. *
  598. d curl_proxytype s 10i 0 based(######ptr######) Enum
  599. d CURLPROXY_HTTP...
  600. d c 0
  601. d CURLPROXY_HTTP_1_0...
  602. d c 1
  603. d CURLPROXY_SOCKS4...
  604. d c 4
  605. d CURLPROXY_SOCKS5...
  606. d c 5
  607. d CURLPROXY_SOCKS4A...
  608. d c 6
  609. d CURLPROXY_SOCKS5_HOSTNAME...
  610. d c 7
  611. *
  612. d curl_khstat s 10i 0 based(######ptr######) Enum
  613. d CURLKHSTAT_FINE_ADD_TO_FILE...
  614. d c 0
  615. d CURLKHSTAT_FINE...
  616. d c 1
  617. d CURLKHSTAT_REJECT...
  618. d c 2
  619. d CURLKHSTAT_DEFER...
  620. d c 3
  621. d CURLKHSTAT_LAST...
  622. d c 4
  623. *
  624. d curl_khmatch s 10i 0 based(######ptr######) Enum
  625. d CURLKHMATCH_OK...
  626. d c 0
  627. d CURLKHMATCH_MISMATCH...
  628. d c 1
  629. d CURLKHMATCH_MISSING...
  630. d c 2
  631. d CURLKHMATCH_LAST...
  632. d c 3
  633. *
  634. d curl_usessl s 10i 0 based(######ptr######) Enum
  635. d CURLUSESSL_NONE...
  636. d c 0
  637. d CURLUSESSL_TRY...
  638. d c 1
  639. d CURLUSESSL_CONTROL...
  640. d c 2
  641. d CURLUSESSL_ALL...
  642. d c 3
  643. *
  644. /if not defined(CURL_NO_OLDIES)
  645. d curl_ftpssl s like(curl_usessl)
  646. d based(######ptr######)
  647. d CURLFTPSSL_NONE...
  648. d c 0
  649. d CURLFTPSSL_TRY...
  650. d c 1
  651. d CURLFTPSSL_CONTROL...
  652. d c 2
  653. d CURLFTPSSL_ALL...
  654. d c 3
  655. /endif
  656. *
  657. d curl_ftpccc s 10i 0 based(######ptr######) Enum
  658. d CURLFTPSSL_CCC_NONE...
  659. d c 0
  660. d CURLFTPSSL_CCC_PASSIVE...
  661. d c 1
  662. d CURLFTPSSL_CCC_ACTIVE...
  663. d c 2
  664. *
  665. d curl_ftpauth s 10i 0 based(######ptr######) Enum
  666. d CURLFTPAUTH_DEFAULT...
  667. d c 0
  668. d CURLFTPAUTH_SSL...
  669. d c 1
  670. d CURLFTPAUTH_TLS...
  671. d c 2
  672. *
  673. d curl_ftpcreatedir...
  674. d s 10i 0 based(######ptr######) Enum
  675. d CURLFTP_CREATE_DIR_NONE...
  676. d c 0
  677. d CURLFTP_CREATE_DIR...
  678. d c 1
  679. d CURLFTP_CREATE_DIR_RETRY...
  680. d c 2
  681. *
  682. d curl_ftpmethod s 10i 0 based(######ptr######) Enum
  683. d CURLFTPMETHOD_DEFAULT...
  684. d c 0
  685. d CURLFTPMETHOD_MULTICWD...
  686. d c 1
  687. d CURLFTPMETHOD_NOCWD...
  688. d c 2
  689. d CURLFTPMETHOD_SINGLECWD...
  690. d c 3
  691. *
  692. d CURLPROTO_HTTP...
  693. d c X'00000001'
  694. d CURLPROTO_HTTPS...
  695. d c X'00000002'
  696. d CURLPROTO_FTP...
  697. d c X'00000004'
  698. d CURLPROTO_FTPS...
  699. d c X'00000008'
  700. d CURLPROTO_SCP...
  701. d c X'00000010'
  702. d CURLPROTO_SFTP...
  703. d c X'00000020'
  704. d CURLPROTO_TELNET...
  705. d c X'00000040'
  706. d CURLPROTO_LDAP...
  707. d c X'00000080'
  708. d CURLPROTO_LDAPS...
  709. d c X'00000100'
  710. d CURLPROTO_DICT...
  711. d c X'00000200'
  712. d CURLPROTO_FILE...
  713. d c X'00000400'
  714. d CURLPROTO_TFTP...
  715. d c X'00000800'
  716. d CURLPROTO_IMAP...
  717. d c X'00001000'
  718. d CURLPROTO_IMAPS...
  719. d c X'00002000'
  720. d CURLPROTO_POP3...
  721. d c X'00004000'
  722. d CURLPROTO_POP3S...
  723. d c X'00008000'
  724. d CURLPROTO_SMTP...
  725. d c X'00010000'
  726. d CURLPROTO_SMTPS...
  727. d c X'00020000'
  728. d CURLPROTO_RTSP...
  729. d c X'00040000'
  730. d CURLPROTO_RTMP...
  731. d c X'00080000'
  732. d CURLPROTO_RTMPT...
  733. d c X'00100000'
  734. d CURLPROTO_RTMPTE...
  735. d c X'00200000'
  736. d CURLPROTO_RTMPE...
  737. d c X'00400000'
  738. d CURLPROTO_RTMPS...
  739. d c X'00800000'
  740. d CURLPROTO_RTMPTS...
  741. d c X'01000000'
  742. d CURLPROTO_GOPHER...
  743. d c X'02000000'
  744. *
  745. d CURLoption s 10i 0 based(######ptr######) Enum
  746. d CURLOPT_FILE c 10001
  747. d CURLOPT_WRITEDATA...
  748. d c 10001
  749. d CURLOPT_URL c 10002
  750. d CURLOPT_PORT c 00003
  751. d CURLOPT_PROXY c 10004
  752. d CURLOPT_USERPWD...
  753. d c 10005
  754. d CURLOPT_PROXYUSERPWD...
  755. d c 10006
  756. d CURLOPT_RANGE c 10007
  757. d CURLOPT_INFILE...
  758. d c 10009
  759. d CURLOPT_READDATA...
  760. d c 10009
  761. d CURLOPT_ERRORBUFFER...
  762. d c 10010
  763. d CURLOPT_WRITEFUNCTION...
  764. d c 20011
  765. d CURLOPT_READFUNCTION...
  766. d c 20012
  767. d CURLOPT_TIMEOUT...
  768. d c 00013
  769. d CURLOPT_INFILESIZE...
  770. d c 00014
  771. d CURLOPT_POSTFIELDS...
  772. d c 10015
  773. d CURLOPT_REFERER...
  774. d c 10016
  775. d CURLOPT_FTPPORT...
  776. d c 10017
  777. d CURLOPT_USERAGENT...
  778. d c 10018
  779. d CURLOPT_LOW_SPEED_LIMIT...
  780. d c 00019
  781. d CURLOPT_LOW_SPEED_TIME...
  782. d c 00020
  783. d CURLOPT_RESUME_FROM...
  784. d c 00021
  785. d CURLOPT_COOKIE...
  786. d c 10022
  787. d CURLOPT_HTTPHEADER...
  788. d c 10023
  789. d CURLOPT_RTSPHEADER...
  790. d c 10023
  791. d CURLOPT_HTTPPOST...
  792. d c 10024
  793. d CURLOPT_SSLCERT...
  794. d c 10025
  795. d CURLOPT_KEYPASSWD...
  796. d c 10026
  797. d CURLOPT_CRLF c 00027
  798. d CURLOPT_QUOTE c 10028
  799. d CURLOPT_WRITEHEADER...
  800. d c 10029
  801. d CURLOPT_HEADERDATA...
  802. d c 10029
  803. d CURLOPT_COOKIEFILE...
  804. d c 10031
  805. d CURLOPT_SSLVERSION...
  806. d c 00032
  807. d CURLOPT_TIMECONDITION...
  808. d c 00033
  809. d CURLOPT_TIMEVALUE...
  810. d c 00034
  811. d CURLOPT_CUSTOMREQUEST...
  812. d c 10036
  813. d CURLOPT_STDERR...
  814. d c 10037
  815. d CURLOPT_POSTQUOTE...
  816. d c 10039
  817. d CURLOPT_WRITEINFO...
  818. d c 10040
  819. d CURLOPT_VERBOSE...
  820. d c 00041
  821. d CURLOPT_HEADER...
  822. d c 00042
  823. d CURLOPT_NOPROGRESS...
  824. d c 00043
  825. d CURLOPT_NOBODY...
  826. d c 00044
  827. d CURLOPT_FAILONERROR...
  828. d c 00045
  829. d CURLOPT_UPLOAD...
  830. d c 00046
  831. d CURLOPT_POST c 00047
  832. d CURLOPT_DIRLISTONLY...
  833. d c 00048
  834. d CURLOPT_APPEND...
  835. d c 00050
  836. d CURLOPT_NETRC c 00051
  837. d CURLOPT_FOLLOWLOCATION...
  838. d c 00052
  839. d CURLOPT_TRANSFERTEXT...
  840. d c 00053
  841. d CURLOPT_PUT c 00054
  842. d CURLOPT_PROGRESSFUNCTION...
  843. d c 20056
  844. d CURLOPT_PROGRESSDATA...
  845. d c 10057
  846. d CURLOPT_AUTOREFERER...
  847. d c 00058
  848. d CURLOPT_PROXYPORT...
  849. d c 00059
  850. d CURLOPT_POSTFIELDSIZE...
  851. d c 00060
  852. d CURLOPT_HTTPPROXYTUNNEL...
  853. d c 00061
  854. d CURLOPT_INTERFACE...
  855. d c 10062
  856. d CURLOPT_KRBLEVEL...
  857. d c 10063
  858. d CURLOPT_SSL_VERIFYPEER...
  859. d c 00064
  860. d CURLOPT_CAINFO...
  861. d c 10065
  862. d CURLOPT_MAXREDIRS...
  863. d c 00068
  864. d CURLOPT_FILETIME...
  865. d c 00069
  866. d CURLOPT_TELNETOPTIONS...
  867. d c 10070
  868. d CURLOPT_MAXCONNECTS...
  869. d c 00071
  870. d CURLOPT_CLOSEPOLICY...
  871. d c 00072
  872. d CURLOPT_FRESH_CONNECT...
  873. d c 00074
  874. d CURLOPT_FORBID_REUSE...
  875. d c 00075
  876. d CURLOPT_RANDOM_FILE...
  877. d c 10076
  878. d CURLOPT_EGDSOCKET...
  879. d c 10077
  880. d CURLOPT_CONNECTTIMEOUT...
  881. d c 00078
  882. d CURLOPT_HEADERFUNCTION...
  883. d c 20079
  884. d CURLOPT_HTTPGET...
  885. d c 00080
  886. d CURLOPT_SSL_VERIFYHOST...
  887. d c 00081
  888. d CURLOPT_COOKIEJAR...
  889. d c 10082
  890. d CURLOPT_SSL_CIPHER_LIST...
  891. d c 10083
  892. d CURLOPT_HTTP_VERSION...
  893. d c 00084
  894. d CURLOPT_FTP_USE_EPSV...
  895. d c 00085
  896. d CURLOPT_SSLCERTTYPE...
  897. d c 10086
  898. d CURLOPT_SSLKEY...
  899. d c 10087
  900. d CURLOPT_SSLKEYTYPE...
  901. d c 10088
  902. d CURLOPT_SSLENGINE...
  903. d c 10089
  904. d CURLOPT_SSLENGINE_DEFAULT...
  905. d c 00090
  906. d CURLOPT_DNS_USE_GLOBAL_CACHE...
  907. d c 00091
  908. d CURLOPT_DNS_CACHE_TIMEOUT...
  909. d c 00092
  910. d CURLOPT_PREQUOTE...
  911. d c 10093
  912. d CURLOPT_DEBUGFUNCTION...
  913. d c 20094
  914. d CURLOPT_DEBUGDATA...
  915. d c 10095
  916. d CURLOPT_COOKIESESSION...
  917. d c 00096
  918. d CURLOPT_CAPATH...
  919. d c 10097
  920. d CURLOPT_BUFFERSIZE...
  921. d c 00098
  922. d CURLOPT_NOSIGNAL...
  923. d c 00099
  924. d CURLOPT_SHARE c 10100
  925. d CURLOPT_PROXYTYPE...
  926. d c 00101
  927. d CURLOPT_ACCEPT_ENCODING...
  928. d c 10102
  929. d CURLOPT_PRIVATE...
  930. d c 10103
  931. d CURLOPT_HTTP200ALIASES...
  932. d c 10104
  933. d CURLOPT_UNRESTRICTED_AUTH...
  934. d c 00105
  935. d CURLOPT_FTP_USE_EPRT...
  936. d c 00106
  937. d CURLOPT_HTTPAUTH...
  938. d c 00107
  939. d CURLOPT_SSL_CTX_FUNCTION...
  940. d c 20108
  941. d CURLOPT_SSL_CTX_DATA...
  942. d c 10109
  943. d CURLOPT_FTP_CREATE_MISSING_DIRS...
  944. d c 00110
  945. d CURLOPT_PROXYAUTH...
  946. d c 00111
  947. d CURLOPT_FTP_RESPONSE_TIMEOUT...
  948. d c 00112
  949. d CURLOPT_IPRESOLVE...
  950. d c 00113
  951. d CURLOPT_MAXFILESIZE...
  952. d c 00114
  953. d CURLOPT_INFILESIZE_LARGE...
  954. d c 30115
  955. d CURLOPT_RESUME_FROM_LARGE...
  956. d c 30116
  957. d CURLOPT_MAXFILESIZE_LARGE...
  958. d c 30117
  959. d CURLOPT_NETRC_FILE...
  960. d c 10118
  961. d CURLOPT_USE_SSL...
  962. d c 00119
  963. d CURLOPT_POSTFIELDSIZE_LARGE...
  964. d c 30120
  965. d CURLOPT_TCP_NODELAY...
  966. d c 00121
  967. d CURLOPT_FTPSSLAUTH...
  968. d c 00129
  969. d CURLOPT_IOCTLFUNCTION...
  970. d c 20130
  971. d CURLOPT_IOCTLDATA...
  972. d c 10131
  973. d CURLOPT_FTP_ACCOUNT...
  974. d c 10134
  975. d CURLOPT_COOKIELIST...
  976. d c 10135
  977. d CURLOPT_IGNORE_CONTENT_LENGTH...
  978. d c 00136
  979. d CURLOPT_FTP_SKIP_PASV_IP...
  980. d c 00137
  981. d CURLOPT_FTP_FILEMETHOD...
  982. d c 00138
  983. d CURLOPT_LOCALPORT...
  984. d c 00139
  985. d CURLOPT_LOCALPORTRANGE...
  986. d c 00140
  987. d CURLOPT_CONNECT_ONLY...
  988. d c 00141
  989. d CURLOPT_CONV_FROM_NETWORK_FUNCTION...
  990. d c 20142
  991. d CURLOPT_CONV_TO_NETWORK_FUNCTION...
  992. d c 20143
  993. d CURLOPT_CONV_FROM_UTF8_FUNCTION...
  994. d c 20144
  995. d CURLOPT_MAX_SEND_SPEED_LARGE...
  996. d c 30145
  997. d CURLOPT_MAX_RECV_SPEED_LARGE...
  998. d c 30146
  999. d CURLOPT_FTP_ALTERNATIVE_TO_USER...
  1000. d c 10147
  1001. d CURLOPT_SOCKOPTFUNCTION...
  1002. d c 20148
  1003. d CURLOPT_SOCKOPTDATA...
  1004. d c 10149
  1005. d CURLOPT_SSL_SESSIONID_CACHE...
  1006. d c 00150
  1007. d CURLOPT_SSH_AUTH_TYPES...
  1008. d c 00151
  1009. d CURLOPT_SSH_PUBLIC_KEYFILE...
  1010. d c 10152
  1011. d CURLOPT_SSH_PRIVATE_KEYFILE...
  1012. d c 10153
  1013. d CURLOPT_FTP_SSL_CCC...
  1014. d c 00154
  1015. d CURLOPT_TIMEOUT_MS...
  1016. d c 00155
  1017. d CURLOPT_CONNECTTIMEOUT_MS...
  1018. d c 00156
  1019. d CURLOPT_HTTP_TRANSFER_DECODING...
  1020. d c 00157
  1021. d CURLOPT_HTTP_CONTENT_DECODING...
  1022. d c 00158
  1023. d CURLOPT_NEW_FILE_PERMS...
  1024. d c 00159
  1025. d CURLOPT_NEW_DIRECTORY_PERMS...
  1026. d c 00160
  1027. d CURLOPT_POSTREDIR...
  1028. d c 00161
  1029. d CURLOPT_SSH_HOST_PUBLIC_KEY_MD5...
  1030. d c 10162
  1031. d CURLOPT_OPENSOCKETFUNCTION...
  1032. d c 20163
  1033. d CURLOPT_OPENSOCKETDATA...
  1034. d c 10164
  1035. d CURLOPT_COPYPOSTFIELDS...
  1036. d c 10165
  1037. d CURLOPT_PROXY_TRANSFER_MODE...
  1038. d c 00166
  1039. d CURLOPT_SEEKFUNCTION...
  1040. d c 20167
  1041. d CURLOPT_SEEKDATA...
  1042. d c 10168
  1043. d CURLOPT_CRLFILE...
  1044. d c 10169
  1045. d CURLOPT_ISSUERCERT...
  1046. d c 10170
  1047. d CURLOPT_ADDRESS_SCOPE...
  1048. d c 00171
  1049. d CURLOPT_CERTINFO...
  1050. d c 00172
  1051. d CURLOPT_USERNAME...
  1052. d c 10173
  1053. d CURLOPT_PASSWORD...
  1054. d c 10174
  1055. d CURLOPT_PROXYUSERNAME...
  1056. d c 10175
  1057. d CURLOPT_PROXYPASSWORD...
  1058. d c 10176
  1059. d CURLOPT_NOPROXY...
  1060. d c 10177
  1061. d CURLOPT_TFTP_BLKSIZE...
  1062. d c 00178
  1063. d CURLOPT_SOCKS5_GSSAPI_SERVICE...
  1064. d c 10179
  1065. d CURLOPT_SOCKS5_GSSAPI_NEC...
  1066. d c 00180
  1067. d CURLOPT_PROTOCOLS...
  1068. d c 00181
  1069. d CURLOPT_REDIR_PROTOCOLS...
  1070. d c 00182
  1071. d CURLOPT_SSH_KNOWNHOSTS...
  1072. d c 10183
  1073. d CURLOPT_SSH_KEYFUNCTION...
  1074. d c 20184
  1075. d CURLOPT_SSH_KEYDATA...
  1076. d c 10185
  1077. d CURLOPT_MAIL_FROM...
  1078. d c 10186
  1079. d CURLOPT_MAIL_RCPT...
  1080. d c 10187
  1081. d CURLOPT_FTP_USE_PRET...
  1082. d c 00188
  1083. d CURLOPT_RTSP_REQUEST...
  1084. d c 00189
  1085. d CURLOPT_RTSP_SESSION_ID...
  1086. d c 10190
  1087. d CURLOPT_RTSP_STREAM_URI...
  1088. d c 10191
  1089. d CURLOPT_RTSP_TRANSPORT...
  1090. d c 10192
  1091. d CURLOPT_RTSP_CLIENT_CSEQ...
  1092. d c 00193
  1093. d CURLOPT_RTSP_SERVER_CSEQ...
  1094. d c 00194
  1095. d CURLOPT_INTERLEAVEDATA...
  1096. d c 10195
  1097. d CURLOPT_INTERLEAVEFUNCTION...
  1098. d c 20196
  1099. d CURLOPT_WILDCARDMATCH...
  1100. d c 00197
  1101. d CURLOPT_CHUNK_BGN_FUNCTION...
  1102. d c 20198
  1103. d CURLOPT_CHUNK_END_FUNCTION...
  1104. d c 20199
  1105. d CURLOPT_FNMATCH_FUNCTION...
  1106. d c 20200
  1107. d CURLOPT_CHUNK_DATA...
  1108. d c 10201
  1109. d CURLOPT_FNMATCH_DATA...
  1110. d c 10202
  1111. d CURLOPT_RESOLVE...
  1112. d c 10203
  1113. d CURLOPT_TLSAUTH_USERNAME...
  1114. d c 10204
  1115. d CURLOPT_TLSAUTH_PASSWORD...
  1116. d c 10205
  1117. d CURLOPT_TLSAUTH_TYPE...
  1118. d c 10206
  1119. d CURLOPT_TRANSFER_ENCODING...
  1120. d c 00207
  1121. d CURLOPT_CLOSESOCKETFUNCTION...
  1122. d c 20208
  1123. d CURLOPT_CLOSESOCKETDATA...
  1124. d c 10209
  1125. d CURLOPT_GSSAPI_DELEGATION...
  1126. d c 00210
  1127. *
  1128. /if not defined(CURL_NO_OLDIES)
  1129. d CURLOPT_SSLKEYPASSWD...
  1130. d c 10026
  1131. d CURLOPT_SSLCERTPASSWD...
  1132. d c 10026
  1133. d CURLOPT_FTPLISTONLY...
  1134. d c 00048
  1135. d CURLOPT_FTPAPPEND...
  1136. d c 00050
  1137. d CURLOPT_KRB4LEVEL...
  1138. d c 10063
  1139. d CURLOPT_ENCODING...
  1140. d c 10102
  1141. d CURLOPT_SERVER_RESPONSE_TIMEOUT...
  1142. d c 00112
  1143. d CURLOPT_FTP_SSL...
  1144. d c 00119
  1145. d CURLOPT_POST301...
  1146. d c 00161
  1147. /endif
  1148. *
  1149. d CURLFORMcode s 10i 0 based(######ptr######) Enum
  1150. d CURL_FORMADD_OK...
  1151. d c 0
  1152. d CURL_FORMADD_MEMORY...
  1153. d c 1
  1154. d CURL_FORMADD_OPTION_TWICE...
  1155. d c 2
  1156. d CURL_FORMADD_NULL...
  1157. d c 3
  1158. d CURL_FORMADD_UNKNOWN_OPTION...
  1159. d c 4
  1160. d CURL_FORMADD_INCOMPLETE...
  1161. d c 5
  1162. d CURL_FORMADD_ILLEGAL_ARRAY...
  1163. d c 6
  1164. d CURL_FORMADD_DISABLED...
  1165. d c 7
  1166. *
  1167. d CURLformoption s 10i 0 based(######ptr######) Enum
  1168. d CURLFORM_NOTHING...
  1169. d c 0
  1170. d CURLFORM_COPYNAME...
  1171. d c 1
  1172. d CURLFORM_PTRNAME...
  1173. d c 2
  1174. d CURLFORM_NAMELENGTH...
  1175. d c 3
  1176. d CURLFORM_COPYCONTENTS...
  1177. d c 4
  1178. d CURLFORM_PTRCONTENTS...
  1179. d c 5
  1180. d CURLFORM_CONTENTSLENGTH...
  1181. d c 6
  1182. d CURLFORM_FILECONTENT...
  1183. d c 7
  1184. d CURLFORM_ARRAY...
  1185. d c 8
  1186. d CURLFORM_OBSOLETE...
  1187. d c 9
  1188. d CURLFORM_FILE...
  1189. d c 10
  1190. d CURLFORM_BUFFER...
  1191. d c 11
  1192. d CURLFORM_BUFFERPTR...
  1193. d c 12
  1194. d CURLFORM_BUFFERLENGTH...
  1195. d c 13
  1196. d CURLFORM_CONTENTTYPE...
  1197. d c 14
  1198. d CURLFORM_CONTENTHEADER...
  1199. d c 15
  1200. d CURLFORM_FILENAME...
  1201. d c 16
  1202. d CURLFORM_END...
  1203. d c 17
  1204. d CURLFORM_OBSOLETE2...
  1205. d c 18
  1206. d CURLFORM_STREAM...
  1207. d c 19
  1208. *
  1209. d CURLINFO s 10i 0 based(######ptr######) Enum
  1210. d CURLINFO_EFFECTIVE_URL... CURLINFO_STRING + 1
  1211. d c X'00100001'
  1212. d CURLINFO_RESPONSE_CODE... CURLINFO_LONG + 2
  1213. d c X'00200002'
  1214. d CURLINFO_TOTAL_TIME... CURLINFO_DOUBLE + 3
  1215. d c X'00300003'
  1216. d CURLINFO_NAMELOOKUP_TIME... CURLINFO_DOUBLE + 4
  1217. d c X'00300004'
  1218. d CURLINFO_CONNECT_TIME... CURLINFO_DOUBLE + 5
  1219. d c X'00300005'
  1220. d CURLINFO_PRETRANSFER_TIME... CURLINFO_DOUBLE + 6
  1221. d c X'00300006'
  1222. d CURLINFO_SIZE_UPLOAD... CURLINFO_DOUBLE + 7
  1223. d c X'00300007'
  1224. d CURLINFO_SIZE_DOWNLOAD... CURLINFO_DOUBLE + 8
  1225. d c X'00300008'
  1226. d CURLINFO_SPEED_DOWNLOAD... CURLINFO_DOUBLE + 9
  1227. d c X'00300009'
  1228. d CURLINFO_SPEED_UPLOAD... CURLINFO_DOUBLE + 10
  1229. d c X'0030000A'
  1230. d CURLINFO_HEADER_SIZE... CURLINFO_LONG + 11
  1231. d c X'0020000B'
  1232. d CURLINFO_REQUEST_SIZE... CURLINFO_LONG + 12
  1233. d c X'0020000C'
  1234. d CURLINFO_SSL_VERIFYRESULT... CURLINFO_LONG + 13
  1235. d c X'0020000D'
  1236. d CURLINFO_FILETIME... CURLINFO_LONG + 14
  1237. d c X'0020000E'
  1238. d CURLINFO_CONTENT_LENGTH_DOWNLOAD... CURLINFO_DOUBLE + 15
  1239. d c X'0030000F'
  1240. d CURLINFO_CONTENT_LENGTH_UPLOAD... CURLINFO_DOUBLE + 16
  1241. d c X'00300010'
  1242. d CURLINFO_STARTTRANSFER_TIME... CURLINFO_DOUBLE + 17
  1243. d c X'00300011'
  1244. d CURLINFO_CONTENT_TYPE... CURLINFO_STRING + 18
  1245. d c X'00100012'
  1246. d CURLINFO_REDIRECT_TIME... CURLINFO_DOUBLE + 19
  1247. d c X'00300013'
  1248. d CURLINFO_REDIRECT_COUNT... CURLINFO_LONG + 20
  1249. d c X'00200014'
  1250. d CURLINFO_PRIVATE... CURLINFO_STRING + 21
  1251. d c X'00100015'
  1252. d CURLINFO_HTTP_CONNECTCODE... CURLINFO_LONG + 22
  1253. d c X'00200016'
  1254. d CURLINFO_HTTPAUTH_AVAIL... CURLINFO_LONG + 23
  1255. d c X'00200017'
  1256. d CURLINFO_PROXYAUTH_AVAIL... CURLINFO_LONG + 24
  1257. d c X'00200018'
  1258. d CURLINFO_OS_ERRNO... CURLINFO_LONG + 25
  1259. d c X'00200019'
  1260. d CURLINFO_NUM_CONNECTS... CURLINFO_LONG + 26
  1261. d c X'0020001A'
  1262. d CURLINFO_SSL_ENGINES... CURLINFO_SLIST + 27
  1263. d c X'0040001B'
  1264. d CURLINFO_COOKIELIST... CURLINFO_SLIST + 28
  1265. d c X'0040001C'
  1266. d CURLINFO_LASTSOCKET... CURLINFO_LONG + 29
  1267. d c X'0020001D'
  1268. d CURLINFO_FTP_ENTRY_PATH... CURLINFO_STRING + 30
  1269. d c X'0010001E'
  1270. d CURLINFO_REDIRECT_URL... CURLINFO_STRING + 31
  1271. d c X'0010001F'
  1272. d CURLINFO_PRIMARY_IP... CURLINFO_STRING + 32
  1273. d c X'00100020'
  1274. d CURLINFO_APPCONNECT_TIME... CURLINFO_DOUBLE + 33
  1275. d c X'00300021'
  1276. d CURLINFO_CERTINFO... CURLINFO_SLIST + 34
  1277. d c X'00400022'
  1278. d CURLINFO_CONDITION_UNMET... CURLINFO_LONG + 35
  1279. d c X'00200023'
  1280. d CURLINFO_RTSP_SESSION_ID... CURLINFO_STRING + 36
  1281. d c X'00100024'
  1282. d CURLINFO_RTSP_CLIENT_CSEQ... CURLINFO_LONG + 37
  1283. d c X'00200025'
  1284. d CURLINFO_RTSP_SERVER_CSEQ... CURLINFO_LONG + 38
  1285. d c X'00200026'
  1286. d CURLINFO_RTSP_CSEQ_RECV... CURLINFO_LONG + 39
  1287. d c X'00200027'
  1288. d CURLINFO_PRIMARY_PORT... CURLINFO_LONG + 40
  1289. d c X'00200028'
  1290. d CURLINFO_LOCAL_IP... CURLINFO_STRING + 41
  1291. d c X'00100029'
  1292. d CURLINFO_LOCAL_PORT... CURLINFO_LONG + 42
  1293. d c X'0020002A'
  1294. *
  1295. d CURLINFO_HTTP_CODE... Old ...RESPONSE_CODE
  1296. d c X'00200002'
  1297. *
  1298. d curl_closepolicy...
  1299. d s 10i 0 based(######ptr######) Enum
  1300. d CURLCLOSEPOLICY_OLDEST...
  1301. d c 1
  1302. d CURLCLOSEPOLICY_LEAST_RECENTLY_USED...
  1303. d c 2
  1304. d CURLCLOSEPOLICY_LEAST_TRAFFIC...
  1305. d c 3
  1306. d CURLCLOSEPOLICY_SLOWEST...
  1307. d c 4
  1308. d CURLCLOSEPOLICY_CALLBACK...
  1309. d c 5
  1310. *
  1311. d curl_lock_data...
  1312. d s 10i 0 based(######ptr######) Enum
  1313. d CURL_LOCK_DATA_NONE...
  1314. d c 0
  1315. d CURL_LOCK_DATA_SHARE...
  1316. d c 1
  1317. d CURL_LOCK_DATA_COOKIE...
  1318. d c 2
  1319. d CURL_LOCK_DATA_DNS...
  1320. d c 3
  1321. d CURL_LOCK_DATA_SSL_SESSION...
  1322. d c 4
  1323. d CURL_LOCK_DATA_CONNECT...
  1324. d c 5
  1325. d CURL_LOCK_DATA_LAST...
  1326. d c 6
  1327. *
  1328. d curl_lock_access...
  1329. d s 10i 0 based(######ptr######) Enum
  1330. d CURL_LOCK_ACCESS_NONE...
  1331. d c 0
  1332. d CURL_LOCK_ACCESS_SHARED...
  1333. d c 1
  1334. d CURL_LOCK_ACCESS_SINGLE...
  1335. d c 2
  1336. *
  1337. d curl_TimeCond s 10i 0 based(######ptr######) Enum
  1338. d CURL_TIMECOND_NONE...
  1339. d c 0
  1340. d CURL_TIMECOND_IFMODSINCE...
  1341. d c 1
  1342. d CURL_TIMECOND_LASTMOD...
  1343. d c 2
  1344. d CURL_TIMECOND_LAST...
  1345. d c 3
  1346. *
  1347. d CURLSHcode s 10i 0 based(######ptr######) Enum
  1348. d CURLSHE_OK c 0
  1349. d CURLSHE_BAD_OPTION...
  1350. d c 1
  1351. d CURLSHE_IN_USE...
  1352. d c 2
  1353. d CURLSHE_INVALID...
  1354. d c 3
  1355. d CURLSHE_NOMEM...
  1356. d c 4
  1357. d CURLSHE_NOT_BUILT_IN...
  1358. d c 5
  1359. *
  1360. d CURLSHoption...
  1361. d s 10i 0 based(######ptr######) Enum
  1362. d CURLSHOPT_SHARE...
  1363. d c 1
  1364. d CURLSHOPT_UNSHARE...
  1365. d c 2
  1366. d CURLSHOPT_LOCKFUNC...
  1367. d c 3
  1368. d CURLSHOPT_UNLOCKFUNC...
  1369. d c 4
  1370. d CURLSHOPT_USERDATA...
  1371. d c 5
  1372. *
  1373. d CURLversion s 10i 0 based(######ptr######) Enum
  1374. d CURLVERSION_FIRST...
  1375. d c 0
  1376. d CURLVERSION_SECOND...
  1377. d c 1
  1378. d CURLVERSION_THIRD...
  1379. d c 2
  1380. d CURLVERSION_FOURTH...
  1381. d c 3
  1382. d CURLVERSION_NOW...
  1383. d c 3 CURLVERSION_FOURTH
  1384. *
  1385. d curlsocktype s 10i 0 based(######ptr######) Enum
  1386. d CURLSOCKTYPE_IPCXN...
  1387. d c 0
  1388. *
  1389. d CURL_SOCKOPT_OK...
  1390. d c 0
  1391. d CURL_SOCKOPT_ERROR...
  1392. d c 1
  1393. d CURL_SOCKOPT_ALREADY_CONNECTED...
  1394. d c 2
  1395. *
  1396. d CURLMcode s 10i 0 based(######ptr######) Enum
  1397. d CURLM_CALL_MULTI_PERFORM...
  1398. d c -1
  1399. d CURLM_CALL_MULTI_SOCKET...
  1400. d c -1
  1401. d CURLM_OK c 0
  1402. d CURLM_BAD_HANDLE...
  1403. d c 1
  1404. d CURLM_BAD_EASY_HANDLE...
  1405. d c 2
  1406. d CURLM_OUT_OF_MEMORY...
  1407. d c 3
  1408. d CURLM_INTERNAL_ERROR...
  1409. d c 4
  1410. d CURLM_BAD_SOCKET...
  1411. d c 5
  1412. d CURLM_UNKNOWN_OPTION...
  1413. d c 6
  1414. d CURLM_LAST c 7
  1415. *
  1416. d CURLMSG s 10i 0 based(######ptr######) Enum
  1417. d CURLMSG_NONE c 0
  1418. d CURLMSG_DONE c 1
  1419. *
  1420. d CURLMoption s 10i 0 based(######ptr######) Enum
  1421. d CURLMOPT_SOCKETFUNCTION...
  1422. d c 20001
  1423. d CURLMOPT_SOCKETDATA...
  1424. d c 10002
  1425. d CURLMOPT_PIPELINING...
  1426. d c 00003
  1427. d CURLMOPT_TIMERFUNCTION...
  1428. d c 20004
  1429. d CURLMOPT_TIMERDATA...
  1430. d c 10005
  1431. d CURLMOPT_MAXCONNECTS...
  1432. d c 00006
  1433. *
  1434. * Public API enums for RTSP requests.
  1435. *
  1436. d CURLRTSPREQ_NONE...
  1437. d c 0
  1438. d CURL_RTSPREQ_OPTIONS...
  1439. d c 1
  1440. d CURL_RTSPREQ_DESCRIBE...
  1441. d c 2
  1442. d CURL_RTSPREQ_ANNOUNCE...
  1443. d c 3
  1444. d CURL_RTSPREQ_SETUP...
  1445. d c 4
  1446. d CURL_RTSPREQ_PLAY...
  1447. d c 5
  1448. d CURL_RTSPREQ_PAUSE...
  1449. d c 6
  1450. d CURL_RTSPREQ_TEARDOWN...
  1451. d c 7
  1452. d CURL_RTSPREQ_GET_PARAMETER...
  1453. d c 8
  1454. d CURL_RTSPREQ_SET_PARAMETER...
  1455. d c 9
  1456. d CURL_RTSPREQ_RECORD...
  1457. d c 10
  1458. d CURL_RTSPREQ_RECEIVE...
  1459. d c 12
  1460. d CURL_RTSPREQ_LAST...
  1461. d c 13
  1462. *
  1463. * Renaming CURLMsg to CURL_Msg to avoid case-insensivity name clash.
  1464. *
  1465. d CURL_Msg ds based(######ptr######)
  1466. d qualified
  1467. d msg like(CURLMSG)
  1468. d easy_handle * CURL *
  1469. d data *
  1470. d whatever * overlay(data) void *
  1471. d result overlay(data) like(CURLcode)
  1472. *
  1473. d curl_http_post...
  1474. d ds based(######ptr######)
  1475. d qualified
  1476. d next * curl_httppost *
  1477. d name * char *
  1478. d namelength 10i 0 long
  1479. d contents * char *
  1480. d contentslength...
  1481. d 10i 0 long
  1482. d buffer * char *
  1483. d bufferlength...
  1484. d 10i 0 long
  1485. d contenttype * char *
  1486. d contentheader...
  1487. d * curl_slist *
  1488. d more * curl_httppost *
  1489. d flags 10i 0 long
  1490. d showfilename * char *
  1491. d userp * void *
  1492. *
  1493. d curl_sockaddr ds based(######ptr######)
  1494. d qualified
  1495. d family 10i 0
  1496. d socktype 10i 0
  1497. d protocol 10i 0
  1498. d addrlen 10u 0
  1499. d addr 16 struct sockaddr
  1500. *
  1501. d curl_khkey ds based(######ptr######)
  1502. d qualified
  1503. d key * const char *
  1504. d len 10u 0
  1505. d keytype 10i 0
  1506. *
  1507. d CURLKHTYPE_UNKNOWN...
  1508. d c 0
  1509. d CURLKHTYPE_RSA1...
  1510. d c 1
  1511. d CURLKHTYPE_RSA...
  1512. d c 2
  1513. d CURLKHTYPE_DSS...
  1514. d c 3
  1515. *
  1516. d curl_forms ds based(######ptr######)
  1517. d qualified
  1518. d option like(CURLformoption)
  1519. d value * const char *
  1520. d value_ptr * overlay(value)
  1521. d value_procptr...
  1522. d * overlay(value) procptr
  1523. *
  1524. d curl_slist ds based(######ptr######)
  1525. d qualified
  1526. d data * char *
  1527. d next * struct curl_slist *
  1528. *
  1529. d curl_version_info_data...
  1530. d ds based(######ptr######)
  1531. d qualified
  1532. d age like(CURLversion)
  1533. d version * const char *
  1534. d version_num 10u 0
  1535. d host * const char *
  1536. d features 10i 0
  1537. d ssl_version * const char *
  1538. d ssl_version_num...
  1539. d 10i 0 long
  1540. d libz_version * const char *
  1541. d protocols * const char * const *
  1542. d ares * const char *
  1543. d ares_num 10i 0
  1544. d libidn * const char *
  1545. d iconv_ver_num...
  1546. d 10i 0
  1547. d libssh_version...
  1548. d * const char *
  1549. *
  1550. d curl_certinfo ds based(######ptr######)
  1551. d qualified
  1552. d num_of_certs 10i 0
  1553. d certinfo * struct curl_slist **
  1554. *
  1555. d curl_fistrgs ds based(######ptr######)
  1556. d qualified
  1557. d time * char *
  1558. d perm * char *
  1559. d user * char *
  1560. d group * char *
  1561. d target * char *
  1562. *
  1563. d curl_fileinfo ds based(######ptr######)
  1564. d qualified
  1565. d filename * char *
  1566. d filetype like(curlfiletype)
  1567. d time 10i 0 time_t
  1568. d perm 10u 0
  1569. d uid 10i 0
  1570. d gid 10i 0
  1571. d size like(curl_off_t)
  1572. d hardlinks 10i 0
  1573. d strings likeds(curl_fistrgs)
  1574. d flags 10u 0
  1575. d b_data * char *
  1576. d b_size 10u 0 size_t
  1577. d b_used 10u 0 size_t
  1578. *
  1579. d curl_formget_callback...
  1580. d s * based(######ptr######) procptr
  1581. *
  1582. d curl_malloc_callback...
  1583. d s * based(######ptr######) procptr
  1584. *
  1585. d curl_free_callback...
  1586. d s * based(######ptr######) procptr
  1587. *
  1588. d curl_realloc_callback...
  1589. d s * based(######ptr######) procptr
  1590. *
  1591. d curl_strdup_callback...
  1592. d s * based(######ptr######) procptr
  1593. *
  1594. d curl_calloc_callback...
  1595. d s * based(######ptr######) procptr
  1596. *
  1597. d curl_lock_function...
  1598. d s * based(######ptr######) procptr
  1599. *
  1600. d curl_unlock_function...
  1601. d s * based(######ptr######) procptr
  1602. *
  1603. d curl_progress_callback...
  1604. d s * based(######ptr######) procptr
  1605. *
  1606. d curl_read_callback...
  1607. d s * based(######ptr######) procptr
  1608. *
  1609. d curl_write_callback...
  1610. d s * based(######ptr######) procptr
  1611. *
  1612. d curl_seek_callback...
  1613. d s * based(######ptr######) procptr
  1614. *
  1615. d curl_sockopt_callback...
  1616. d s * based(######ptr######) procptr
  1617. *
  1618. d curl_ioctl_callback...
  1619. d s * based(######ptr######) procptr
  1620. *
  1621. d curl_debug_callback...
  1622. d s * based(######ptr######) procptr
  1623. *
  1624. d curl_conv_callback...
  1625. d s * based(######ptr######) procptr
  1626. *
  1627. d curl_ssl_ctx_callback...
  1628. d s * based(######ptr######) procptr
  1629. *
  1630. d curl_socket_callback...
  1631. d s * based(######ptr######) procptr
  1632. *
  1633. d curl_opensocket_callback...
  1634. d s * based(######ptr######) procptr
  1635. *
  1636. d curl_sshkeycallback...
  1637. d s * based(######ptr######) procptr
  1638. *
  1639. d curl_chunk_bgn_callback...
  1640. d s * based(######ptr######) procptr
  1641. *
  1642. d curl_chunk_end_callback...
  1643. d s * based(######ptr######) procptr
  1644. *
  1645. d curl_fnmatch_callback...
  1646. d s * based(######ptr######) procptr
  1647. *
  1648. d curl_closesocket_callback...
  1649. d s * based(######ptr######) procptr
  1650. *
  1651. **************************************************************************
  1652. * Prototypes
  1653. **************************************************************************
  1654. *
  1655. * This procedure as a variable parameter list.
  1656. * This prototype allows use of an option array, or a single "object"
  1657. * option. Other argument lists may be implemented by alias procedure
  1658. * prototype definitions.
  1659. *
  1660. d curl_formadd pr extproc('curl_formadd')
  1661. d like(CURLFORMcode)
  1662. d httppost * curl_httppost *
  1663. d lastpost * curl_httppost *
  1664. d option1 value like(CURLFORMoption) CURLFORM_ARRAY
  1665. d options(*nopass)
  1666. d object1 * value options(*string: *nopass)
  1667. d option2 value like(CURLFORMoption) CURLFORM_END
  1668. d options(*nopass)
  1669. *
  1670. *
  1671. d curl_strequal pr 10i 0 extproc('curl_strequal')
  1672. d s1 * value options(*string)
  1673. d s2 * value options(*string)
  1674. *
  1675. d curl_strnequal pr 10i 0 extproc('curl_strnequal')
  1676. d s1 * value options(*string)
  1677. d s2 * value options(*string)
  1678. d n 10u 0 value
  1679. *
  1680. d curl_formget pr 10i 0 extproc('curl_formget')
  1681. d form * value curl_httppost *
  1682. d arg * value
  1683. d append value like(curl_formget_callback)
  1684. *
  1685. d curl_formfree pr extproc('curl_formfree')
  1686. d form * value curl_httppost *
  1687. *
  1688. d curl_getenv pr * extproc('curl_getenv')
  1689. d variable * value options(*string)
  1690. *
  1691. d curl_version pr * extproc('curl_version')
  1692. *
  1693. d curl_easy_escape...
  1694. d pr * extproc('curl_easy_escape') char *
  1695. d handle * value CURL *
  1696. d string * value options(*string)
  1697. d length 10i 0 value
  1698. *
  1699. d curl_escape pr * extproc('curl_escape') char *
  1700. d string * value options(*string)
  1701. d length 10i 0 value
  1702. *
  1703. d curl_easy_unescape...
  1704. d pr * extproc('curl_easy_unescape') char *
  1705. d handle * value CURL *
  1706. d string * value options(*string)
  1707. d length 10i 0 value
  1708. d outlength 10i 0 options(*omit)
  1709. *
  1710. d curl_unescape pr * extproc('curl_unescape') char *
  1711. d string * value options(*string)
  1712. d length 10i 0 value
  1713. *
  1714. d curl_free pr extproc('curl_free')
  1715. d p * value
  1716. *
  1717. d curl_global_init...
  1718. d pr extproc('curl_global_init')
  1719. d like(CURLcode)
  1720. d flags 10i 0 value
  1721. *
  1722. d curl_global_init_mem...
  1723. d pr extproc('curl_global_init_mem')
  1724. d like(CURLcode)
  1725. d m value like(curl_malloc_callback)
  1726. d f value like(curl_free_callback)
  1727. d r value like(curl_realloc_callback)
  1728. d s value like(curl_strdup_callback)
  1729. d c value like(curl_calloc_callback)
  1730. *
  1731. d curl_global_cleanup...
  1732. d pr extproc('curl_global_cleanup')
  1733. *
  1734. d curl_slist_append...
  1735. d pr * extproc('curl_slist_append') struct curl_slist *
  1736. d list * value struct curl_slist *
  1737. d data * value options(*string) const char *
  1738. *
  1739. d curl_slist_free_all...
  1740. d pr extproc('curl_slist_free_all')
  1741. d list * value struct curl_slist *
  1742. *
  1743. d curl_getdate pr 10i 0 extproc('curl_getdate') time_t
  1744. d p * value options(*string) const char *
  1745. d unused 10i 0 const options(*omit) time_t
  1746. *
  1747. d curl_share_init...
  1748. d pr * extproc('curl_share_init') CURLSH * (= void *)
  1749. *
  1750. * Variable argument type procedure.
  1751. * Multiply prototyped to support all possible types.
  1752. *
  1753. d curl_share_setopt_int...
  1754. d pr extproc('curl_share_setopt')
  1755. d like(CURLSHcode)
  1756. d share * value CURLSH * (= void *)
  1757. d option value like(CURLSHoption)
  1758. d intarg 10i 0 value options(*nopass)
  1759. *
  1760. d curl_share_setopt_ptr...
  1761. d pr extproc('curl_share_setopt')
  1762. d like(CURLSHcode)
  1763. d share * value CURLSH * (= void *)
  1764. d option value like(CURLSHoption)
  1765. d ptrarg * value options(*nopass)
  1766. *
  1767. d curl_share_setopt_proc...
  1768. d pr extproc('curl_share_setopt')
  1769. d like(CURLSHcode)
  1770. d share * value CURLSH * (= void *)
  1771. d option value like(CURLSHoption)
  1772. d procarg * value procptr options(*nopass)
  1773. *
  1774. d curl_share_cleanup...
  1775. d pr extproc('curl_share_cleanup')
  1776. d like(CURLSHcode)
  1777. d share * value CURLSH * (= void *)
  1778. *
  1779. d curl_version_info...
  1780. d pr * extproc('curl_version_info') c_i_version_data *
  1781. d version value like(CURLversion)
  1782. *
  1783. d curl_easy_strerror...
  1784. d pr * extproc('curl_easy_strerror') const char *
  1785. d code value like(CURLcode)
  1786. *
  1787. d curl_share_strerror...
  1788. d pr * extproc('curl_share_strerror') const char *
  1789. d code value like(CURLSHcode)
  1790. *
  1791. d curl_easy_init pr * extproc('curl_easy_init') CURL *
  1792. *
  1793. * Multiple prototypes for vararg procedure curl_easy_setopt.
  1794. *
  1795. d curl_easy_setopt_long...
  1796. d pr extproc('curl_easy_setopt')
  1797. d like(CURLcode)
  1798. d curl * value CURL *
  1799. d option value like(CURLoption)
  1800. d longarg 10i 0 value options(*nopass)
  1801. *
  1802. d curl_easy_setopt_object...
  1803. d pr extproc('curl_easy_setopt')
  1804. d like(CURLcode)
  1805. d curl * value CURL *
  1806. d option value like(CURLoption)
  1807. d objectarg * value options(*string: *nopass)
  1808. *
  1809. d curl_easy_setopt_function...
  1810. d pr extproc('curl_easy_setopt')
  1811. d like(CURLcode)
  1812. d curl * value CURL *
  1813. d option value like(CURLoption)
  1814. d functionarg * value procptr options(*nopass)
  1815. *
  1816. d curl_easy_setopt_offset...
  1817. d pr extproc('curl_easy_setopt')
  1818. d like(CURLcode)
  1819. d curl * value CURL *
  1820. d option value like(CURLoption)
  1821. d offsetarg value like(curl_off_t)
  1822. d options(*nopass)
  1823. *
  1824. *
  1825. d curl_easy_perform...
  1826. d pr extproc('curl_easy_perform')
  1827. d like(CURLcode)
  1828. d curl * value CURL *
  1829. *
  1830. d curl_easy_cleanup...
  1831. d pr extproc('curl_easy_cleanup')
  1832. d curl * value CURL *
  1833. *
  1834. * Multiple prototypes for vararg procedure curl_easy_getinfo.
  1835. *
  1836. d curl_easy_getinfo_string...
  1837. d pr extproc('curl_easy_getinfo')
  1838. d like(CURLcode)
  1839. d curl * value CURL *
  1840. d info value like(CURLINFO)
  1841. d stringarg * options(*nopass) char *
  1842. *
  1843. d curl_easy_getinfo_long...
  1844. d pr extproc('curl_easy_getinfo')
  1845. d like(CURLcode)
  1846. d curl * value CURL *
  1847. d info value like(CURLINFO)
  1848. d longarg 10i 0 options(*nopass)
  1849. *
  1850. d curl_easy_getinfo_double...
  1851. d pr extproc('curl_easy_getinfo')
  1852. d like(CURLcode)
  1853. d curl * value CURL *
  1854. d info value like(CURLINFO)
  1855. d doublearg 8f options(*nopass)
  1856. *
  1857. d curl_easy_getinfo_slist...
  1858. d pr extproc('curl_easy_getinfo')
  1859. d like(CURLcode)
  1860. d curl * value CURL *
  1861. d info value like(CURLINFO)
  1862. d slistarg * options(*nopass) struct curl_slist *
  1863. *
  1864. *
  1865. d curl_easy_duphandle...
  1866. d pr * extproc('curl_easy_duphandle') CURL *
  1867. d curl * value CURL *
  1868. *
  1869. d curl_easy_reset...
  1870. d pr extproc('curl_easy_reset')
  1871. d curl * value CURL *
  1872. *
  1873. d curl_easy_recv...
  1874. d pr extproc('curl_easy_recv')
  1875. d like(CURLcode)
  1876. d curl * value CURL *
  1877. d buffer * value void *
  1878. d buflen 10u 0 value size_t
  1879. d n 10u 0 size_t *
  1880. *
  1881. d curl_easy_send...
  1882. d pr extproc('curl_easy_send')
  1883. d like(CURLcode)
  1884. d curl * value CURL *
  1885. d buffer * value const void *
  1886. d buflen 10u 0 value size_t
  1887. d n 10u 0 size_t *
  1888. *
  1889. d curl_easy_pause...
  1890. d pr extproc('curl_easy_pause')
  1891. d curl * value CURL *
  1892. d bitmask 10i 0 value
  1893. *
  1894. d curl_multi_init...
  1895. d pr * extproc('curl_multi_init') CURLM *
  1896. *
  1897. d curl_multi_add_handle...
  1898. d pr extproc('curl_multi_add_handle')
  1899. d like(CURLMcode)
  1900. d multi_handle * value CURLM *
  1901. d curl_handle * value CURL *
  1902. *
  1903. d curl_multi_remove_handle...
  1904. d pr extproc('curl_multi_remove_handle')
  1905. d like(CURLMcode)
  1906. d multi_handle * value CURLM *
  1907. d curl_handle * value CURL *
  1908. *
  1909. d curl_multi_fdset...
  1910. d pr extproc('curl_multi_fdset')
  1911. d like(CURLMcode)
  1912. d multi_handle * value CURLM *
  1913. d read_fd_set 65535 options(*varsize) fd_set
  1914. d write_fd_set 65535 options(*varsize) fd_set
  1915. d exc_fd_set 65535 options(*varsize) fd_set
  1916. d max_fd 10i 0
  1917. *
  1918. d curl_multi_perform...
  1919. d pr extproc('curl_multi_perform')
  1920. d like(CURLMcode)
  1921. d multi_handle * value CURLM *
  1922. d running_handles...
  1923. d 10i 0
  1924. *
  1925. d curl_multi_cleanup...
  1926. d pr extproc('curl_multi_cleanup')
  1927. d like(CURLMcode)
  1928. d multi_handle * value CURLM *
  1929. *
  1930. d curl_multi_info_read...
  1931. d pr * extproc('curl_multi_info_read') CURL_Msg *
  1932. d multi_handle * value CURLM *
  1933. d msgs_in_queue 10i 0
  1934. *
  1935. d curl_multi_strerror...
  1936. d pr * extproc('curl_multi_strerror') char *
  1937. d code value like(CURLMcode)
  1938. *
  1939. d curl_multi_socket...
  1940. d pr extproc('curl_multi_socket')
  1941. d like(CURLMcode)
  1942. d multi_handle * value CURLM *
  1943. d s value like(curl_socket_t)
  1944. d running_handles...
  1945. d 10i 0
  1946. *
  1947. d curl_multi_socket_action...
  1948. d pr extproc('curl_multi_socket_action')
  1949. d like(CURLMcode)
  1950. d multi_handle * value CURLM *
  1951. d s value like(curl_socket_t)
  1952. d ev_bitmask 10i 0 value
  1953. d running_handles...
  1954. d 10i 0
  1955. *
  1956. d curl_multi_socket_all...
  1957. d pr extproc('curl_multi_socket_all')
  1958. d like(CURLMcode)
  1959. d multi_handle * value CURLM *
  1960. d running_handles...
  1961. d 10i 0
  1962. *
  1963. d curl_multi_timeout...
  1964. d pr extproc('curl_multi_timeout')
  1965. d like(CURLMcode)
  1966. d multi_handle * value CURLM *
  1967. d milliseconds 10i 0
  1968. *
  1969. * Multiple prototypes for vararg procedure curl_multi_setopt.
  1970. *
  1971. d curl_multi_setopt_long...
  1972. d pr extproc('curl_multi_setopt')
  1973. d like(CURLMcode)
  1974. d multi_handle * value CURLM *
  1975. d option value like(CURLMoption)
  1976. d longarg 10i 0 value options(*nopass)
  1977. *
  1978. d curl_multi_setopt_object...
  1979. d pr extproc('curl_multi_setopt')
  1980. d like(CURLMcode)
  1981. d multi_handle * value CURLM *
  1982. d option value like(CURLMoption)
  1983. d objectarg * value options(*string: *nopass)
  1984. *
  1985. d curl_multi_setopt_function...
  1986. d pr extproc('curl_multi_setopt')
  1987. d like(CURLMcode)
  1988. d multi_handle * value CURLM *
  1989. d option value like(CURLMoption)
  1990. d functionarg * value procptr options(*nopass)
  1991. *
  1992. d curl_multi_setopt_offset...
  1993. d pr extproc('curl_multi_setopt')
  1994. d like(CURLMcode)
  1995. d multi_handle * value CURLM *
  1996. d option value like(CURLMoption)
  1997. d offsetarg value like(curl_off_t)
  1998. d options(*nopass)
  1999. *
  2000. *
  2001. d curl_multi_assign...
  2002. d pr extproc('curl_multi_assign')
  2003. d like(CURLMcode)
  2004. d multi_handle * value CURLM *
  2005. d sockfd value like(curl_socket_t)
  2006. d sockp * value void *
  2007. *
  2008. **************************************************************************
  2009. * CCSID wrapper procedure prototypes
  2010. **************************************************************************
  2011. *
  2012. d curl_version_ccsid...
  2013. d pr * extproc('curl_version_ccsid')
  2014. d ccsid 10u 0 value
  2015. *
  2016. d curl_easy_escape_ccsid...
  2017. d pr * extproc('curl_easy_escape_ccsid') char *
  2018. d handle * value CURL *
  2019. d string * value options(*string)
  2020. d length 10i 0 value
  2021. d ccsid 10u 0 value
  2022. *
  2023. d curl_easy_unescape_ccsid...
  2024. d pr * extproc('curl_easy_unescape_ccsid') char *
  2025. d handle * value CURL *
  2026. d string * value options(*string)
  2027. d length 10i 0 value
  2028. d outlength 10i 0 options(*omit)
  2029. d ccsid 10u 0 value
  2030. *
  2031. d curl_slist_append_ccsid...
  2032. d pr * extproc('curl_slist_append_ccsid') struct curl_slist *
  2033. d list * value struct curl_slist *
  2034. d data * value options(*string) const char *
  2035. d ccsid 10u 0 value
  2036. *
  2037. d curl_getdate_ccsid...
  2038. d pr 10i 0 extproc('curl_getdate_ccsid') time_t
  2039. d p * value options(*string) const char *
  2040. d unused 10i 0 const options(*omit) time_t
  2041. d ccsid 10u 0 value
  2042. *
  2043. d curl_version_info_ccsid...
  2044. d pr * extproc('curl_version_info_ccsid') c_i_version_data *
  2045. d version value like(CURLversion)
  2046. d ccsid 10u 0 value
  2047. *
  2048. d curl_easy_strerror_ccsid...
  2049. d pr * extproc('curl_easy_strerror_ccsid') const char *
  2050. d code value like(CURLcode)
  2051. d ccsid 10u 0 value
  2052. *
  2053. d curl_share_strerror_ccsid...
  2054. d pr * extproc('curl_share_strerror_ccsid') const char *
  2055. d code value like(CURLSHcode)
  2056. d ccsid 10u 0 value
  2057. *
  2058. d curl_multi_strerror_ccsid...
  2059. d pr * extproc('curl_multi_strerror_ccsid') char *
  2060. d code value like(CURLMcode)
  2061. d ccsid 10u 0 value
  2062. *
  2063. d curl_easy_getinfo_ccsid...
  2064. d pr extproc('curl_easy_getinfo_ccsid')
  2065. d like(CURLcode)
  2066. d curl * value CURL *
  2067. d info value like(CURLINFO)
  2068. d stringarg * options(*nopass) char *
  2069. d ccsid 10u 0 value options(*nopass)
  2070. *
  2071. d curl_formadd_ccsid...
  2072. d pr extproc('curl_formadd_ccsid')
  2073. d like(CURLFORMcode)
  2074. d httppost * curl_httppost *
  2075. d lastpost * curl_httppost *
  2076. d option1 value like(CURLFORMoption) CURLFORM_ARRAY
  2077. d options(*nopass)
  2078. d object1 * value options(*string: *nopass)
  2079. d option2 value like(CURLFORMoption) CURLFORM_END
  2080. d options(*nopass)
  2081. *
  2082. d curl_formget_ccsid...
  2083. d pr 10i 0 extproc('curl_formget_ccsid')
  2084. d form * value curl_httppost *
  2085. d arg * value
  2086. d append value like(curl_formget_callback)
  2087. d ccsid 10u 0 value
  2088. *
  2089. d curl_form_long_value...
  2090. d pr * extproc('curl_form_long_value')
  2091. d value 10i 0 value curl_httppost *
  2092. *
  2093. d curl_easy_setopt_ccsid...
  2094. d pr extproc('curl_easy_setopt_ccsid')
  2095. d like(CURLcode)
  2096. d curl * value CURL *
  2097. d option value like(CURLoption)
  2098. d objectarg * value options(*string: *nopass)
  2099. d ccsid 10u 0 value options(*nopass)
  2100. *
  2101. /endif