mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
471 lines
77 KiB
HTML
471 lines
77 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/Code/wut2/include/curl/multi.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">wut
|
|
 <span id="projectnumber">1.0.0-beta9</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_d74097cd299de96a8b672354d9824a8f.html">curl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">multi.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="multi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef __CURL_MULTI_H</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define __CURL_MULTI_H</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/***************************************************************************</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * _ _ ____ _</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Project ___| | | | _ \| |</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * / __| | | | |_) | |</span></div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * | (__| |_| | _ <| |___</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * \___|\___/|_| \_\_____|</span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * This software is licensed as described in the file COPYING, which</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * you should have received as part of this distribution. The terms</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * are also available at http://curl.haxx.se/docs/copyright.html.</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You may opt to use, copy, modify, merge, publish, distribute and/or sell</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * copies of the Software, and permit persons to whom the Software is</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * furnished to do so, under the terms of the COPYING file.</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * KIND, either express or implied.</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> ***************************************************************************/</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> This is an "external" header file. Don't give away any internals here!</span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> GOALS</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> o Enable a "pull" interface. The application that uses libcurl decides where</span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> and when to ask libcurl to get/send data.</span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> o Enable multiple simultaneous transfers in the same thread without making it</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> complicated for the application.</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> o Enable the application to select() on its own file descriptors and curl's</span></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> file descriptors simultaneous easily.</span></div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * This header file should not really need to include "curl.h" since curl.h</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * itself includes this file and we expect user applications to do #include</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> * <curl/curl.h> without the need for especially including multi.h.</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * For some reason we added this include here at one point, and rather than to</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * break existing (wrongly written) libcurl applications, we leave it as-is</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * but with this warning attached.</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#include "<a class="code" href="curl_8h.html">curl.h</a>"</span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036"> 55</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a>;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3"> 57</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ada965a9b89eeb3b2f3a012edaa3acdd6"> 58</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ada965a9b89eeb3b2f3a012edaa3acdd6">CURLM_CALL_MULTI_PERFORM</a> = -1, <span class="comment">/* please call curl_multi_perform() or</span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> curl_multi_socket*() soon */</span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ae3b5d27fd8dc9cff7a60772cf90cf9d6"> 60</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ae3b5d27fd8dc9cff7a60772cf90cf9d6">CURLM_OK</a>,</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a8876b8ad10b9b2e9ee4cfb22034803ed"> 61</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a8876b8ad10b9b2e9ee4cfb22034803ed">CURLM_BAD_HANDLE</a>, <span class="comment">/* the passed-in handle is not a valid CURLM handle */</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3af6c791401114f6d764dbb8209838ba31"> 62</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3af6c791401114f6d764dbb8209838ba31">CURLM_BAD_EASY_HANDLE</a>, <span class="comment">/* an easy handle was not good/valid */</span></div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a323be072bc47b2a7ff1d3fc4533e8f70"> 63</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a323be072bc47b2a7ff1d3fc4533e8f70">CURLM_OUT_OF_MEMORY</a>, <span class="comment">/* if you ever get this, you're in deep sh*t */</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a53d037bdcf6900341e9f83efbf14b1d1"> 64</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a53d037bdcf6900341e9f83efbf14b1d1">CURLM_INTERNAL_ERROR</a>, <span class="comment">/* this is a libcurl bug */</span></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a13188cf491bdb9a8f77a5bed6365c34c"> 65</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a13188cf491bdb9a8f77a5bed6365c34c">CURLM_BAD_SOCKET</a>, <span class="comment">/* the passed in socket argument did not match */</span></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3afeaa68ddf000332d41ce915f8658cf4c"> 66</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3afeaa68ddf000332d41ce915f8658cf4c">CURLM_UNKNOWN_OPTION</a>, <span class="comment">/* curl_multi_setopt() with unsupported option */</span></div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3adf229fdf86c1ea54a8138f0bf702d3e6"> 67</a></span>  <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3adf229fdf86c1ea54a8138f0bf702d3e6">CURLM_LAST</a></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> } <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a>;</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">/* just to make code nicer when using curl_multi_socket() you can now check</span></div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> for CURLM_CALL_MULTI_SOCKET too in the same style it works for</span></div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> curl_multi_perform() and CURLM_CALL_MULTI_PERFORM */</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="multi_8h.html#ae3d9fff8157632b92a0c1830fd8358fd"> 73</a></span> <span class="preprocessor">#define CURLM_CALL_MULTI_SOCKET CURLM_CALL_MULTI_PERFORM</span></div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154"> 75</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154ae3b4bbc61ade639e930424147049e4e5"> 76</a></span>  <a class="code" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154ae3b4bbc61ade639e930424147049e4e5">CURLMSG_NONE</a>, <span class="comment">/* first, not used */</span></div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a374efd706ae91c3321d6360be3c398b7"> 77</a></span>  <a class="code" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a374efd706ae91c3321d6360be3c398b7">CURLMSG_DONE</a>, <span class="comment">/* This easy handle has completed. 'result' contains</span></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> the CURLcode of the transfer */</span></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a57d9664397bd951b89bf317b7f4721ec"> 79</a></span>  <a class="code" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a57d9664397bd951b89bf317b7f4721ec">CURLMSG_LAST</a> <span class="comment">/* last, not used */</span></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> } <a class="code" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154">CURLMSG</a>;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="multi_8h.html"> 82</a></span> <span class="keyword">struct </span><a class="code" href="multi_8h.html#structCURLMsg">CURLMsg</a> {</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="multi_8h.html#ab6671c39e641443bbcc384008275ed66"> 83</a></span>  <a class="code" href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154">CURLMSG</a> <a class="code" href="multi_8h.html#ab6671c39e641443bbcc384008275ed66">msg</a>; <span class="comment">/* what this message means */</span></div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="multi_8h.html#a5000cbf12257367f7ae2773a26ff4483"> 84</a></span>  <a class="code" href="curl_8h.html#ace655e3633b6533591283994d6b5cdda">CURL</a> *<a class="code" href="multi_8h.html#a5000cbf12257367f7ae2773a26ff4483">easy_handle</a>; <span class="comment">/* the handle it concerns */</span></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="multi_8h.html"> 85</a></span>  <span class="keyword">union </span>{</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> *whatever; <span class="comment">/* message-specific data */</span></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="curl_8h.html#af0691941698240652e0a391394217951">CURLcode</a> result; <span class="comment">/* return code for transfer */</span></div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  } <a class="code" href="multi_8h.html#a94f56ca9c48dd836495262357f3d4d33">data</a>;</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> };</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="multi_8h.html#a091e73d065f7b286cb86ad6867e6f88b"> 90</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="multi_8h.html#structCURLMsg">CURLMsg</a> <a class="code" href="multi_8h.html#structCURLMsg">CURLMsg</a>;</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> * Name: curl_multi_init()</span></div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"> * Desc: inititalize multi-style curl usage</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> * Returns: a new CURLM handle to use in all 'curl_multi' functions.</span></div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *<a class="code" href="multi_8h.html#aa4fdb200d982ea646f6a647466a67334">curl_multi_init</a>(<span class="keywordtype">void</span>);</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> * Name: curl_multi_add_handle()</span></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * Desc: add a standard curl handle to the multi stack</span></div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> * Returns: CURLMcode type, general multi error code.</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#a85754cc6a7c820735e0fac1ebac7493d">curl_multi_add_handle</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="curl_8h.html#ace655e3633b6533591283994d6b5cdda">CURL</a> *curl_handle);</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment"> * Name: curl_multi_remove_handle()</span></div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment"> * Desc: removes a curl handle from the multi stack again</span></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> * Returns: CURLMcode type, general multi error code.</span></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#abd5c8bf83688f15099b512846f6efc5a">curl_multi_remove_handle</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="curl_8h.html#ace655e3633b6533591283994d6b5cdda">CURL</a> *curl_handle);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment"> * Name: curl_multi_fdset()</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"> * Desc: Ask curl for its fd_set sets. The app can use these to select() or</span></div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment"> * poll() on. We want curl_multi_perform() called as soon as one of</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> * them are ready.</span></div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> * Returns: CURLMcode type, general multi error code.</span></div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#a84ad2ebd58c824fb208616bb160ca0c6">curl_multi_fdset</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  fd_set *read_fd_set,</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  fd_set *write_fd_set,</div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  fd_set *exc_fd_set,</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordtype">int</span> *max_fd);</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> * Name: curl_multi_perform()</span></div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> * Desc: When the app thinks there's data available for curl it calls this</span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> * function to read/write whatever there is right now. This returns</span></div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"> * as soon as the reads and writes are done. This function does not</span></div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> * require that there actually is data available for reading or that</span></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> * data can be written, it can be called just in case. It returns</span></div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> * the number of handles that still transfer data in the second</span></div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * argument's integer-pointer.</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"> * Returns: CURLMcode type, general multi error code. *NOTE* that this only</span></div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> * returns errors etc regarding the whole multi stack. There might</span></div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> * still have occurred problems on invidual transfers even when this</span></div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> * returns OK.</span></div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#a5323c6aff8b4eebc7fed8cf126a46241">curl_multi_perform</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordtype">int</span> *running_handles);</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> * Name: curl_multi_cleanup()</span></div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> * Desc: Cleans up and removes a whole multi stack. It does not free or</span></div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> * touch any individual easy handles in any way. We need to define</span></div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * in what state those handles will be if this function is called</span></div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> * in the middle of a transfer.</span></div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> * Returns: CURLMcode type, general multi error code.</span></div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#a05ea44148f8932f7d99ef0487ddf7003">curl_multi_cleanup</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle);</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> * Name: curl_multi_info_read()</span></div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> * Desc: Ask the multi handle if there's any messages/informationals from</span></div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"> * the individual transfers. Messages include informationals such as</span></div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> * error code from the transfer or just the fact that a transfer is</span></div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> * completed. More details on these should be written down as well.</span></div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> * Repeated calls to this function will return a new struct each</span></div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * time, until a special "end of msgs" struct is returned as a signal</span></div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> * that there is no more to get at this point.</span></div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> * The data the returned pointer points to will not survive calling</span></div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> * curl_multi_cleanup().</span></div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> * The 'CURLMsg' struct is meant to be very simple and only contain</span></div>
|
|
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> * very basic informations. If more involved information is wanted,</span></div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> * we will provide the particular "transfer handle" in that struct</span></div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> * and that should/could/would be used in subsequent</span></div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"> * curl_easy_getinfo() calls (or similar). The point being that we</span></div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="comment"> * must never expose complex structs to applications, as then we'll</span></div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> * undoubtably get backwards compatibility problems in the future.</span></div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment"> * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out</span></div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment"> * of structs. It also writes the number of messages left in the</span></div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment"> * queue (after this read) in the integer the second argument points</span></div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment"> * to.</span></div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#structCURLMsg">CURLMsg</a> *<a class="code" href="multi_8h.html#a1f6f814aa6eeacdd87ea0858a80121f9">curl_multi_info_read</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordtype">int</span> *msgs_in_queue);</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Name: curl_multi_strerror()</span></div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> * Desc: The curl_multi_strerror function may be used to turn a CURLMcode</span></div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment"> * value into the equivalent human readable error string. This is</span></div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"> * useful for printing meaningful error messages.</span></div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> * Returns: A pointer to a zero-terminated error message.</span></div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="multi_8h.html#a97fae90ef5f595f06eb53d139e202503">curl_multi_strerror</a>(<a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a>);</div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> * Name: curl_multi_socket() and</span></div>
|
|
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="comment"> * curl_multi_socket_all()</span></div>
|
|
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> * Desc: An alternative version of curl_multi_perform() that allows the</span></div>
|
|
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> * application to pass in one of the file descriptors that have been</span></div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment"> * detected to have "action" on them and let libcurl perform.</span></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment"> * See man page for details.</span></div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="multi_8h.html#a6e92732986b0f84850cb41ce08f3deb6"> 218</a></span> <span class="preprocessor">#define CURL_POLL_NONE 0</span></div>
|
|
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="multi_8h.html#ae6c11d08c009204cdad567e762fa1716"> 219</a></span> <span class="preprocessor">#define CURL_POLL_IN 1</span></div>
|
|
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="multi_8h.html#a062838fbdac95bf37a1c6b3b415f49a9"> 220</a></span> <span class="preprocessor">#define CURL_POLL_OUT 2</span></div>
|
|
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="multi_8h.html#a42f17d6506e3702b77136084e4d77ea4"> 221</a></span> <span class="preprocessor">#define CURL_POLL_INOUT 3</span></div>
|
|
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="multi_8h.html#a88902618f461310d6654409444b53e86"> 222</a></span> <span class="preprocessor">#define CURL_POLL_REMOVE 4</span></div>
|
|
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
|
|
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="multi_8h.html#afea9c23cde7dbbc5aae300dcef4a1523"> 224</a></span> <span class="preprocessor">#define CURL_SOCKET_TIMEOUT CURL_SOCKET_BAD</span></div>
|
|
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="multi_8h.html#ac9841bc853b2a1874c9b5528b2ad3e5b"> 226</a></span> <span class="preprocessor">#define CURL_CSELECT_IN 0x01</span></div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="multi_8h.html#a11b8f4342e1cd64f59b37eda075627a6"> 227</a></span> <span class="preprocessor">#define CURL_CSELECT_OUT 0x02</span></div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="multi_8h.html#ac2f6404b4a34b0b43b61315b3c214912"> 228</a></span> <span class="preprocessor">#define CURL_CSELECT_ERR 0x04</span></div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
|
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="multi_8h.html#a65ca5de50d101fb96d6f58a5fea6241d"> 230</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="multi_8h.html#a65ca5de50d101fb96d6f58a5fea6241d">curl_socket_callback</a>)(<a class="code" href="curl_8h.html#ace655e3633b6533591283994d6b5cdda">CURL</a> *easy, <span class="comment">/* easy handle */</span></div>
|
|
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="curl_8h.html#adb5a46d02359d2379dc7e0904c987828">curl_socket_t</a> s, <span class="comment">/* socket */</span></div>
|
|
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">int</span> what, <span class="comment">/* see above */</span></div>
|
|
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keywordtype">void</span> *userp, <span class="comment">/* private callback</span></div>
|
|
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment"> pointer */</span></div>
|
|
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">void</span> *socketp); <span class="comment">/* private socket</span></div>
|
|
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> pointer */</span></div>
|
|
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="comment"> * Name: curl_multi_timer_callback</span></div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment"> * Desc: Called by libcurl whenever the library detects a change in the</span></div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"> * maximum number of milliseconds the app is allowed to wait before</span></div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * curl_multi_socket() or curl_multi_perform() must be called</span></div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"> * (to allow libcurl's timed events to take place).</span></div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"> * Returns: The callback should return zero.</span></div>
|
|
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="multi_8h.html#a18a7e76c1666503b960dfdfa3cf9843f"> 247</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="multi_8h.html#a18a7e76c1666503b960dfdfa3cf9843f">curl_multi_timer_callback</a>)(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi, <span class="comment">/* multi handle */</span></div>
|
|
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">long</span> timeout_ms, <span class="comment">/* see above */</span></div>
|
|
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">void</span> *userp); <span class="comment">/* private callback</span></div>
|
|
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> pointer */</span></div>
|
|
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
|
|
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#aad2178147cea07493eba9b4da3fb27df">curl_multi_socket</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle, <a class="code" href="curl_8h.html#adb5a46d02359d2379dc7e0904c987828">curl_socket_t</a> s,</div>
|
|
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordtype">int</span> *running_handles);</div>
|
|
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#a4dd175dae1779c2984f366deffcc99cf">curl_multi_socket_action</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <a class="code" href="curl_8h.html#adb5a46d02359d2379dc7e0904c987828">curl_socket_t</a> s,</div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordtype">int</span> ev_bitmask,</div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordtype">int</span> *running_handles);</div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#ae92d485b1eed94558d582346ae06f00f">curl_multi_socket_all</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">int</span> *running_handles);</div>
|
|
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
|
|
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="preprocessor">#ifndef CURL_ALLOW_OLD_MULTI_SOCKET</span></div>
|
|
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment">/* This macro below was added in 7.16.3 to push users who recompile to use</span></div>
|
|
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"> the new curl_multi_socket_action() instead of the old curl_multi_socket()</span></div>
|
|
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="multi_8h.html#aad2178147cea07493eba9b4da3fb27df"> 267</a></span> <span class="preprocessor">#define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)</span></div>
|
|
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
|
|
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"> * Name: curl_multi_timeout()</span></div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="comment"> * Desc: Returns the maximum number of milliseconds the app is allowed to</span></div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="comment"> * wait before curl_multi_socket() or curl_multi_perform() must be</span></div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment"> * called (to allow libcurl's timed events to take place).</span></div>
|
|
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment"> * Returns: CURLM error code.</span></div>
|
|
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#aa27e7a4077145833babecc78f88f8feb">curl_multi_timeout</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">long</span> *milliseconds);</div>
|
|
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  </div>
|
|
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="preprocessor">#undef CINIT </span><span class="comment">/* re-using the same name as in curl.h */</span><span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  </div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="preprocessor">#ifdef CURL_ISOCPP</span></div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e"> 285</a></span> <span class="preprocessor">#define CINIT(name,type,num) CURLMOPT_ ## name = CURLOPTTYPE_ ## type + num</span></div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="preprocessor">#else</span></div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment">/* The macro "##" is ISO C, we assume pre-ISO C doesn't support it. */</span></div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="preprocessor">#define LONG CURLOPTTYPE_LONG</span></div>
|
|
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="preprocessor">#define OBJECTPOINT CURLOPTTYPE_OBJECTPOINT</span></div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="preprocessor">#define FUNCTIONPOINT CURLOPTTYPE_FUNCTIONPOINT</span></div>
|
|
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="preprocessor">#define OFF_T CURLOPTTYPE_OFF_T</span></div>
|
|
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor">#define CINIT(name,type,number) CURLMOPT_name = type + number</span></div>
|
|
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div>
|
|
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5"> 295</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
|
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="comment">/* This is the socket callback function pointer */</span></div>
|
|
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5ac9eadb73d1bc8f8935343cafb92b211b"> 297</a></span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(SOCKETFUNCTION, FUNCTIONPOINT, 1),</div>
|
|
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  </div>
|
|
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="comment">/* This is the argument passed to the socket callback */</span></div>
|
|
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(SOCKETDATA, OBJECTPOINT, 2),</div>
|
|
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
|
|
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="comment">/* set to 1 to enable pipelining for this multi handle */</span></div>
|
|
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(PIPELINING, LONG, 3),</div>
|
|
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  </div>
|
|
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="comment">/* This is the timer callback function pointer */</span></div>
|
|
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(TIMERFUNCTION, FUNCTIONPOINT, 4),</div>
|
|
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  </div>
|
|
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">/* This is the argument passed to the timer callback */</span></div>
|
|
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(TIMERDATA, OBJECTPOINT, 5),</div>
|
|
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  </div>
|
|
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">/* maximum number of entries in the connection cache */</span></div>
|
|
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <a class="code" href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a>(MAXCONNECTS, LONG, 6),</div>
|
|
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
|
|
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5a8b9faed3bc4162b20ab14f775a3ddb88"> 314</a></span>  <a class="code" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5a8b9faed3bc4162b20ab14f775a3ddb88">CURLMOPT_LASTENTRY</a> <span class="comment">/* the last unused */</span></div>
|
|
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> } <a class="code" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5">CURLMoption</a>;</div>
|
|
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  </div>
|
|
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
|
|
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment"> * Name: curl_multi_setopt()</span></div>
|
|
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment"> * Desc: Sets options for the multi handle.</span></div>
|
|
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment"> * Returns: CURLM error code.</span></div>
|
|
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#aa14317fbdf579d9aff1c2a9f49d3c083">curl_multi_setopt</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5">CURLMoption</a> option, ...);</div>
|
|
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  </div>
|
|
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
|
|
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment"> * Name: curl_multi_assign()</span></div>
|
|
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment"> * Desc: This function sets an association in the multi handle between the</span></div>
|
|
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment"> * given socket and a private pointer of the application. This is</span></div>
|
|
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment"> * (only) useful for curl_multi_socket uses.</span></div>
|
|
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="comment"> *</span></div>
|
|
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment"> * Returns: CURLM error code.</span></div>
|
|
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment"> */</span></div>
|
|
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <a class="code" href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a> <a class="code" href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a> <a class="code" href="multi_8h.html#ae8c35596bdcce4e3a09c5e0dffd45ae8">curl_multi_assign</a>(<a class="code" href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a> *multi_handle,</div>
|
|
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="curl_8h.html#adb5a46d02359d2379dc7e0904c987828">curl_socket_t</a> sockfd, <span class="keywordtype">void</span> *sockp);</div>
|
|
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  </div>
|
|
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> } <span class="comment">/* end of extern "C" */</span></div>
|
|
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  </div>
|
|
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="amulti_8h_html_a7f87d375fc82f79b121ef4adaeedc154a374efd706ae91c3321d6360be3c398b7"><div class="ttname"><a href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a374efd706ae91c3321d6360be3c398b7">CURLMSG_DONE</a></div><div class="ttdeci">@ CURLMSG_DONE</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00077">multi.h:77</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a5000cbf12257367f7ae2773a26ff4483"><div class="ttname"><a href="multi_8h.html#a5000cbf12257367f7ae2773a26ff4483">CURLMsg::easy_handle</a></div><div class="ttdeci">CURL * easy_handle</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00084">multi.h:84</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a5ad3a82c3de54ee92ce4ddb052d18036"><div class="ttname"><a href="multi_8h.html#a5ad3a82c3de54ee92ce4ddb052d18036">CURLM</a></div><div class="ttdeci">void CURLM</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00055">multi.h:55</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a1f6f814aa6eeacdd87ea0858a80121f9"><div class="ttname"><a href="multi_8h.html#a1f6f814aa6eeacdd87ea0858a80121f9">curl_multi_info_read</a></div><div class="ttdeci">CURL_EXTERN CURLMsg * curl_multi_info_read(CURLM *multi_handle, int *msgs_in_queue)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a84ad2ebd58c824fb208616bb160ca0c6"><div class="ttname"><a href="multi_8h.html#a84ad2ebd58c824fb208616bb160ca0c6">curl_multi_fdset</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_ae8c35596bdcce4e3a09c5e0dffd45ae8"><div class="ttname"><a href="multi_8h.html#ae8c35596bdcce4e3a09c5e0dffd45ae8">curl_multi_assign</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, curl_socket_t sockfd, void *sockp)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3ae3b5d27fd8dc9cff7a60772cf90cf9d6"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ae3b5d27fd8dc9cff7a60772cf90cf9d6">CURLM_OK</a></div><div class="ttdeci">@ CURLM_OK</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00060">multi.h:60</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3a323be072bc47b2a7ff1d3fc4533e8f70"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a323be072bc47b2a7ff1d3fc4533e8f70">CURLM_OUT_OF_MEMORY</a></div><div class="ttdeci">@ CURLM_OUT_OF_MEMORY</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00063">multi.h:63</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3a8876b8ad10b9b2e9ee4cfb22034803ed"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a8876b8ad10b9b2e9ee4cfb22034803ed">CURLM_BAD_HANDLE</a></div><div class="ttdeci">@ CURLM_BAD_HANDLE</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00061">multi.h:61</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a85754cc6a7c820735e0fac1ebac7493d"><div class="ttname"><a href="multi_8h.html#a85754cc6a7c820735e0fac1ebac7493d">curl_multi_add_handle</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *curl_handle)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a97fae90ef5f595f06eb53d139e202503"><div class="ttname"><a href="multi_8h.html#a97fae90ef5f595f06eb53d139e202503">curl_multi_strerror</a></div><div class="ttdeci">const CURL_EXTERN char * curl_multi_strerror(CURLMcode)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3">CURLMcode</a></div><div class="ttdeci">CURLMcode</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00057">multi.h:57</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_abd5c8bf83688f15099b512846f6efc5a"><div class="ttname"><a href="multi_8h.html#abd5c8bf83688f15099b512846f6efc5a">curl_multi_remove_handle</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, CURL *curl_handle)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3a13188cf491bdb9a8f77a5bed6365c34c"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a13188cf491bdb9a8f77a5bed6365c34c">CURLM_BAD_SOCKET</a></div><div class="ttdeci">@ CURLM_BAD_SOCKET</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00065">multi.h:65</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a0dea211731c3de0ef06006125b46f27e"><div class="ttname"><a href="multi_8h.html#a0dea211731c3de0ef06006125b46f27e">CINIT</a></div><div class="ttdeci">#define CINIT(name, type, num)</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00285">multi.h:285</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_ae92d485b1eed94558d582346ae06f00f"><div class="ttname"><a href="multi_8h.html#ae92d485b1eed94558d582346ae06f00f">curl_multi_socket_all</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, int *running_handles)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3a53d037bdcf6900341e9f83efbf14b1d1"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3a53d037bdcf6900341e9f83efbf14b1d1">CURLM_INTERNAL_ERROR</a></div><div class="ttdeci">@ CURLM_INTERNAL_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00064">multi.h:64</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a5323c6aff8b4eebc7fed8cf126a46241"><div class="ttname"><a href="multi_8h.html#a5323c6aff8b4eebc7fed8cf126a46241">curl_multi_perform</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles)</div></div>
|
|
<div class="ttc" id="acurl_8h_html_a3adb15f21a822fbf7e879d3b78474490"><div class="ttname"><a href="curl_8h.html#a3adb15f21a822fbf7e879d3b78474490">CURL_EXTERN</a></div><div class="ttdeci">#define CURL_EXTERN</div><div class="ttdef"><b>Definition:</b> <a href="curl_8h_source.html#l00059">curl.h:59</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a7f87d375fc82f79b121ef4adaeedc154ae3b4bbc61ade639e930424147049e4e5"><div class="ttname"><a href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154ae3b4bbc61ade639e930424147049e4e5">CURLMSG_NONE</a></div><div class="ttdeci">@ CURLMSG_NONE</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00076">multi.h:76</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a05ea44148f8932f7d99ef0487ddf7003"><div class="ttname"><a href="multi_8h.html#a05ea44148f8932f7d99ef0487ddf7003">curl_multi_cleanup</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle)</div></div>
|
|
<div class="ttc" id="acurl_8h_html_adb5a46d02359d2379dc7e0904c987828"><div class="ttname"><a href="curl_8h.html#adb5a46d02359d2379dc7e0904c987828">curl_socket_t</a></div><div class="ttdeci">int curl_socket_t</div><div class="ttdef"><b>Definition:</b> <a href="curl_8h_source.html#l00064">curl.h:64</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_aad2178147cea07493eba9b4da3fb27df"><div class="ttname"><a href="multi_8h.html#aad2178147cea07493eba9b4da3fb27df">curl_multi_socket</a></div><div class="ttdeci">#define curl_multi_socket(x, y, z)</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00267">multi.h:267</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a7f87d375fc82f79b121ef4adaeedc154"><div class="ttname"><a href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154">CURLMSG</a></div><div class="ttdeci">CURLMSG</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00075">multi.h:75</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_aa14317fbdf579d9aff1c2a9f49d3c083"><div class="ttname"><a href="multi_8h.html#aa14317fbdf579d9aff1c2a9f49d3c083">curl_multi_setopt</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle, CURLMoption option,...)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a65ca5de50d101fb96d6f58a5fea6241d"><div class="ttname"><a href="multi_8h.html#a65ca5de50d101fb96d6f58a5fea6241d">curl_socket_callback</a></div><div class="ttdeci">int(* curl_socket_callback)(CURL *easy, curl_socket_t s, int what, void *userp, void *socketp)</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00230">multi.h:230</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3afeaa68ddf000332d41ce915f8658cf4c"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3afeaa68ddf000332d41ce915f8658cf4c">CURLM_UNKNOWN_OPTION</a></div><div class="ttdeci">@ CURLM_UNKNOWN_OPTION</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00066">multi.h:66</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3adf229fdf86c1ea54a8138f0bf702d3e6"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3adf229fdf86c1ea54a8138f0bf702d3e6">CURLM_LAST</a></div><div class="ttdeci">@ CURLM_LAST</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00067">multi.h:67</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a4dd175dae1779c2984f366deffcc99cf"><div class="ttname"><a href="multi_8h.html#a4dd175dae1779c2984f366deffcc99cf">curl_multi_socket_action</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, curl_socket_t s, int ev_bitmask, int *running_handles)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3ada965a9b89eeb3b2f3a012edaa3acdd6"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3ada965a9b89eeb3b2f3a012edaa3acdd6">CURLM_CALL_MULTI_PERFORM</a></div><div class="ttdeci">@ CURLM_CALL_MULTI_PERFORM</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00058">multi.h:58</a></div></div>
|
|
<div class="ttc" id="acurl_8h_html_ace655e3633b6533591283994d6b5cdda"><div class="ttname"><a href="curl_8h.html#ace655e3633b6533591283994d6b5cdda">CURL</a></div><div class="ttdeci">void CURL</div><div class="ttdef"><b>Definition:</b> <a href="curl_8h_source.html#l00048">curl.h:48</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_aa27e7a4077145833babecc78f88f8feb"><div class="ttname"><a href="multi_8h.html#aa27e7a4077145833babecc78f88f8feb">curl_multi_timeout</a></div><div class="ttdeci">CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle, long *milliseconds)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a7f87d375fc82f79b121ef4adaeedc154a57d9664397bd951b89bf317b7f4721ec"><div class="ttname"><a href="multi_8h.html#a7f87d375fc82f79b121ef4adaeedc154a57d9664397bd951b89bf317b7f4721ec">CURLMSG_LAST</a></div><div class="ttdeci">@ CURLMSG_LAST</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00079">multi.h:79</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a63d84039b5e6092edec1f44c87dd1fe5"><div class="ttname"><a href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5">CURLMoption</a></div><div class="ttdeci">CURLMoption</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00295">multi.h:295</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_structCURLMsg"><div class="ttname"><a href="multi_8h.html#structCURLMsg">CURLMsg</a></div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00082">multi.h:82</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a94f56ca9c48dd836495262357f3d4d33"><div class="ttname"><a href="multi_8h.html#a94f56ca9c48dd836495262357f3d4d33">CURLMsg::data</a></div><div class="ttdeci">union CURLMsg::@4 data</div></div>
|
|
<div class="ttc" id="acurl_8h_html"><div class="ttname"><a href="curl_8h.html">curl.h</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_ab6671c39e641443bbcc384008275ed66"><div class="ttname"><a href="multi_8h.html#ab6671c39e641443bbcc384008275ed66">CURLMsg::msg</a></div><div class="ttdeci">CURLMSG msg</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00083">multi.h:83</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_aa4fdb200d982ea646f6a647466a67334"><div class="ttname"><a href="multi_8h.html#aa4fdb200d982ea646f6a647466a67334">curl_multi_init</a></div><div class="ttdeci">CURL_EXTERN CURLM * curl_multi_init(void)</div></div>
|
|
<div class="ttc" id="amulti_8h_html_a18a7e76c1666503b960dfdfa3cf9843f"><div class="ttname"><a href="multi_8h.html#a18a7e76c1666503b960dfdfa3cf9843f">curl_multi_timer_callback</a></div><div class="ttdeci">int(* curl_multi_timer_callback)(CURLM *multi, long timeout_ms, void *userp)</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00247">multi.h:247</a></div></div>
|
|
<div class="ttc" id="acurl_8h_html_af0691941698240652e0a391394217951"><div class="ttname"><a href="curl_8h.html#af0691941698240652e0a391394217951">CURLcode</a></div><div class="ttdeci">CURLcode</div><div class="ttdef"><b>Definition:</b> <a href="curl_8h_source.html#l00329">curl.h:329</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a92acc8d3a23eaae72955b8a8b22c83e3af6c791401114f6d764dbb8209838ba31"><div class="ttname"><a href="multi_8h.html#a92acc8d3a23eaae72955b8a8b22c83e3af6c791401114f6d764dbb8209838ba31">CURLM_BAD_EASY_HANDLE</a></div><div class="ttdeci">@ CURLM_BAD_EASY_HANDLE</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00062">multi.h:62</a></div></div>
|
|
<div class="ttc" id="amulti_8h_html_a63d84039b5e6092edec1f44c87dd1fe5a8b9faed3bc4162b20ab14f775a3ddb88"><div class="ttname"><a href="multi_8h.html#a63d84039b5e6092edec1f44c87dd1fe5a8b9faed3bc4162b20ab14f775a3ddb88">CURLMOPT_LASTENTRY</a></div><div class="ttdeci">@ CURLMOPT_LASTENTRY</div><div class="ttdef"><b>Definition:</b> <a href="multi_8h_source.html#l00314">multi.h:314</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|